{"case_id": "CASE_0004", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-40030", "grn_number": "GRN-80049", "invoice_number": "PKR-91061", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2876.0, "po_tax": 172.56, "po_freight": 0.0, "po_total": 3048.56, "invoice_subtotal": 2876.0, "invoice_tax": 172.56, "invoice_freight": 0.0, "invoice_total": 3048.56, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0004/PO-2026-40030.pdf", "grn_file": "documents/CASE_0004/GRN-80049.jpg", "invoice_file": "documents/CASE_0004/PKR-91061.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0004/PO-2026-40030.pdf", "documents/CASE_0004/GRN-80049.jpg", "documents/CASE_0004/PKR-91061.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "wrong_po_reference", "primary_discrepancy_note": "Invoice references non-matching PO 'PO-2026-90004' instead of packet PO 'PO-2026-40030'.", "discrepancies_json": "[{\"type\": \"wrong_po_reference\", \"expected_po\": \"PO-2026-40030\", \"invoice_po_ref\": \"PO-2026-90004\", \"po_vendor\": \"Corrugated & PackRight Materials\", \"invoice_vendor\": \"Corrugated & PackRight Materials\", \"note\": \"Invoice references non-matching PO 'PO-2026-90004' instead of packet PO 'PO-2026-40030'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40030\", \"order_date\": \"2026-09-15\", \"expected_delivery\": \"2026-09-25\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 76.0, \"line_total\": 2280.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}], \"subtotal\": 2876.0, \"tax_rate\": 0.06, \"tax\": 172.56, \"freight\": 0.0, \"total\": 3048.56, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80049\", \"po_number\": \"PO-2026-40030\", \"received_date\": \"Sep 20, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-114338\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-114338\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-91061\", \"po_number\": \"PO-2026-90004\", \"grn_ref\": \"GRN-80049\", \"invoice_date\": \"09/20/2026\", \"due_date\": \"10/20/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 76.0, \"line_total\": 2280.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}], \"subtotal\": 2876.0, \"tax_rate\": 0.06, \"tax\": 172.56, \"freight\": 0.0, \"total\": 3048.56, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-90004 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0005", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40038", "grn_number": "GRN-80062", "invoice_number": "PKR-91071", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 6485.0, "po_tax": 470.16, "po_freight": 0.0, "po_total": 6955.16, "invoice_subtotal": 6485.0, "invoice_tax": 470.16, "invoice_freight": 0.0, "invoice_total": 6955.16, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0005/PO-2026-40038.png", "grn_file": "documents/CASE_0005/GRN-80062.docx", "invoice_file": "documents/CASE_0005/PKR-91071.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0005/PO-2026-40038.png", "documents/CASE_0005/GRN-80062.docx", "documents/CASE_0005/PKR-91071.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40038\", \"order_date\": \"Sep 27, 2026\", \"expected_delivery\": \"Oct 07, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 6485.0, \"tax_rate\": 0.0725, \"tax\": 470.16, \"freight\": 0.0, \"total\": 6955.16, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80062\", \"po_number\": \"PO-2026-40038\", \"received_date\": \"10/03/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-925981\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-925981\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-91071\", \"po_number\": \"PO-2026-40038\", \"grn_ref\": \"GRN-80062\", \"invoice_date\": \"09-Oct-2026\", \"due_date\": \"08-Nov-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 6485.0, \"tax_rate\": 0.0725, \"tax\": 470.16, \"freight\": 0.0, \"total\": 6955.16, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40038 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0017", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-40124", "grn_number": "GRN-80191", "invoice_number": "TP-91228", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 25240.0, "po_tax": 1829.9, "po_freight": 0.0, "po_total": 27069.9, "invoice_subtotal": 25240.0, "invoice_tax": 1829.9, "invoice_freight": 0.0, "invoice_total": 27159.9, "total_variance": 90.0, "num_documents": 3, "po_file": "documents/CASE_0017/PO-2026-40124.png", "grn_file": "documents/CASE_0017/GRN-80191.docx", "invoice_file": "documents/CASE_0017/TP-91228.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0017/PO-2026-40124.png", "documents/CASE_0017/GRN-80191.docx", "documents/CASE_0017/TP-91228.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($25240.00) + Tax ($1829.90) + Freight ($0.00) = $27069.90, but Invoice Total Due states $27159.90.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 27069.9, \"invoice_stated_total\": 27159.9, \"variance_amount\": 90.0, \"note\": \"Invoice total summation error: Subtotal ($25240.00) + Tax ($1829.90) + Freight ($0.00) = $27069.90, but Invoice Total Due states $27159.90.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40124\", \"order_date\": \"Mar 23, 2026\", \"expected_delivery\": \"Apr 02, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 460.0, \"line_total\": 23000.0}], \"subtotal\": 25240.0, \"tax_rate\": 0.0725, \"tax\": 1829.9, \"freight\": 0.0, \"total\": 27069.9, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80191\", \"po_number\": \"PO-2026-40124\", \"received_date\": \"04/06/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-540226\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-540226\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-91228\", \"po_number\": \"PO-2026-40124\", \"grn_ref\": \"GRN-80191\", \"invoice_date\": \"06-Apr-2026\", \"due_date\": \"06-May-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 460.0, \"line_total\": 23000.0}], \"subtotal\": 25240.0, \"tax_rate\": 0.0725, \"tax\": 1829.9, \"freight\": 0.0, \"total\": 27159.9, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40124 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0020", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-40143", "grn_number": "GRN-80226", "invoice_number": "NSI-91263", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 80450.0, "po_tax": 4827.0, "po_freight": 50.0, "po_total": 85327.0, "invoice_subtotal": 80450.0, "invoice_tax": 4827.0, "invoice_freight": 50.0, "invoice_total": 85327.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0020/PO-2026-40143.jpg", "grn_file": "documents/CASE_0020/GRN-80226.pdf", "invoice_file": "documents/CASE_0020/NSI-91263.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0020/PO-2026-40143.jpg", "documents/CASE_0020/GRN-80226.pdf", "documents/CASE_0020/NSI-91263.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 30 units for IT-8840, but warehouse only received 21 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"IT-8840\", \"po_qty\": 30, \"received_qty\": 21, \"invoiced_qty\": 30, \"overbilled_qty\": 9, \"variance_amount\": 522.0, \"note\": \"Vendor billed 30 units for IT-8840, but warehouse only received 21 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40143\", \"order_date\": \"2026-09-28\", \"expected_delivery\": \"2026-10-08\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}], \"subtotal\": 80450.0, \"tax_rate\": 0.06, \"tax\": 4827.0, \"freight\": 50.0, \"total\": 85327.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80226\", \"po_number\": \"PO-2026-40143\", \"received_date\": \"Oct 12, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-347745\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 30, \"qty_received\": 21, \"qty_accepted\": 21, \"qty_rejected\": 0, \"condition\": \"Short 9 PK (Backordered)\"}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 21 of 30 on IT-8840 (short 9 PK). - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-347745\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-91263\", \"po_number\": \"PO-2026-40143\", \"grn_ref\": \"GRN-80226\", \"invoice_date\": \"10/12/2026\", \"due_date\": \"11/11/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}], \"subtotal\": 80450.0, \"tax_rate\": 0.06, \"tax\": 4827.0, \"freight\": 50.0, \"total\": 85327.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40143 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0023", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-40163", "grn_number": "GRN-80255", "invoice_number": "VEP-91304", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 1852.0, "po_tax": 111.12, "po_freight": 0.0, "po_total": 1963.12, "invoice_subtotal": 1852.0, "invoice_tax": 111.12, "invoice_freight": 0.0, "invoice_total": 1963.12, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0023/PO-2026-40163.png", "grn_file": "documents/CASE_0023/GRN-80255.docx", "invoice_file": "documents/CASE_0023/VEP-91304.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0023/PO-2026-40163.png", "documents/CASE_0023/GRN-80255.docx", "documents/CASE_0023/VEP-91304.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 8 units for ELC-7218, but warehouse only received 6 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_qty\": 8, \"received_qty\": 6, \"invoiced_qty\": 8, \"overbilled_qty\": 2, \"variance_amount\": 178.0, \"note\": \"Vendor billed 8 units for ELC-7218, but warehouse only received 6 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40163\", \"order_date\": \"17-Jun-2026\", \"expected_delivery\": \"27-Jun-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}], \"subtotal\": 1852.0, \"tax_rate\": 0.06, \"tax\": 111.12, \"freight\": 0.0, \"total\": 1963.12, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80255\", \"po_number\": \"PO-2026-40163\", \"received_date\": \"2026-07-01\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-686072\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 6, \"qty_accepted\": 6, \"qty_rejected\": 0, \"condition\": \"Short 2 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 6 of 8 on ELC-7218 (short 2 EA). - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-686072\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-91304\", \"po_number\": \"PO-2026-40163\", \"grn_ref\": \"GRN-80255\", \"invoice_date\": \"Jul 06, 2026\", \"due_date\": \"Jul 21, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}], \"subtotal\": 1852.0, \"tax_rate\": 0.06, \"tax\": 111.12, \"freight\": 0.0, \"total\": 1963.12, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40163 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0030", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-40212", "grn_number": "GRN-80338", "invoice_number": "NSI-91396", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 4750.0, "po_tax": 391.88, "po_freight": 0.0, "po_total": 5141.88, "invoice_subtotal": 4900.0, "invoice_tax": 404.25, "invoice_freight": 0.0, "invoice_total": 5304.25, "total_variance": 162.37, "num_documents": 3, "po_file": "documents/CASE_0030/PO-2026-40212.docx", "grn_file": "documents/CASE_0030/GRN-80338.jpg", "invoice_file": "documents/CASE_0030/NSI-91396.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0030/PO-2026-40212.docx", "documents/CASE_0030/GRN-80338.jpg", "documents/CASE_0030/NSI-91396.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 2 (IT-8892): 5 x $215.00 should be $1075.00, but invoice states $1225.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 5141.88, \"invoice_stated_total\": 5304.25, \"variance_amount\": 162.37, \"note\": \"Invoice arithmetic error on line 2 (IT-8892): 5 x $215.00 should be $1075.00, but invoice states $1225.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40212\", \"order_date\": \"08/26/2026\", \"expected_delivery\": \"09/05/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 245.0, \"line_total\": 3675.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 215.0, \"line_total\": 1075.0}], \"subtotal\": 4750.0, \"tax_rate\": 0.0825, \"tax\": 391.88, \"freight\": 0.0, \"total\": 5141.88, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80338\", \"po_number\": \"PO-2026-40212\", \"received_date\": \"08-Sep-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-568849\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-568849\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-91396\", \"po_number\": \"PO-2026-40212\", \"grn_ref\": \"GRN-80338\", \"invoice_date\": \"2026-09-13\", \"due_date\": \"2026-09-28\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 245.0, \"line_total\": 3675.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 215.0, \"line_total\": 1225.0}], \"subtotal\": 4900.0, \"tax_rate\": 0.0825, \"tax\": 404.25, \"freight\": 0.0, \"total\": 5304.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40212 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0037", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-40262", "grn_number": "GRN-80416", "invoice_number": "NSI-91486", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 37972.0, "po_tax": 3132.69, "po_freight": 120.0, "po_total": 41224.69, "invoice_subtotal": 39062.9, "invoice_tax": 3222.69, "invoice_freight": 120.0, "invoice_total": 42405.59, "total_variance": 1180.9, "num_documents": 3, "po_file": "documents/CASE_0037/PO-2026-40262.pdf", "grn_file": "documents/CASE_0037/GRN-80416.docx", "invoice_file": "documents/CASE_0037/NSI-91486.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0037/PO-2026-40262.pdf", "documents/CASE_0037/GRN-80416.docx", "documents/CASE_0037/NSI-91486.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $799.09 exceeds contracted PO unit price $690.00 for IT-8875.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"IT-8875\", \"po_unit_price\": 690.0, \"invoice_unit_price\": 799.09, \"qty\": 10, \"variance_amount\": 1090.9, \"note\": \"Invoice unit price $799.09 exceeds contracted PO unit price $690.00 for IT-8875.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40262\", \"order_date\": \"Aug 03, 2026\", \"expected_delivery\": \"Aug 13, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 520.0, \"line_total\": 26000.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}], \"subtotal\": 37972.0, \"tax_rate\": 0.0825, \"tax\": 3132.69, \"freight\": 120.0, \"total\": 41224.69, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80416\", \"po_number\": \"PO-2026-40262\", \"received_date\": \"08/07/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-177103\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-177103\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-91486\", \"po_number\": \"PO-2026-40262\", \"grn_ref\": \"GRN-80416\", \"invoice_date\": \"11-Aug-2026\", \"due_date\": \"10-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 520.0, \"line_total\": 26000.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 799.09, \"line_total\": 7990.9}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}], \"subtotal\": 39062.9, \"tax_rate\": 0.0825, \"tax\": 3222.69, \"freight\": 120.0, \"total\": 42405.59, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40262 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0041", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40291", "grn_number": "GRN-80455", "invoice_number": "SSP-91537", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 6851.0, "po_tax": 496.7, "po_freight": 120.0, "po_total": 7467.7, "invoice_subtotal": 6851.0, "invoice_tax": 496.7, "invoice_freight": 120.0, "invoice_total": 7467.7, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0041/PO-2026-40291.png", "grn_file": "documents/CASE_0041/GRN-80455.docx", "invoice_file": "documents/CASE_0041/SSP-91537.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0041/PO-2026-40291.png", "documents/CASE_0041/GRN-80455.docx", "documents/CASE_0041/SSP-91537.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40291\", \"order_date\": \"Feb 19, 2026\", \"expected_delivery\": \"Mar 01, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 6851.0, \"tax_rate\": 0.0725, \"tax\": 496.7, \"freight\": 120.0, \"total\": 7467.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80455\", \"po_number\": \"PO-2026-40291\", \"received_date\": \"02/28/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-968170\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-968170\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-91537\", \"po_number\": \"PO-2026-40291\", \"grn_ref\": \"GRN-80455\", \"invoice_date\": \"03-Mar-2026\", \"due_date\": \"17-Apr-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 6851.0, \"tax_rate\": 0.0725, \"tax\": 496.7, \"freight\": 120.0, \"total\": 7467.7, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40291 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0045", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-40317", "grn_number": "GRN-80497", "invoice_number": "PPS-91594", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 5180.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 5180.0, "invoice_subtotal": 6110.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 6110.0, "total_variance": 930.0, "num_documents": 3, "po_file": "documents/CASE_0045/PO-2026-40317.docx", "grn_file": "documents/CASE_0045/GRN-80497.pdf", "invoice_file": "documents/CASE_0045/PPS-91594.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0045/PO-2026-40317.docx", "documents/CASE_0045/GRN-80497.pdf", "documents/CASE_0045/PPS-91594.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"ELC-7260\", \"po_qty\": 8, \"received_qty\": 11, \"invoiced_qty\": 11, \"over_qty\": 3, \"variance_amount\": 930.0, \"note\": \"Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40317\", \"order_date\": \"Sep 08, 2026\", \"expected_delivery\": \"Sep 18, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 5180.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 5180.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80497\", \"po_number\": \"PO-2026-40317\", \"received_date\": \"09/20/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-568449\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 8, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 SPOOL over PO)\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 11 (3 extra over PO) on ELC-7260. Held in quarantine. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-568449\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-91594\", \"po_number\": \"PO-2026-40317\", \"grn_ref\": \"GRN-80497\", \"invoice_date\": \"26-Sep-2026\", \"due_date\": \"26-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 11, \"unit_price\": 310.0, \"line_total\": 3410.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 6110.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 6110.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40317 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0047", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40330", "grn_number": "GRN-80520", "invoice_number": "VEP-91620", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 9065.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 9065.0, "invoice_subtotal": 9065.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 9065.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0047/PO-2026-40330.png", "grn_file": "documents/CASE_0047/GRN-80520.docx", "invoice_file": "documents/CASE_0047/VEP-91620.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0047/PO-2026-40330.png", "documents/CASE_0047/GRN-80520.docx", "documents/CASE_0047/VEP-91620.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40330\", \"order_date\": \"19-Mar-2026\", \"expected_delivery\": \"29-Mar-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}], \"subtotal\": 9065.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9065.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80520\", \"po_number\": \"PO-2026-40330\", \"received_date\": \"2026-04-02\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-512151\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-512151\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-91620\", \"po_number\": \"PO-2026-40330\", \"grn_ref\": \"GRN-80520\", \"invoice_date\": \"Apr 08, 2026\", \"due_date\": \"May 23, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}], \"subtotal\": 9065.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9065.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40330 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0048", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40338", "grn_number": "GRN-80529", "invoice_number": "INV-APX-91631", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 25640.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 25715.0, "invoice_subtotal": 25640.0, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 25715.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0048/PO-2026-40338.docx", "grn_file": "documents/CASE_0048/GRN-80529.jpg", "invoice_file": "documents/CASE_0048/INV-APX-91631.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0048/PO-2026-40338.docx", "documents/CASE_0048/GRN-80529.jpg", "documents/CASE_0048/INV-APX-91631.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40338\", \"order_date\": \"2026-01-27\", \"expected_delivery\": \"2026-02-06\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 148.0, \"line_total\": 7400.0}], \"subtotal\": 25640.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 25715.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80529\", \"po_number\": \"PO-2026-40338\", \"received_date\": \"Feb 07, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-560285\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-560285\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-91631\", \"po_number\": \"PO-2026-40338\", \"grn_ref\": \"GRN-80529\", \"invoice_date\": \"02/11/2026\", \"due_date\": \"03/13/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 148.0, \"line_total\": 7400.0}], \"subtotal\": 25640.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 25715.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40338 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0052", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-40368", "grn_number": "GRN-80580", "invoice_number": "VEP-91679", "duplicate_invoice_number": "VEP-91679-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 12845.0, "po_tax": 1059.71, "po_freight": 0.0, "po_total": 13904.71, "invoice_subtotal": 12845.0, "invoice_tax": 1059.71, "invoice_freight": 0.0, "invoice_total": 13904.71, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0052/PO-2026-40368.pdf", "grn_file": "documents/CASE_0052/GRN-80580.jpg", "invoice_file": "documents/CASE_0052/VEP-91679.docx", "duplicate_invoice_file": "documents/CASE_0052/VEP-91679-R1.jpg", "file_paths": ["documents/CASE_0052/PO-2026-40368.pdf", "documents/CASE_0052/GRN-80580.jpg", "documents/CASE_0052/VEP-91679.docx", "documents/CASE_0052/VEP-91679-R1.jpg"], "file_formats": ["pdf", "jpg", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'VEP-91679' and 'VEP-91679-R1' bill $13904.71 against single receipt 'GRN-80580' / PO 'PO-2026-40368'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"VEP-91679\", \"duplicate_invoice_number\": \"VEP-91679-R1\", \"duplicate_billed_amount\": 13904.71, \"variance_amount\": 13904.71, \"note\": \"Duplicate billing detected: both 'VEP-91679' and 'VEP-91679-R1' bill $13904.71 against single receipt 'GRN-80580' / PO 'PO-2026-40368'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40368\", \"order_date\": \"2026-07-01\", \"expected_delivery\": \"2026-07-11\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 12845.0, \"tax_rate\": 0.0825, \"tax\": 1059.71, \"freight\": 0.0, \"total\": 13904.71, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80580\", \"po_number\": \"PO-2026-40368\", \"received_date\": \"Jul 09, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-868367\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-868367\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-91679\", \"po_number\": \"PO-2026-40368\", \"grn_ref\": \"GRN-80580\", \"invoice_date\": \"07/15/2026\", \"due_date\": \"07/30/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 12845.0, \"tax_rate\": 0.0825, \"tax\": 1059.71, \"freight\": 0.0, \"total\": 13904.71, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40368 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"VEP-91679-R1\", \"po_number\": \"PO-2026-40368\", \"grn_ref\": \"GRN-80580\", \"invoice_date\": \"07/20/2026\", \"due_date\": \"08/04/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 12845.0, \"tax_rate\": 0.0825, \"tax\": 1059.71, \"freight\": 0.0, \"total\": 13904.71, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-868367. Please remit to lockbox.\"}}"} {"case_id": "CASE_0055", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-40386", "grn_number": "GRN-80610", "invoice_number": "KWS-91718", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 4770.0, "po_tax": 393.53, "po_freight": 0.0, "po_total": 5163.53, "invoice_subtotal": 4540.0, "invoice_tax": 374.55, "invoice_freight": 0.0, "invoice_total": 4914.55, "total_variance": -248.98, "num_documents": 3, "po_file": "documents/CASE_0055/PO-2026-40386.pdf", "grn_file": "documents/CASE_0055/GRN-80610.docx", "invoice_file": "documents/CASE_0055/KWS-91718.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0055/PO-2026-40386.pdf", "documents/CASE_0055/GRN-80610.docx", "documents/CASE_0055/KWS-91718.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 6/8 units received and accurately billed; keep PO open for remaining 2 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"FRN-6159\", \"po_qty\": 8, \"received_qty\": 6, \"invoiced_qty\": 6, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 6/8 units received and accurately billed; keep PO open for remaining 2 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40386\", \"order_date\": \"26-Apr-2026\", \"expected_delivery\": \"06-May-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}], \"subtotal\": 4770.0, \"tax_rate\": 0.0825, \"tax\": 393.53, \"freight\": 0.0, \"total\": 5163.53, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80610\", \"po_number\": \"PO-2026-40386\", \"received_date\": \"2026-05-09\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-691353\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 6, \"qty_accepted\": 6, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (2 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (6/8 FRN-6159). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-691353\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-91718\", \"po_number\": \"PO-2026-40386\", \"grn_ref\": \"GRN-80610\", \"invoice_date\": \"May 10, 2026\", \"due_date\": \"May 25, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 6, \"unit_price\": 115.0, \"line_total\": 690.0}], \"subtotal\": 4540.0, \"tax_rate\": 0.0825, \"tax\": 374.55, \"freight\": 0.0, \"total\": 4914.55, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40386 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0060", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-40423", "grn_number": "GRN-80663", "invoice_number": "PPS-91781", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 11744.0, "po_tax": 851.44, "po_freight": 0.0, "po_total": 12595.44, "invoice_subtotal": 11776.48, "invoice_tax": 853.79, "invoice_freight": 0.0, "invoice_total": 12630.27, "total_variance": 34.83, "num_documents": 3, "po_file": "documents/CASE_0060/PO-2026-40423.docx", "grn_file": "documents/CASE_0060/GRN-80663.jpg", "invoice_file": "documents/CASE_0060/PPS-91781.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0060/PO-2026-40423.docx", "documents/CASE_0060/GRN-80663.jpg", "documents/CASE_0060/PPS-91781.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $32.56 exceeds contracted PO unit price $28.50 for ELC-7283.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"ELC-7283\", \"po_unit_price\": 28.5, \"invoice_unit_price\": 32.56, \"qty\": 8, \"variance_amount\": 32.48, \"note\": \"Invoice unit price $32.56 exceeds contracted PO unit price $28.50 for ELC-7283.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40423\", \"order_date\": \"2026-02-22\", \"expected_delivery\": \"2026-03-04\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 11744.0, \"tax_rate\": 0.0725, \"tax\": 851.44, \"freight\": 0.0, \"total\": 12595.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80663\", \"po_number\": \"PO-2026-40423\", \"received_date\": \"Feb 27, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-690579\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-690579\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-91781\", \"po_number\": \"PO-2026-40423\", \"grn_ref\": \"GRN-80663\", \"invoice_date\": \"03/05/2026\", \"due_date\": \"04/04/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 32.56, \"line_total\": 260.48}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 11776.48, \"tax_rate\": 0.0725, \"tax\": 853.79, \"freight\": 0.0, \"total\": 12630.27, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40423 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0064", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-40450", "grn_number": "GRN-80710", "invoice_number": "SSP-91840", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 16130.0, "po_tax": 1290.4, "po_freight": 95.0, "po_total": 17515.4, "invoice_subtotal": 16130.0, "invoice_tax": 1290.4, "invoice_freight": 95.0, "invoice_total": 17515.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0064/PO-2026-40450.pdf", "grn_file": "documents/CASE_0064/GRN-80710.jpg", "invoice_file": "documents/CASE_0064/SSP-91840.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0064/PO-2026-40450.pdf", "documents/CASE_0064/GRN-80710.jpg", "documents/CASE_0064/SSP-91840.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for IND-4520, but warehouse only received 31 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"IND-4520\", \"po_qty\": 40, \"received_qty\": 31, \"invoiced_qty\": 40, \"overbilled_qty\": 9, \"variance_amount\": 1332.0, \"note\": \"Vendor billed 40 units for IND-4520, but warehouse only received 31 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40450\", \"order_date\": \"2026-04-05\", \"expected_delivery\": \"2026-04-15\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}], \"subtotal\": 16130.0, \"tax_rate\": 0.08, \"tax\": 1290.4, \"freight\": 95.0, \"total\": 17515.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80710\", \"po_number\": \"PO-2026-40450\", \"received_date\": \"Apr 16, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-749498\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 31, \"qty_accepted\": 31, \"qty_rejected\": 0, \"condition\": \"Short 9 EA (Backordered)\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 31 of 40 on IND-4520 (short 9 EA). - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-749498\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-91840\", \"po_number\": \"PO-2026-40450\", \"grn_ref\": \"GRN-80710\", \"invoice_date\": \"04/18/2026\", \"due_date\": \"05/18/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}], \"subtotal\": 16130.0, \"tax_rate\": 0.08, \"tax\": 1290.4, \"freight\": 95.0, \"total\": 17515.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40450 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0068", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40479", "grn_number": "GRN-80753", "invoice_number": "PPS-91890", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 6458.0, "po_tax": 516.64, "po_freight": 0.0, "po_total": 6974.64, "invoice_subtotal": 6458.0, "invoice_tax": 516.64, "invoice_freight": 0.0, "invoice_total": 6974.64, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0068/PO-2026-40479.jpg", "grn_file": "documents/CASE_0068/GRN-80753.pdf", "invoice_file": "documents/CASE_0068/PPS-91890.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0068/PO-2026-40479.jpg", "documents/CASE_0068/GRN-80753.pdf", "documents/CASE_0068/PPS-91890.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40479\", \"order_date\": \"2026-08-17\", \"expected_delivery\": \"2026-08-27\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}], \"subtotal\": 6458.0, \"tax_rate\": 0.08, \"tax\": 516.64, \"freight\": 0.0, \"total\": 6974.64, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80753\", \"po_number\": \"PO-2026-40479\", \"received_date\": \"Aug 24, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-673896\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-673896\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-91890\", \"po_number\": \"PO-2026-40479\", \"grn_ref\": \"GRN-80753\", \"invoice_date\": \"08/27/2026\", \"due_date\": \"10/11/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}], \"subtotal\": 6458.0, \"tax_rate\": 0.08, \"tax\": 516.64, \"freight\": 0.0, \"total\": 6974.64, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40479 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0081", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-40571", "grn_number": "GRN-80895", "invoice_number": "KWS-92062", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 24000.0, "po_tax": 1920.0, "po_freight": 0.0, "po_total": 25920.0, "invoice_subtotal": 24000.0, "invoice_tax": 1920.0, "invoice_freight": 0.0, "invoice_total": 26170.0, "total_variance": 250.0, "num_documents": 3, "po_file": "documents/CASE_0081/PO-2026-40571.docx", "grn_file": "documents/CASE_0081/GRN-80895.pdf", "invoice_file": "documents/CASE_0081/KWS-92062.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0081/PO-2026-40571.docx", "documents/CASE_0081/GRN-80895.pdf", "documents/CASE_0081/KWS-92062.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($24000.00) + Tax ($1920.00) + Freight ($0.00) = $25920.00, but Invoice Total Due states $26170.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 25920.0, \"invoice_stated_total\": 26170.0, \"variance_amount\": 250.0, \"note\": \"Invoice total summation error: Subtotal ($24000.00) + Tax ($1920.00) + Freight ($0.00) = $25920.00, but Invoice Total Due states $26170.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40571\", \"order_date\": \"Feb 23, 2026\", \"expected_delivery\": \"Mar 05, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 210.0, \"line_total\": 6300.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 385.0, \"line_total\": 15400.0}], \"subtotal\": 24000.0, \"tax_rate\": 0.08, \"tax\": 1920.0, \"freight\": 0.0, \"total\": 25920.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80895\", \"po_number\": \"PO-2026-40571\", \"received_date\": \"03/03/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-361250\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-361250\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-92062\", \"po_number\": \"PO-2026-40571\", \"grn_ref\": \"GRN-80895\", \"invoice_date\": \"06-Mar-2026\", \"due_date\": \"05-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 210.0, \"line_total\": 6300.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 385.0, \"line_total\": 15400.0}], \"subtotal\": 24000.0, \"tax_rate\": 0.08, \"tax\": 1920.0, \"freight\": 0.0, \"total\": 26170.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40571 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0082", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-40579", "grn_number": "GRN-80903", "invoice_number": "INV-APX-92070", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 19860.0, "po_tax": 1191.6, "po_freight": 75.0, "po_total": 21126.6, "invoice_subtotal": 23005.0, "invoice_tax": 1380.3, "invoice_freight": 75.0, "invoice_total": 24460.3, "total_variance": 3333.7, "num_documents": 3, "po_file": "documents/CASE_0082/PO-2026-40579.pdf", "grn_file": "documents/CASE_0082/GRN-80903.jpg", "invoice_file": "documents/CASE_0082/INV-APX-92070.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0082/PO-2026-40579.pdf", "documents/CASE_0082/GRN-80903.jpg", "documents/CASE_0082/INV-APX-92070.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 67 units vs 50 ordered (+17 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 5, \"sku\": \"IND-4401\", \"po_qty\": 50, \"received_qty\": 67, \"invoiced_qty\": 67, \"over_qty\": 17, \"variance_amount\": 3145.0, \"note\": \"Shipped and billed 67 units vs 50 ordered (+17 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40579\", \"order_date\": \"05/16/2026\", \"expected_delivery\": \"05/26/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 19860.0, \"tax_rate\": 0.06, \"tax\": 1191.6, \"freight\": 75.0, \"total\": 21126.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80903\", \"po_number\": \"PO-2026-40579\", \"received_date\": \"30-May-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-703656\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 67, \"qty_accepted\": 67, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+17 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 67 (17 extra over PO) on IND-4401. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-703656\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-92070\", \"po_number\": \"PO-2026-40579\", \"grn_ref\": \"GRN-80903\", \"invoice_date\": \"2026-05-31\", \"due_date\": \"2026-07-15\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 67, \"unit_price\": 185.0, \"line_total\": 12395.0}], \"subtotal\": 23005.0, \"tax_rate\": 0.06, \"tax\": 1380.3, \"freight\": 75.0, \"total\": 24460.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40579 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0083", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40584", "grn_number": "GRN-80917", "invoice_number": "NSI-92082", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 10720.0, "po_tax": 0.0, "po_freight": 120.0, "po_total": 10840.0, "invoice_subtotal": 10720.0, "invoice_tax": 0.0, "invoice_freight": 120.0, "invoice_total": 10840.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0083/PO-2026-40584.png", "grn_file": "documents/CASE_0083/GRN-80917.docx", "invoice_file": "documents/CASE_0083/NSI-92082.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0083/PO-2026-40584.png", "documents/CASE_0083/GRN-80917.docx", "documents/CASE_0083/NSI-92082.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40584\", \"order_date\": \"20-Jan-2026\", \"expected_delivery\": \"30-Jan-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}], \"subtotal\": 10720.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 10840.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80917\", \"po_number\": \"PO-2026-40584\", \"received_date\": \"2026-02-01\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-457311\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-457311\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-92082\", \"po_number\": \"PO-2026-40584\", \"grn_ref\": \"GRN-80917\", \"invoice_date\": \"Feb 04, 2026\", \"due_date\": \"Mar 06, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}], \"subtotal\": 10720.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 10840.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40584 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0085", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40599", "grn_number": "GRN-80936", "invoice_number": "NSI-92110", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 39045.0, "po_tax": 2830.76, "po_freight": 35.0, "po_total": 41910.76, "invoice_subtotal": 39045.0, "invoice_tax": 2830.76, "invoice_freight": 35.0, "invoice_total": 41910.76, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0085/PO-2026-40599.pdf", "grn_file": "documents/CASE_0085/GRN-80936.docx", "invoice_file": "documents/CASE_0085/NSI-92110.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0085/PO-2026-40599.pdf", "documents/CASE_0085/GRN-80936.docx", "documents/CASE_0085/NSI-92110.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40599\", \"order_date\": \"Apr 05, 2026\", \"expected_delivery\": \"Apr 15, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 215.0, \"line_total\": 5160.0}], \"subtotal\": 39045.0, \"tax_rate\": 0.0725, \"tax\": 2830.76, \"freight\": 35.0, \"total\": 41910.76, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-80936\", \"po_number\": \"PO-2026-40599\", \"received_date\": \"04/19/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-319869\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-319869\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-92110\", \"po_number\": \"PO-2026-40599\", \"grn_ref\": \"GRN-80936\", \"invoice_date\": \"19-Apr-2026\", \"due_date\": \"03-Jun-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 215.0, \"line_total\": 5160.0}], \"subtotal\": 39045.0, \"tax_rate\": 0.0725, \"tax\": 2830.76, \"freight\": 35.0, \"total\": 41910.76, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40599 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0087", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-40610", "grn_number": "", "invoice_number": "KWS-92133", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 14170.0, "po_tax": 1133.6, "po_freight": 35.0, "po_total": 15338.6, "invoice_subtotal": 14170.0, "invoice_tax": 1133.6, "invoice_freight": 35.0, "invoice_total": 15338.6, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0087/PO-2026-40610.docx", "grn_file": "", "invoice_file": "documents/CASE_0087/KWS-92133.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0087/PO-2026-40610.docx", "documents/CASE_0087/KWS-92133.png"], "file_formats": ["docx", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-40610\", \"invoice_number\": \"KWS-92133\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40610\", \"order_date\": \"18-Sep-2026\", \"expected_delivery\": \"28-Sep-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}], \"subtotal\": 14170.0, \"tax_rate\": 0.08, \"tax\": 1133.6, \"freight\": 35.0, \"total\": 15338.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-92133\", \"po_number\": \"PO-2026-40610\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"Sep 24, 2026\", \"due_date\": \"Nov 08, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}], \"subtotal\": 14170.0, \"tax_rate\": 0.08, \"tax\": 1133.6, \"freight\": 35.0, \"total\": 15338.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40610 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0096", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-40677", "grn_number": "GRN-81061", "invoice_number": "VEP-92256", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 18954.0, "po_tax": 1563.71, "po_freight": 0.0, "po_total": 20517.71, "invoice_subtotal": 18954.0, "invoice_tax": 1563.71, "invoice_freight": 0.0, "invoice_total": 20517.71, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0096/PO-2026-40677.docx", "grn_file": "documents/CASE_0096/GRN-81061.jpg", "invoice_file": "documents/CASE_0096/VEP-92256.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0096/PO-2026-40677.docx", "documents/CASE_0096/GRN-81061.jpg", "documents/CASE_0096/VEP-92256.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "wrong_po_reference", "primary_discrepancy_note": "Invoice references non-matching PO 'PO-2026-90096' instead of packet PO 'PO-2026-40677'.", "discrepancies_json": "[{\"type\": \"wrong_po_reference\", \"expected_po\": \"PO-2026-40677\", \"invoice_po_ref\": \"PO-2026-90096\", \"po_vendor\": \"VoltEdge Power & Automation Ltd.\", \"invoice_vendor\": \"VoltEdge Power & Automation Ltd.\", \"note\": \"Invoice references non-matching PO 'PO-2026-90096' instead of packet PO 'PO-2026-40677'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40677\", \"order_date\": \"2026-08-13\", \"expected_delivery\": \"2026-08-23\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}], \"subtotal\": 18954.0, \"tax_rate\": 0.0825, \"tax\": 1563.71, \"freight\": 0.0, \"total\": 20517.71, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81061\", \"po_number\": \"PO-2026-40677\", \"received_date\": \"Aug 22, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-992562\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-992562\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-92256\", \"po_number\": \"PO-2026-90096\", \"grn_ref\": \"GRN-81061\", \"invoice_date\": \"08/24/2026\", \"due_date\": \"10/08/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}], \"subtotal\": 18954.0, \"tax_rate\": 0.0825, \"tax\": 1563.71, \"freight\": 0.0, \"total\": 20517.71, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-90096 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0107", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-40752", "grn_number": "GRN-81184", "invoice_number": "TP-92397", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 20860.0, "po_tax": 1668.8, "po_freight": 0.0, "po_total": 22528.8, "invoice_subtotal": 20860.0, "invoice_tax": 1668.8, "invoice_freight": 0.0, "invoice_total": 22528.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0107/PO-2026-40752.png", "grn_file": "documents/CASE_0107/GRN-81184.docx", "invoice_file": "documents/CASE_0107/TP-92397.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0107/PO-2026-40752.png", "documents/CASE_0107/GRN-81184.docx", "documents/CASE_0107/TP-92397.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'ThermoPure Scientific Instruments' (Tax ID 04-6629180), but Invoice billed by 'Summit Safety & PPE Distributors' (Tax ID 84-3920115).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-40752\", \"invoice_po_ref\": \"PO-2026-40752\", \"po_vendor\": \"ThermoPure Scientific Instruments\", \"invoice_vendor\": \"Summit Safety & PPE Distributors\", \"note\": \"Vendor entity mismatch: PO issued to 'ThermoPure Scientific Instruments' (Tax ID 04-6629180), but Invoice billed by 'Summit Safety & PPE Distributors' (Tax ID 84-3920115).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40752\", \"order_date\": \"25-Jul-2026\", \"expected_delivery\": \"04-Aug-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 164.0, \"line_total\": 2460.0}], \"subtotal\": 20860.0, \"tax_rate\": 0.08, \"tax\": 1668.8, \"freight\": 0.0, \"total\": 22528.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81184\", \"po_number\": \"PO-2026-40752\", \"received_date\": \"2026-08-04\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-408463\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-408463\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-92397\", \"po_number\": \"PO-2026-40752\", \"grn_ref\": \"GRN-81184\", \"invoice_date\": \"Aug 08, 2026\", \"due_date\": \"Sep 07, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 164.0, \"line_total\": 2460.0}], \"subtotal\": 20860.0, \"tax_rate\": 0.08, \"tax\": 1668.8, \"freight\": 0.0, \"total\": 22528.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40752 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0113", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-40794", "grn_number": "GRN-81252", "invoice_number": "NSI-92471", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 34612.0, "po_tax": 2768.96, "po_freight": 0.0, "po_total": 37380.96, "invoice_subtotal": 33632.0, "invoice_tax": 2690.56, "invoice_freight": 0.0, "invoice_total": 36322.56, "total_variance": -1058.4, "num_documents": 3, "po_file": "documents/CASE_0113/PO-2026-40794.png", "grn_file": "documents/CASE_0113/GRN-81252.docx", "invoice_file": "documents/CASE_0113/NSI-92471.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0113/PO-2026-40794.png", "documents/CASE_0113/GRN-81252.docx", "documents/CASE_0113/NSI-92471.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 16/20 units received and accurately billed; keep PO open for remaining 4 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"IT-8829\", \"po_qty\": 20, \"received_qty\": 16, \"invoiced_qty\": 16, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 16/20 units received and accurately billed; keep PO open for remaining 4 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40794\", \"order_date\": \"Feb 23, 2026\", \"expected_delivery\": \"Mar 05, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 245.0, \"line_total\": 4900.0}], \"subtotal\": 34612.0, \"tax_rate\": 0.08, \"tax\": 2768.96, \"freight\": 0.0, \"total\": 37380.96, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81252\", \"po_number\": \"PO-2026-40794\", \"received_date\": \"02/28/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-702891\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 16, \"qty_accepted\": 16, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (4 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (16/20 IT-8829). Balance on BO. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-702891\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-92471\", \"po_number\": \"PO-2026-40794\", \"grn_ref\": \"GRN-81252\", \"invoice_date\": \"28-Feb-2026\", \"due_date\": \"30-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 16, \"unit_price\": 245.0, \"line_total\": 3920.0}], \"subtotal\": 33632.0, \"tax_rate\": 0.08, \"tax\": 2690.56, \"freight\": 0.0, \"total\": 36322.56, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40794 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0115", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-40807", "grn_number": "GRN-81267", "invoice_number": "PKR-92498", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 4243.0, "po_tax": 339.44, "po_freight": 0.0, "po_total": 4582.44, "invoice_subtotal": 4243.0, "invoice_tax": 339.44, "invoice_freight": 0.0, "invoice_total": 4582.44, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0115/PO-2026-40807.pdf", "grn_file": "documents/CASE_0115/GRN-81267.docx", "invoice_file": "documents/CASE_0115/PKR-92498.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0115/PO-2026-40807.pdf", "documents/CASE_0115/GRN-81267.docx", "documents/CASE_0115/PKR-92498.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 15 units for PKG-3010, but warehouse only received 10 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"PKG-3010\", \"po_qty\": 15, \"received_qty\": 10, \"invoiced_qty\": 15, \"overbilled_qty\": 5, \"variance_amount\": 725.0, \"note\": \"Vendor billed 15 units for PKG-3010, but warehouse only received 10 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40807\", \"order_date\": \"14-Apr-2026\", \"expected_delivery\": \"24-Apr-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 64.0, \"line_total\": 512.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 76.0, \"line_total\": 1140.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 15, \"unit_price\": 145.0, \"line_total\": 2175.0}], \"subtotal\": 4243.0, \"tax_rate\": 0.08, \"tax\": 339.44, \"freight\": 0.0, \"total\": 4582.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81267\", \"po_number\": \"PO-2026-40807\", \"received_date\": \"2026-04-21\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-803571\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 15, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Short 5 BDL (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 10 of 15 on PKG-3010 (short 5 BDL). - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-803571\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-92498\", \"po_number\": \"PO-2026-40807\", \"grn_ref\": \"GRN-81267\", \"invoice_date\": \"Apr 25, 2026\", \"due_date\": \"Jun 09, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 64.0, \"line_total\": 512.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 76.0, \"line_total\": 1140.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 15, \"unit_price\": 145.0, \"line_total\": 2175.0}], \"subtotal\": 4243.0, \"tax_rate\": 0.08, \"tax\": 339.44, \"freight\": 0.0, \"total\": 4582.44, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40807 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0124", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-40871", "grn_number": "GRN-81369", "invoice_number": "SSP-92618", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5154.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 5154.0, "invoice_subtotal": 5154.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 5154.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0124/PO-2026-40871.pdf", "grn_file": "documents/CASE_0124/GRN-81369.jpg", "invoice_file": "documents/CASE_0124/SSP-92618.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0124/PO-2026-40871.pdf", "documents/CASE_0124/GRN-81369.jpg", "documents/CASE_0124/SSP-92618.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40871\", \"order_date\": \"2026-04-11\", \"expected_delivery\": \"2026-04-21\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}], \"subtotal\": 5154.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 5154.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81369\", \"po_number\": \"PO-2026-40871\", \"received_date\": \"Apr 20, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-911801\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-911801\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-92618\", \"po_number\": \"PO-2026-40871\", \"grn_ref\": \"GRN-81369\", \"invoice_date\": \"04/24/2026\", \"due_date\": \"05/09/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}], \"subtotal\": 5154.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 5154.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40871 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0132", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-40928", "grn_number": "GRN-81454", "invoice_number": "PPS-92724", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 11985.0, "po_tax": 868.91, "po_freight": 0.0, "po_total": 12853.91, "invoice_subtotal": 13225.0, "invoice_tax": 958.81, "invoice_freight": 0.0, "invoice_total": 14183.81, "total_variance": 1329.9, "num_documents": 3, "po_file": "documents/CASE_0132/PO-2026-40928.docx", "grn_file": "documents/CASE_0132/GRN-81454.jpg", "invoice_file": "documents/CASE_0132/PPS-92724.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0132/PO-2026-40928.docx", "documents/CASE_0132/GRN-81454.jpg", "documents/CASE_0132/PPS-92724.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7260 ($1240.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"ELC-7260\", \"invoiced_qty\": 4, \"invoice_unit_price\": 310.0, \"variance_amount\": 1240.0, \"note\": \"Invoice includes line item ELC-7260 ($1240.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40928\", \"order_date\": \"2026-04-03\", \"expected_delivery\": \"2026-04-13\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 11985.0, \"tax_rate\": 0.0725, \"tax\": 868.91, \"freight\": 0.0, \"total\": 12853.91, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81454\", \"po_number\": \"PO-2026-40928\", \"received_date\": \"Apr 07, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-880762\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-880762\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-92724\", \"po_number\": \"PO-2026-40928\", \"grn_ref\": \"GRN-81454\", \"invoice_date\": \"04/08/2026\", \"due_date\": \"05/23/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 4, \"unit_price\": 310.0, \"line_total\": 1240.0}], \"subtotal\": 13225.0, \"tax_rate\": 0.0725, \"tax\": 958.81, \"freight\": 0.0, \"total\": 14183.81, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40928 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0136", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-40955", "grn_number": "GRN-81500", "invoice_number": "VEP-92769", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 18400.0, "po_tax": 1518.0, "po_freight": 0.0, "po_total": 19918.0, "invoice_subtotal": 18550.0, "invoice_tax": 1530.38, "invoice_freight": 0.0, "invoice_total": 20080.38, "total_variance": 162.38, "num_documents": 3, "po_file": "documents/CASE_0136/PO-2026-40955.pdf", "grn_file": "documents/CASE_0136/GRN-81500.jpg", "invoice_file": "documents/CASE_0136/VEP-92769.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0136/PO-2026-40955.pdf", "documents/CASE_0136/GRN-81500.jpg", "documents/CASE_0136/VEP-92769.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 1 (ELC-7260): 12 x $310.00 should be $3720.00, but invoice states $3870.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 19918.0, \"invoice_stated_total\": 20080.38, \"variance_amount\": 162.38, \"note\": \"Invoice arithmetic error on line 1 (ELC-7260): 12 x $310.00 should be $3720.00, but invoice states $3870.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-40955\", \"order_date\": \"2026-09-11\", \"expected_delivery\": \"2026-09-21\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 18400.0, \"tax_rate\": 0.0825, \"tax\": 1518.0, \"freight\": 0.0, \"total\": 19918.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81500\", \"po_number\": \"PO-2026-40955\", \"received_date\": \"Sep 19, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-674842\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-674842\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-92769\", \"po_number\": \"PO-2026-40955\", \"grn_ref\": \"GRN-81500\", \"invoice_date\": \"09/19/2026\", \"due_date\": \"10/04/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3870.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 18550.0, \"tax_rate\": 0.0825, \"tax\": 1530.38, \"freight\": 0.0, \"total\": 20080.38, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-40955 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0143", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-41002", "grn_number": "GRN-81578", "invoice_number": "PPS-92861", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 22012.0, "po_tax": 1320.72, "po_freight": 0.0, "po_total": 23332.72, "invoice_subtotal": 22012.0, "invoice_tax": 1320.72, "invoice_freight": 0.0, "invoice_total": 23332.72, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0143/PO-2026-41002.png", "grn_file": "documents/CASE_0143/GRN-81578.docx", "invoice_file": "documents/CASE_0143/PPS-92861.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0143/PO-2026-41002.png", "documents/CASE_0143/GRN-81578.docx", "documents/CASE_0143/PPS-92861.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-41002\", \"invoice_po_ref\": \"PO-2026-41002\", \"po_vendor\": \"Pacific Photonics & Sensors Inc.\", \"invoice_vendor\": \"Kestrel Workspace & Ergonomics\", \"note\": \"Vendor entity mismatch: PO issued to 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41002\", \"order_date\": \"08-Feb-2026\", \"expected_delivery\": \"18-Feb-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}], \"subtotal\": 22012.0, \"tax_rate\": 0.06, \"tax\": 1320.72, \"freight\": 0.0, \"total\": 23332.72, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81578\", \"po_number\": \"PO-2026-41002\", \"received_date\": \"2026-02-21\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-326387\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-326387\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-92861\", \"po_number\": \"PO-2026-41002\", \"grn_ref\": \"GRN-81578\", \"invoice_date\": \"Feb 23, 2026\", \"due_date\": \"Mar 25, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}], \"subtotal\": 22012.0, \"tax_rate\": 0.06, \"tax\": 1320.72, \"freight\": 0.0, \"total\": 23332.72, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41002 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0147", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-41030", "grn_number": "GRN-81625", "invoice_number": "PPS-92912", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 14865.0, "po_tax": 1189.2, "po_freight": 0.0, "po_total": 16054.2, "invoice_subtotal": 15933.0, "invoice_tax": 1274.64, "invoice_freight": 0.0, "invoice_total": 17207.64, "total_variance": 1153.44, "num_documents": 3, "po_file": "documents/CASE_0147/PO-2026-41030.docx", "grn_file": "documents/CASE_0147/GRN-81625.pdf", "invoice_file": "documents/CASE_0147/PPS-92912.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0147/PO-2026-41030.docx", "documents/CASE_0147/GRN-81625.pdf", "documents/CASE_0147/PPS-92912.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 52 units vs 40 ordered (+12 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 4, \"sku\": \"ELC-7218\", \"po_qty\": 40, \"received_qty\": 52, \"invoiced_qty\": 52, \"over_qty\": 12, \"variance_amount\": 1068.0, \"note\": \"Shipped and billed 52 units vs 40 ordered (+12 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41030\", \"order_date\": \"30-Jul-2026\", \"expected_delivery\": \"09-Aug-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}], \"subtotal\": 14865.0, \"tax_rate\": 0.08, \"tax\": 1189.2, \"freight\": 0.0, \"total\": 16054.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81625\", \"po_number\": \"PO-2026-41030\", \"received_date\": \"2026-08-05\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-674779\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 52, \"qty_accepted\": 52, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+12 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 52 (12 extra over PO) on ELC-7218. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-674779\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-92912\", \"po_number\": \"PO-2026-41030\", \"grn_ref\": \"GRN-81625\", \"invoice_date\": \"Aug 06, 2026\", \"due_date\": \"Sep 20, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 52, \"unit_price\": 89.0, \"line_total\": 4628.0}], \"subtotal\": 15933.0, \"tax_rate\": 0.08, \"tax\": 1274.64, \"freight\": 0.0, \"total\": 17207.64, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41030 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0150", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-41053", "grn_number": "GRN-81658", "invoice_number": "VEP-92959", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 3560.0, "po_tax": 284.8, "po_freight": 0.0, "po_total": 3844.8, "invoice_subtotal": 3560.0, "invoice_tax": 284.8, "invoice_freight": 315.0, "invoice_total": 4159.8, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_0150/PO-2026-41053.docx", "grn_file": "documents/CASE_0150/GRN-81658.jpg", "invoice_file": "documents/CASE_0150/VEP-92959.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0150/PO-2026-41053.docx", "documents/CASE_0150/GRN-81658.jpg", "documents/CASE_0150/VEP-92959.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41053\", \"order_date\": \"07/26/2026\", \"expected_delivery\": \"08/05/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 3560.0, \"tax_rate\": 0.08, \"tax\": 284.8, \"freight\": 0.0, \"total\": 3844.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81658\", \"po_number\": \"PO-2026-41053\", \"received_date\": \"02-Aug-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-192296\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-192296\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-92959\", \"po_number\": \"PO-2026-41053\", \"grn_ref\": \"GRN-81658\", \"invoice_date\": \"2026-08-05\", \"due_date\": \"2026-09-04\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 3560.0, \"tax_rate\": 0.08, \"tax\": 284.8, \"freight\": 315.0, \"total\": 4159.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41053 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0151", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-41059", "grn_number": "GRN-81667", "invoice_number": "PKR-92970", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 6392.0, "po_tax": 527.34, "po_freight": 0.0, "po_total": 6919.34, "invoice_subtotal": 6392.0, "invoice_tax": 527.34, "invoice_freight": 315.0, "invoice_total": 7234.34, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_0151/PO-2026-41059.pdf", "grn_file": "documents/CASE_0151/GRN-81667.docx", "invoice_file": "documents/CASE_0151/PKR-92970.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0151/PO-2026-41059.pdf", "documents/CASE_0151/GRN-81667.docx", "documents/CASE_0151/PKR-92970.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41059\", \"order_date\": \"25-Jan-2026\", \"expected_delivery\": \"04-Feb-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 12, \"unit_price\": 145.0, \"line_total\": 1740.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 22.5, \"line_total\": 540.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 76.0, \"line_total\": 912.0}], \"subtotal\": 6392.0, \"tax_rate\": 0.0825, \"tax\": 527.34, \"freight\": 0.0, \"total\": 6919.34, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81667\", \"po_number\": \"PO-2026-41059\", \"received_date\": \"2026-02-06\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-788842\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-788842\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-92970\", \"po_number\": \"PO-2026-41059\", \"grn_ref\": \"GRN-81667\", \"invoice_date\": \"Feb 08, 2026\", \"due_date\": \"Mar 10, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 12, \"unit_price\": 145.0, \"line_total\": 1740.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 22.5, \"line_total\": 540.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 76.0, \"line_total\": 912.0}], \"subtotal\": 6392.0, \"tax_rate\": 0.0825, \"tax\": 527.34, \"freight\": 315.0, \"total\": 7234.34, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41059 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0164", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-41150", "grn_number": "GRN-81805", "invoice_number": "KWS-93140", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 35850.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 35945.0, "invoice_subtotal": 35850.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 35945.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0164/PO-2026-41150.jpg", "grn_file": "documents/CASE_0164/GRN-81805.pdf", "invoice_file": "documents/CASE_0164/KWS-93140.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0164/PO-2026-41150.jpg", "documents/CASE_0164/GRN-81805.pdf", "documents/CASE_0164/KWS-93140.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 50 units for FRN-6102, but warehouse only received 36 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"FRN-6102\", \"po_qty\": 50, \"received_qty\": 36, \"invoiced_qty\": 50, \"overbilled_qty\": 14, \"variance_amount\": 8960.0, \"note\": \"Vendor billed 50 units for FRN-6102, but warehouse only received 36 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41150\", \"order_date\": \"2026-07-02\", \"expected_delivery\": \"2026-07-12\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}], \"subtotal\": 35850.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 35945.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81805\", \"po_number\": \"PO-2026-41150\", \"received_date\": \"Jul 14, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-808308\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 36, \"qty_accepted\": 36, \"qty_rejected\": 0, \"condition\": \"Short 14 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 36 of 50 on FRN-6102 (short 14 EA). - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-808308\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-93140\", \"po_number\": \"PO-2026-41150\", \"grn_ref\": \"GRN-81805\", \"invoice_date\": \"07/17/2026\", \"due_date\": \"08/16/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}], \"subtotal\": 35850.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 35945.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41150 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0171", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-41200", "grn_number": "GRN-81884", "invoice_number": "PPS-93224", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 31525.0, "po_tax": 2600.81, "po_freight": 95.0, "po_total": 34220.81, "invoice_subtotal": 31525.0, "invoice_tax": 2600.81, "invoice_freight": 95.0, "invoice_total": 34220.81, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0171/PO-2026-41200.docx", "grn_file": "documents/CASE_0171/GRN-81884.pdf", "invoice_file": "documents/CASE_0171/PPS-93224.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0171/PO-2026-41200.docx", "documents/CASE_0171/GRN-81884.pdf", "documents/CASE_0171/PPS-93224.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034), but Invoice billed by 'Summit Safety & PPE Distributors' (Tax ID 84-3920115).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-41200\", \"invoice_po_ref\": \"PO-2026-41200\", \"po_vendor\": \"Pacific Photonics & Sensors Inc.\", \"invoice_vendor\": \"Summit Safety & PPE Distributors\", \"note\": \"Vendor entity mismatch: PO issued to 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034), but Invoice billed by 'Summit Safety & PPE Distributors' (Tax ID 84-3920115).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41200\", \"order_date\": \"13-Aug-2026\", \"expected_delivery\": \"23-Aug-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}], \"subtotal\": 31525.0, \"tax_rate\": 0.0825, \"tax\": 2600.81, \"freight\": 95.0, \"total\": 34220.81, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-81884\", \"po_number\": \"PO-2026-41200\", \"received_date\": \"2026-08-22\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-828813\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-828813\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-93224\", \"po_number\": \"PO-2026-41200\", \"grn_ref\": \"GRN-81884\", \"invoice_date\": \"Aug 28, 2026\", \"due_date\": \"Oct 12, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}], \"subtotal\": 31525.0, \"tax_rate\": 0.0825, \"tax\": 2600.81, \"freight\": 95.0, \"total\": 34220.81, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41200 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0186", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-41305", "grn_number": "GRN-82050", "invoice_number": "PPS-93420", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 15750.0, "po_tax": 945.0, "po_freight": 0.0, "po_total": 16695.0, "invoice_subtotal": 18502.0, "invoice_tax": 1110.12, "invoice_freight": 0.0, "invoice_total": 19612.12, "total_variance": 2917.12, "num_documents": 3, "po_file": "documents/CASE_0186/PO-2026-41305.docx", "grn_file": "documents/CASE_0186/GRN-82050.jpg", "invoice_file": "documents/CASE_0186/PPS-93420.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0186/PO-2026-41305.docx", "documents/CASE_0186/GRN-82050.jpg", "documents/CASE_0186/PPS-93420.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 66 units vs 50 ordered (+16 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7201\", \"po_qty\": 50, \"received_qty\": 66, \"invoiced_qty\": 66, \"over_qty\": 16, \"variance_amount\": 2752.0, \"note\": \"Shipped and billed 66 units vs 50 ordered (+16 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41305\", \"order_date\": \"08/06/2026\", \"expected_delivery\": \"08/16/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 15750.0, \"tax_rate\": 0.06, \"tax\": 945.0, \"freight\": 0.0, \"total\": 16695.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82050\", \"po_number\": \"PO-2026-41305\", \"received_date\": \"13-Aug-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-116703\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 66, \"qty_accepted\": 66, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+16 EA over PO)\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 66 (16 extra over PO) on ELC-7201. Held in quarantine. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-116703\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-93420\", \"po_number\": \"PO-2026-41305\", \"grn_ref\": \"GRN-82050\", \"invoice_date\": \"2026-08-14\", \"due_date\": \"2026-09-28\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 66, \"unit_price\": 172.0, \"line_total\": 11352.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 18502.0, \"tax_rate\": 0.06, \"tax\": 1110.12, \"freight\": 0.0, \"total\": 19612.12, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41305 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0191", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-41339", "grn_number": "GRN-82107", "invoice_number": "TP-93491", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 8646.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 8646.0, "invoice_subtotal": 8646.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 8646.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0191/PO-2026-41339.png", "grn_file": "documents/CASE_0191/GRN-82107.docx", "invoice_file": "documents/CASE_0191/TP-93491.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0191/PO-2026-41339.png", "documents/CASE_0191/GRN-82107.docx", "documents/CASE_0191/TP-93491.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41339\", \"order_date\": \"27-Jan-2026\", \"expected_delivery\": \"06-Feb-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 164.0, \"line_total\": 3936.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 30, \"unit_price\": 112.0, \"line_total\": 3360.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 135.0, \"line_total\": 1350.0}], \"subtotal\": 8646.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8646.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82107\", \"po_number\": \"PO-2026-41339\", \"received_date\": \"2026-02-10\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-666091\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-666091\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-93491\", \"po_number\": \"PO-2026-41339\", \"grn_ref\": \"GRN-82107\", \"invoice_date\": \"Feb 12, 2026\", \"due_date\": \"Mar 29, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 164.0, \"line_total\": 3936.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 30, \"unit_price\": 112.0, \"line_total\": 3360.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 135.0, \"line_total\": 1350.0}], \"subtotal\": 8646.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8646.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41339 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0198", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-41388", "grn_number": "GRN-82183", "invoice_number": "VEP-93577", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 13820.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 13915.0, "invoice_subtotal": 13820.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 13915.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0198/PO-2026-41388.docx", "grn_file": "documents/CASE_0198/GRN-82183.jpg", "invoice_file": "documents/CASE_0198/VEP-93577.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0198/PO-2026-41388.docx", "documents/CASE_0198/GRN-82183.jpg", "documents/CASE_0198/VEP-93577.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41388\", \"order_date\": \"03/11/2026\", \"expected_delivery\": \"03/21/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}], \"subtotal\": 13820.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 13915.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82183\", \"po_number\": \"PO-2026-41388\", \"received_date\": \"18-Mar-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-320034\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-320034\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-93577\", \"po_number\": \"PO-2026-41388\", \"grn_ref\": \"GRN-82183\", \"invoice_date\": \"2026-03-19\", \"due_date\": \"2026-04-18\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}], \"subtotal\": 13820.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 13915.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41388 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0199", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-41394", "grn_number": "GRN-82192", "invoice_number": "NSI-93592", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 40740.0, "po_tax": 3361.05, "po_freight": 0.0, "po_total": 44101.05, "invoice_subtotal": 40740.0, "invoice_tax": 3361.05, "invoice_freight": 0.0, "invoice_total": 44101.05, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0199/PO-2026-41394.pdf", "grn_file": "documents/CASE_0199/GRN-82192.docx", "invoice_file": "documents/CASE_0199/NSI-93592.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0199/PO-2026-41394.pdf", "documents/CASE_0199/GRN-82192.docx", "documents/CASE_0199/NSI-93592.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41394\", \"order_date\": \"14-Apr-2026\", \"expected_delivery\": \"24-Apr-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}], \"subtotal\": 40740.0, \"tax_rate\": 0.0825, \"tax\": 3361.05, \"freight\": 0.0, \"total\": 44101.05, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82192\", \"po_number\": \"PO-2026-41394\", \"received_date\": \"2026-04-28\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-707913\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-707913\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-93592\", \"po_number\": \"PO-2026-41394\", \"grn_ref\": \"GRN-82192\", \"invoice_date\": \"Apr 30, 2026\", \"due_date\": \"May 30, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}], \"subtotal\": 40740.0, \"tax_rate\": 0.0825, \"tax\": 3361.05, \"freight\": 0.0, \"total\": 44101.05, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41394 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0201", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-41411", "grn_number": "", "invoice_number": "PPS-93616", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 2708.0, "po_tax": 216.64, "po_freight": 0.0, "po_total": 2924.64, "invoice_subtotal": 2708.0, "invoice_tax": 216.64, "invoice_freight": 0.0, "invoice_total": 2924.64, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0201/PO-2026-41411.docx", "grn_file": "", "invoice_file": "documents/CASE_0201/PPS-93616.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0201/PO-2026-41411.docx", "documents/CASE_0201/PPS-93616.png"], "file_formats": ["docx", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-41411\", \"invoice_number\": \"PPS-93616\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41411\", \"order_date\": \"Aug 17, 2026\", \"expected_delivery\": \"Aug 27, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}], \"subtotal\": 2708.0, \"tax_rate\": 0.08, \"tax\": 216.64, \"freight\": 0.0, \"total\": 2924.64, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-93616\", \"po_number\": \"PO-2026-41411\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"30-Aug-2026\", \"due_date\": \"29-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}], \"subtotal\": 2708.0, \"tax_rate\": 0.08, \"tax\": 216.64, \"freight\": 0.0, \"total\": 2924.64, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41411 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0208", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-41461", "grn_number": "GRN-82292", "invoice_number": "PPS-93710", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 18240.0, "po_tax": 1322.4, "po_freight": 0.0, "po_total": 19562.4, "invoice_subtotal": 18240.0, "invoice_tax": 1322.4, "invoice_freight": 0.0, "invoice_total": 19562.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0208/PO-2026-41461.pdf", "grn_file": "documents/CASE_0208/GRN-82292.jpg", "invoice_file": "documents/CASE_0208/PPS-93710.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0208/PO-2026-41461.pdf", "documents/CASE_0208/GRN-82292.jpg", "documents/CASE_0208/PPS-93710.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41461\", \"order_date\": \"2026-08-20\", \"expected_delivery\": \"2026-08-30\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 18240.0, \"tax_rate\": 0.0725, \"tax\": 1322.4, \"freight\": 0.0, \"total\": 19562.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82292\", \"po_number\": \"PO-2026-41461\", \"received_date\": \"Sep 02, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-584952\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-584952\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-93710\", \"po_number\": \"PO-2026-41461\", \"grn_ref\": \"GRN-82292\", \"invoice_date\": \"09/07/2026\", \"due_date\": \"10/07/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 18240.0, \"tax_rate\": 0.0725, \"tax\": 1322.4, \"freight\": 0.0, \"total\": 19562.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41461 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0209", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-41468", "grn_number": "GRN-82306", "invoice_number": "SSP-93724", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5955.0, "po_tax": 431.74, "po_freight": 75.0, "po_total": 6461.74, "invoice_subtotal": 5955.0, "invoice_tax": 431.74, "invoice_freight": 75.0, "invoice_total": 6711.74, "total_variance": 250.0, "num_documents": 3, "po_file": "documents/CASE_0209/PO-2026-41468.png", "grn_file": "documents/CASE_0209/GRN-82306.docx", "invoice_file": "documents/CASE_0209/SSP-93724.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0209/PO-2026-41468.png", "documents/CASE_0209/GRN-82306.docx", "documents/CASE_0209/SSP-93724.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($5955.00) + Tax ($431.74) + Freight ($75.00) = $6461.74, but Invoice Total Due states $6711.74.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 6461.74, \"invoice_stated_total\": 6711.74, \"variance_amount\": 250.0, \"note\": \"Invoice total summation error: Subtotal ($5955.00) + Tax ($431.74) + Freight ($75.00) = $6461.74, but Invoice Total Due states $6711.74.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41468\", \"order_date\": \"May 15, 2026\", \"expected_delivery\": \"May 25, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}], \"subtotal\": 5955.0, \"tax_rate\": 0.0725, \"tax\": 431.74, \"freight\": 75.0, \"total\": 6461.74, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82306\", \"po_number\": \"PO-2026-41468\", \"received_date\": \"05/23/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-778346\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-778346\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-93724\", \"po_number\": \"PO-2026-41468\", \"grn_ref\": \"GRN-82306\", \"invoice_date\": \"26-May-2026\", \"due_date\": \"10-Jun-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}], \"subtotal\": 5955.0, \"tax_rate\": 0.0725, \"tax\": 431.74, \"freight\": 75.0, \"total\": 6711.74, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41468 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0212", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-41487", "grn_number": "GRN-82334", "invoice_number": "NSI-93764", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 17510.0, "po_tax": 1400.8, "po_freight": 0.0, "po_total": 18910.8, "invoice_subtotal": 17510.0, "invoice_tax": 1400.8, "invoice_freight": 0.0, "invoice_total": 18910.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0212/PO-2026-41487.jpg", "grn_file": "documents/CASE_0212/GRN-82334.pdf", "invoice_file": "documents/CASE_0212/NSI-93764.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0212/PO-2026-41487.jpg", "documents/CASE_0212/GRN-82334.pdf", "documents/CASE_0212/NSI-93764.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IT-8814 failed dock inspection and were rejected, but vendor billed full 10 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"IT-8814\", \"po_qty\": 10, \"received_qty\": 10, \"accepted_qty\": 8, \"rejected_qty\": 2, \"invoiced_qty\": 10, \"variance_amount\": 1040.0, \"note\": \"2 delivered units of IT-8814 failed dock inspection and were rejected, but vendor billed full 10 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41487\", \"order_date\": \"2026-06-21\", \"expected_delivery\": \"2026-07-01\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}], \"subtotal\": 17510.0, \"tax_rate\": 0.08, \"tax\": 1400.8, \"freight\": 0.0, \"total\": 18910.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82334\", \"po_number\": \"PO-2026-41487\", \"received_date\": \"Jul 05, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-593975\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 8, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IT-8814 water/crush damaged; refused & RMA requested! Accepted 8. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-593975\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-93764\", \"po_number\": \"PO-2026-41487\", \"grn_ref\": \"GRN-82334\", \"invoice_date\": \"07/08/2026\", \"due_date\": \"08/07/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}], \"subtotal\": 17510.0, \"tax_rate\": 0.08, \"tax\": 1400.8, \"freight\": 0.0, \"total\": 18910.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41487 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0224", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-41569", "grn_number": "GRN-82468", "invoice_number": "KWS-93913", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 14340.0, "po_tax": 860.4, "po_freight": 0.0, "po_total": 15200.4, "invoice_subtotal": 14340.0, "invoice_tax": 860.4, "invoice_freight": 0.0, "invoice_total": 15200.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0224/PO-2026-41569.jpg", "grn_file": "documents/CASE_0224/GRN-82468.pdf", "invoice_file": "documents/CASE_0224/KWS-93913.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0224/PO-2026-41569.jpg", "documents/CASE_0224/GRN-82468.pdf", "documents/CASE_0224/KWS-93913.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41569\", \"order_date\": \"2026-03-20\", \"expected_delivery\": \"2026-03-30\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 640.0, \"line_total\": 5120.0}], \"subtotal\": 14340.0, \"tax_rate\": 0.06, \"tax\": 860.4, \"freight\": 0.0, \"total\": 15200.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82468\", \"po_number\": \"PO-2026-41569\", \"received_date\": \"Mar 24, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-319393\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-319393\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-93913\", \"po_number\": \"PO-2026-41569\", \"grn_ref\": \"GRN-82468\", \"invoice_date\": \"03/25/2026\", \"due_date\": \"04/24/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 640.0, \"line_total\": 5120.0}], \"subtotal\": 14340.0, \"tax_rate\": 0.06, \"tax\": 860.4, \"freight\": 0.0, \"total\": 15200.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41569 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0229", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-41604", "grn_number": "", "invoice_number": "NSI-93985", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 14140.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 14235.0, "invoice_subtotal": 14140.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 14235.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0229/PO-2026-41604.pdf", "grn_file": "", "invoice_file": "documents/CASE_0229/NSI-93985.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0229/PO-2026-41604.pdf", "documents/CASE_0229/NSI-93985.png"], "file_formats": ["pdf", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-41604\", \"invoice_number\": \"NSI-93985\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41604\", \"order_date\": \"Mar 13, 2026\", \"expected_delivery\": \"Mar 23, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}], \"subtotal\": 14140.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 14235.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-93985\", \"po_number\": \"PO-2026-41604\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"23-Mar-2026\", \"due_date\": \"07-Apr-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}], \"subtotal\": 14140.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 14235.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41604 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0230", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-41613", "grn_number": "GRN-82537", "invoice_number": "PPS-93993", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 18355.0, "po_tax": 1101.3, "po_freight": 0.0, "po_total": 19456.3, "invoice_subtotal": 18355.0, "invoice_tax": 1101.3, "invoice_freight": 0.0, "invoice_total": 19456.3, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0230/PO-2026-41613.jpg", "grn_file": "documents/CASE_0230/GRN-82537.pdf", "invoice_file": "documents/CASE_0230/PPS-93993.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0230/PO-2026-41613.jpg", "documents/CASE_0230/GRN-82537.pdf", "documents/CASE_0230/PPS-93993.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "4 delivered units of ELC-7218 failed dock inspection and were rejected, but vendor billed full 15 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 3, \"sku\": \"ELC-7218\", \"po_qty\": 15, \"received_qty\": 15, \"accepted_qty\": 11, \"rejected_qty\": 4, \"invoiced_qty\": 15, \"variance_amount\": 356.0, \"note\": \"4 delivered units of ELC-7218 failed dock inspection and were rejected, but vendor billed full 15 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41613\", \"order_date\": \"10/01/2026\", \"expected_delivery\": \"10/11/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}], \"subtotal\": 18355.0, \"tax_rate\": 0.06, \"tax\": 1101.3, \"freight\": 0.0, \"total\": 19456.3, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82537\", \"po_number\": \"PO-2026-41613\", \"received_date\": \"06-Oct-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-555157\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 11, \"qty_rejected\": 4, \"condition\": \"4 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"4 units of ELC-7218 water/crush damaged; refused & RMA requested! Accepted 11. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-555157\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-93993\", \"po_number\": \"PO-2026-41613\", \"grn_ref\": \"GRN-82537\", \"invoice_date\": \"2026-10-06\", \"due_date\": \"2026-11-20\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}], \"subtotal\": 18355.0, \"tax_rate\": 0.06, \"tax\": 1101.3, \"freight\": 0.0, \"total\": 19456.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41613 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0233", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-41635", "grn_number": "GRN-82565", "invoice_number": "PKR-94031", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 4320.0, "po_tax": 259.2, "po_freight": 0.0, "po_total": 4579.2, "invoice_subtotal": 4934.4, "invoice_tax": 296.06, "invoice_freight": 0.0, "invoice_total": 5230.46, "total_variance": 651.26, "num_documents": 3, "po_file": "documents/CASE_0233/PO-2026-41635.png", "grn_file": "documents/CASE_0233/GRN-82565.docx", "invoice_file": "documents/CASE_0233/PKR-94031.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0233/PO-2026-41635.png", "documents/CASE_0233/GRN-82565.docx", "documents/CASE_0233/PKR-94031.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $91.36 exceeds contracted PO unit price $76.00 for PKG-3025.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"PKG-3025\", \"po_unit_price\": 76.0, \"invoice_unit_price\": 91.36, \"qty\": 40, \"variance_amount\": 614.4, \"note\": \"Invoice unit price $91.36 exceeds contracted PO unit price $76.00 for PKG-3025.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41635\", \"order_date\": \"Aug 30, 2026\", \"expected_delivery\": \"Sep 09, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}], \"subtotal\": 4320.0, \"tax_rate\": 0.06, \"tax\": 259.2, \"freight\": 0.0, \"total\": 4579.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82565\", \"po_number\": \"PO-2026-41635\", \"received_date\": \"09/04/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-165214\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-165214\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-94031\", \"po_number\": \"PO-2026-41635\", \"grn_ref\": \"GRN-82565\", \"invoice_date\": \"05-Sep-2026\", \"due_date\": \"20-Sep-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 91.36, \"line_total\": 3654.4}], \"subtotal\": 4934.4, \"tax_rate\": 0.06, \"tax\": 296.06, \"freight\": 0.0, \"total\": 5230.46, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41635 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0235", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-41647", "grn_number": "GRN-82593", "invoice_number": "KWS-94056", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 44225.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 44225.0, "invoice_subtotal": 44225.0, "invoice_tax": 0.0, "invoice_freight": 425.0, "invoice_total": 44650.0, "total_variance": 425.0, "num_documents": 3, "po_file": "documents/CASE_0235/PO-2026-41647.pdf", "grn_file": "documents/CASE_0235/GRN-82593.docx", "invoice_file": "documents/CASE_0235/KWS-94056.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0235/PO-2026-41647.pdf", "documents/CASE_0235/GRN-82593.docx", "documents/CASE_0235/KWS-94056.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 425.0, \"variance_amount\": 425.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41647\", \"order_date\": \"03-Feb-2026\", \"expected_delivery\": \"13-Feb-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}], \"subtotal\": 44225.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 44225.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82593\", \"po_number\": \"PO-2026-41647\", \"received_date\": \"2026-02-11\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-228270\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-228270\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-94056\", \"po_number\": \"PO-2026-41647\", \"grn_ref\": \"GRN-82593\", \"invoice_date\": \"Feb 13, 2026\", \"due_date\": \"Mar 15, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}], \"subtotal\": 44225.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 425.0, \"total\": 44650.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41647 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0251", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-41760", "grn_number": "GRN-82767", "invoice_number": "PPS-94272", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 7073.0, "po_tax": 565.84, "po_freight": 95.0, "po_total": 7733.84, "invoice_subtotal": 7073.0, "invoice_tax": 565.84, "invoice_freight": 95.0, "invoice_total": 7733.84, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0251/PO-2026-41760.png", "grn_file": "documents/CASE_0251/GRN-82767.docx", "invoice_file": "documents/CASE_0251/PPS-94272.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0251/PO-2026-41760.png", "documents/CASE_0251/GRN-82767.docx", "documents/CASE_0251/PPS-94272.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41760\", \"order_date\": \"22-Sep-2026\", \"expected_delivery\": \"02-Oct-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}], \"subtotal\": 7073.0, \"tax_rate\": 0.08, \"tax\": 565.84, \"freight\": 95.0, \"total\": 7733.84, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82767\", \"po_number\": \"PO-2026-41760\", \"received_date\": \"2026-10-04\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-828246\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-828246\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-94272\", \"po_number\": \"PO-2026-41760\", \"grn_ref\": \"GRN-82767\", \"invoice_date\": \"Oct 07, 2026\", \"due_date\": \"Nov 06, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}], \"subtotal\": 7073.0, \"tax_rate\": 0.08, \"tax\": 565.84, \"freight\": 95.0, \"total\": 7733.84, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41760 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0253", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-41774", "grn_number": "GRN-82787", "invoice_number": "KWS-94295", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 11000.0, "po_tax": 660.0, "po_freight": 0.0, "po_total": 11660.0, "invoice_subtotal": 11000.0, "invoice_tax": 660.0, "invoice_freight": 0.0, "invoice_total": 11660.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0253/PO-2026-41774.pdf", "grn_file": "documents/CASE_0253/GRN-82787.docx", "invoice_file": "documents/CASE_0253/KWS-94295.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0253/PO-2026-41774.pdf", "documents/CASE_0253/GRN-82787.docx", "documents/CASE_0253/KWS-94295.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 10 units for FRN-6102, but warehouse only received 7 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"FRN-6102\", \"po_qty\": 10, \"received_qty\": 7, \"invoiced_qty\": 10, \"overbilled_qty\": 3, \"variance_amount\": 1920.0, \"note\": \"Vendor billed 10 units for FRN-6102, but warehouse only received 7 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41774\", \"order_date\": \"Jul 13, 2026\", \"expected_delivery\": \"Jul 23, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}], \"subtotal\": 11000.0, \"tax_rate\": 0.06, \"tax\": 660.0, \"freight\": 0.0, \"total\": 11660.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82787\", \"po_number\": \"PO-2026-41774\", \"received_date\": \"07/17/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-362168\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 7, \"qty_accepted\": 7, \"qty_rejected\": 0, \"condition\": \"Short 3 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 7 of 10 on FRN-6102 (short 3 EA). - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-362168\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-94295\", \"po_number\": \"PO-2026-41774\", \"grn_ref\": \"GRN-82787\", \"invoice_date\": \"21-Jul-2026\", \"due_date\": \"20-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}], \"subtotal\": 11000.0, \"tax_rate\": 0.06, \"tax\": 660.0, \"freight\": 0.0, \"total\": 11660.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41774 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0260", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-41825", "grn_number": "GRN-82862", "invoice_number": "VEP-94387", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 1305.0, "po_tax": 107.66, "po_freight": 0.0, "po_total": 1412.66, "invoice_subtotal": 1305.0, "invoice_tax": 107.66, "invoice_freight": 11.47, "invoice_total": 1424.13, "total_variance": 11.47, "num_documents": 3, "po_file": "documents/CASE_0260/PO-2026-41825.jpg", "grn_file": "documents/CASE_0260/GRN-82862.pdf", "invoice_file": "documents/CASE_0260/VEP-94387.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0260/PO-2026-41825.jpg", "documents/CASE_0260/GRN-82862.pdf", "documents/CASE_0260/VEP-94387.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $11.47 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 11.47, \"variance_amount\": 11.47, \"note\": \"Prepaid & Add shipping fee of $11.47 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41825\", \"order_date\": \"2026-04-30\", \"expected_delivery\": \"2026-05-10\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}], \"subtotal\": 1305.0, \"tax_rate\": 0.0825, \"tax\": 107.66, \"freight\": 0.0, \"total\": 1412.66, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82862\", \"po_number\": \"PO-2026-41825\", \"received_date\": \"May 11, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-823880\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-823880\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-94387\", \"po_number\": \"PO-2026-41825\", \"grn_ref\": \"GRN-82862\", \"invoice_date\": \"05/16/2026\", \"due_date\": \"06/15/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}], \"subtotal\": 1305.0, \"tax_rate\": 0.0825, \"tax\": 107.66, \"freight\": 11.47, \"total\": 1424.13, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41825 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0262", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-41837", "grn_number": "GRN-82884", "invoice_number": "INV-APX-94412", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 1870.0, "po_tax": 135.58, "po_freight": 0.0, "po_total": 2005.58, "invoice_subtotal": 1870.0, "invoice_tax": 135.58, "invoice_freight": 550.0, "invoice_total": 2555.58, "total_variance": 550.0, "num_documents": 3, "po_file": "documents/CASE_0262/PO-2026-41837.pdf", "grn_file": "documents/CASE_0262/GRN-82884.jpg", "invoice_file": "documents/CASE_0262/INV-APX-94412.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0262/PO-2026-41837.pdf", "documents/CASE_0262/GRN-82884.jpg", "documents/CASE_0262/INV-APX-94412.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 550.0, \"variance_amount\": 550.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41837\", \"order_date\": \"09/22/2026\", \"expected_delivery\": \"10/02/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}], \"subtotal\": 1870.0, \"tax_rate\": 0.0725, \"tax\": 135.58, \"freight\": 0.0, \"total\": 2005.58, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82884\", \"po_number\": \"PO-2026-41837\", \"received_date\": \"27-Sep-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-761519\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-761519\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-94412\", \"po_number\": \"PO-2026-41837\", \"grn_ref\": \"GRN-82884\", \"invoice_date\": \"2026-10-02\", \"due_date\": \"2026-11-01\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}], \"subtotal\": 1870.0, \"tax_rate\": 0.0725, \"tax\": 135.58, \"freight\": 550.0, \"total\": 2555.58, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41837 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0271", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-41902", "grn_number": "GRN-82988", "invoice_number": "SSP-94527", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 9585.0, "po_tax": 694.91, "po_freight": 0.0, "po_total": 10279.91, "invoice_subtotal": 9585.0, "invoice_tax": 694.91, "invoice_freight": 7.5, "invoice_total": 10287.41, "total_variance": 7.5, "num_documents": 3, "po_file": "documents/CASE_0271/PO-2026-41902.pdf", "grn_file": "documents/CASE_0271/GRN-82988.docx", "invoice_file": "documents/CASE_0271/SSP-94527.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0271/PO-2026-41902.pdf", "documents/CASE_0271/GRN-82988.docx", "documents/CASE_0271/SSP-94527.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.50 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.5, \"variance_amount\": 7.5, \"note\": \"Prepaid & Add shipping fee of $7.50 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41902\", \"order_date\": \"17-May-2026\", \"expected_delivery\": \"27-May-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}], \"subtotal\": 9585.0, \"tax_rate\": 0.0725, \"tax\": 694.91, \"freight\": 0.0, \"total\": 10279.91, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-82988\", \"po_number\": \"PO-2026-41902\", \"received_date\": \"2026-05-26\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-103281\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-103281\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-94527\", \"po_number\": \"PO-2026-41902\", \"grn_ref\": \"GRN-82988\", \"invoice_date\": \"May 29, 2026\", \"due_date\": \"Jun 13, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}], \"subtotal\": 9585.0, \"tax_rate\": 0.0725, \"tax\": 694.91, \"freight\": 7.5, \"total\": 10287.41, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41902 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0272", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-41906", "grn_number": "GRN-83000", "invoice_number": "SSP-94538", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5970.0, "po_tax": 358.2, "po_freight": 35.0, "po_total": 6363.2, "invoice_subtotal": 5970.0, "invoice_tax": 358.2, "invoice_freight": 35.0, "invoice_total": 6363.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0272/PO-2026-41906.jpg", "grn_file": "documents/CASE_0272/GRN-83000.pdf", "invoice_file": "documents/CASE_0272/SSP-94538.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0272/PO-2026-41906.jpg", "documents/CASE_0272/GRN-83000.pdf", "documents/CASE_0272/SSP-94538.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41906\", \"order_date\": \"2026-09-21\", \"expected_delivery\": \"2026-10-01\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 185.0, \"line_total\": 1850.0}], \"subtotal\": 5970.0, \"tax_rate\": 0.06, \"tax\": 358.2, \"freight\": 35.0, \"total\": 6363.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83000\", \"po_number\": \"PO-2026-41906\", \"received_date\": \"Sep 26, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-605590\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-605590\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-94538\", \"po_number\": \"PO-2026-41906\", \"grn_ref\": \"GRN-83000\", \"invoice_date\": \"09/28/2026\", \"due_date\": \"10/13/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 185.0, \"line_total\": 1850.0}], \"subtotal\": 5970.0, \"tax_rate\": 0.06, \"tax\": 358.2, \"freight\": 35.0, \"total\": 6363.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41906 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0275", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-41929", "grn_number": "GRN-83030", "invoice_number": "INV-APX-94578", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 13523.0, "po_tax": 1081.84, "po_freight": 0.0, "po_total": 14604.84, "invoice_subtotal": 13523.0, "invoice_tax": 1081.84, "invoice_freight": 6.62, "invoice_total": 14611.46, "total_variance": 6.62, "num_documents": 3, "po_file": "documents/CASE_0275/PO-2026-41929.png", "grn_file": "documents/CASE_0275/GRN-83030.docx", "invoice_file": "documents/CASE_0275/INV-APX-94578.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0275/PO-2026-41929.png", "documents/CASE_0275/GRN-83030.docx", "documents/CASE_0275/INV-APX-94578.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $6.62 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 6.62, \"variance_amount\": 6.62, \"note\": \"Prepaid & Add shipping fee of $6.62 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41929\", \"order_date\": \"05-Feb-2026\", \"expected_delivery\": \"15-Feb-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}], \"subtotal\": 13523.0, \"tax_rate\": 0.08, \"tax\": 1081.84, \"freight\": 0.0, \"total\": 14604.84, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83030\", \"po_number\": \"PO-2026-41929\", \"received_date\": \"2026-02-11\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-122613\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-122613\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-94578\", \"po_number\": \"PO-2026-41929\", \"grn_ref\": \"GRN-83030\", \"invoice_date\": \"Feb 17, 2026\", \"due_date\": \"Mar 04, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}], \"subtotal\": 13523.0, \"tax_rate\": 0.08, \"tax\": 1081.84, \"freight\": 6.62, \"total\": 14611.46, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41929 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0280", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-41963", "grn_number": "GRN-83084", "invoice_number": "VEP-94643", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 25576.0, "po_tax": 1854.26, "po_freight": 120.0, "po_total": 27550.26, "invoice_subtotal": 25843.0, "invoice_tax": 1873.62, "invoice_freight": 120.0, "invoice_total": 27836.62, "total_variance": 286.36, "num_documents": 3, "po_file": "documents/CASE_0280/PO-2026-41963.pdf", "grn_file": "documents/CASE_0280/GRN-83084.jpg", "invoice_file": "documents/CASE_0280/VEP-94643.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0280/PO-2026-41963.pdf", "documents/CASE_0280/GRN-83084.jpg", "documents/CASE_0280/VEP-94643.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_qty\": 8, \"received_qty\": 11, \"invoiced_qty\": 11, \"over_qty\": 3, \"variance_amount\": 267.0, \"note\": \"Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-41963\", \"order_date\": \"2026-05-11\", \"expected_delivery\": \"2026-05-21\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}], \"subtotal\": 25576.0, \"tax_rate\": 0.0725, \"tax\": 1854.26, \"freight\": 120.0, \"total\": 27550.26, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83084\", \"po_number\": \"PO-2026-41963\", \"received_date\": \"May 15, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-731394\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 11 (3 extra over PO) on ELC-7218. Held in quarantine. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-731394\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-94643\", \"po_number\": \"PO-2026-41963\", \"grn_ref\": \"GRN-83084\", \"invoice_date\": \"05/16/2026\", \"due_date\": \"06/15/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 11, \"unit_price\": 89.0, \"line_total\": 979.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}], \"subtotal\": 25843.0, \"tax_rate\": 0.0725, \"tax\": 1873.62, \"freight\": 120.0, \"total\": 27836.62, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-41963 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0292", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42046", "grn_number": "GRN-83217", "invoice_number": "VEP-94799", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 14568.0, "po_tax": 874.08, "po_freight": 0.0, "po_total": 15442.08, "invoice_subtotal": 14568.0, "invoice_tax": 874.08, "invoice_freight": 0.0, "invoice_total": 15442.08, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0292/PO-2026-42046.pdf", "grn_file": "documents/CASE_0292/GRN-83217.jpg", "invoice_file": "documents/CASE_0292/VEP-94799.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0292/PO-2026-42046.pdf", "documents/CASE_0292/GRN-83217.jpg", "documents/CASE_0292/VEP-94799.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42046\", \"order_date\": \"2026-08-12\", \"expected_delivery\": \"2026-08-22\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 14568.0, \"tax_rate\": 0.06, \"tax\": 874.08, \"freight\": 0.0, \"total\": 15442.08, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83217\", \"po_number\": \"PO-2026-42046\", \"received_date\": \"Aug 24, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-403726\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-403726\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-94799\", \"po_number\": \"PO-2026-42046\", \"grn_ref\": \"GRN-83217\", \"invoice_date\": \"08/28/2026\", \"due_date\": \"09/27/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 14568.0, \"tax_rate\": 0.06, \"tax\": 874.08, \"freight\": 0.0, \"total\": 15442.08, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42046 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0294", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-42061", "grn_number": "GRN-83235", "invoice_number": "INV-APX-94823", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 23422.0, "po_tax": 1405.32, "po_freight": 35.0, "po_total": 24862.32, "invoice_subtotal": 23531.76, "invoice_tax": 1411.91, "invoice_freight": 35.0, "invoice_total": 24978.67, "total_variance": 116.35, "num_documents": 3, "po_file": "documents/CASE_0294/PO-2026-42061.docx", "grn_file": "documents/CASE_0294/GRN-83235.jpg", "invoice_file": "documents/CASE_0294/INV-APX-94823.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0294/PO-2026-42061.docx", "documents/CASE_0294/GRN-83235.jpg", "documents/CASE_0294/INV-APX-94823.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $81.72 exceeds contracted PO unit price $68.00 for IND-4452.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"IND-4452\", \"po_unit_price\": 68.0, \"invoice_unit_price\": 81.72, \"qty\": 8, \"variance_amount\": 109.76, \"note\": \"Invoice unit price $81.72 exceeds contracted PO unit price $68.00 for IND-4452.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42061\", \"order_date\": \"05/25/2026\", \"expected_delivery\": \"06/04/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}], \"subtotal\": 23422.0, \"tax_rate\": 0.06, \"tax\": 1405.32, \"freight\": 35.0, \"total\": 24862.32, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83235\", \"po_number\": \"PO-2026-42061\", \"received_date\": \"31-May-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-963955\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-963955\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-94823\", \"po_number\": \"PO-2026-42061\", \"grn_ref\": \"GRN-83235\", \"invoice_date\": \"2026-06-03\", \"due_date\": \"2026-07-18\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 81.72, \"line_total\": 653.76}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}], \"subtotal\": 23531.76, \"tax_rate\": 0.06, \"tax\": 1411.91, \"freight\": 35.0, \"total\": 24978.67, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42061 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0302", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-42118", "grn_number": "GRN-83325", "invoice_number": "TP-94935", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 15400.0, "po_tax": 1232.0, "po_freight": 0.0, "po_total": 16632.0, "invoice_subtotal": 15400.0, "invoice_tax": 1232.0, "invoice_freight": 0.0, "invoice_total": 16632.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0302/PO-2026-42118.jpg", "grn_file": "documents/CASE_0302/GRN-83325.pdf", "invoice_file": "documents/CASE_0302/TP-94935.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0302/PO-2026-42118.jpg", "documents/CASE_0302/GRN-83325.pdf", "documents/CASE_0302/TP-94935.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "6 delivered units of LAB-2170 failed dock inspection and were rejected, but vendor billed full 24 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"LAB-2170\", \"po_qty\": 24, \"received_qty\": 24, \"accepted_qty\": 18, \"rejected_qty\": 6, \"invoiced_qty\": 24, \"variance_amount\": 2760.0, \"note\": \"6 delivered units of LAB-2170 failed dock inspection and were rejected, but vendor billed full 24 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42118\", \"order_date\": \"08/03/2026\", \"expected_delivery\": \"08/13/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 135.0, \"line_total\": 3240.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}], \"subtotal\": 15400.0, \"tax_rate\": 0.08, \"tax\": 1232.0, \"freight\": 0.0, \"total\": 16632.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83325\", \"po_number\": \"PO-2026-42118\", \"received_date\": \"16-Aug-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-734475\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 18, \"qty_rejected\": 6, \"condition\": \"6 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"6 units of LAB-2170 water/crush damaged; refused & RMA requested! Accepted 18. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-734475\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-94935\", \"po_number\": \"PO-2026-42118\", \"grn_ref\": \"GRN-83325\", \"invoice_date\": \"2026-08-16\", \"due_date\": \"2026-09-15\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 135.0, \"line_total\": 3240.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}], \"subtotal\": 15400.0, \"tax_rate\": 0.08, \"tax\": 1232.0, \"freight\": 0.0, \"total\": 16632.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42118 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0311", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-42181", "grn_number": "GRN-83427", "invoice_number": "VEP-95049", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 19900.0, "po_tax": 1442.75, "po_freight": 50.0, "po_total": 21392.75, "invoice_subtotal": 19900.0, "invoice_tax": 1442.75, "invoice_freight": 50.0, "invoice_total": 21392.75, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0311/PO-2026-42181.png", "grn_file": "documents/CASE_0311/GRN-83427.docx", "invoice_file": "documents/CASE_0311/VEP-95049.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0311/PO-2026-42181.png", "documents/CASE_0311/GRN-83427.docx", "documents/CASE_0311/VEP-95049.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "3 delivered units of ELC-7218 failed dock inspection and were rejected, but vendor billed full 20 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 3, \"sku\": \"ELC-7218\", \"po_qty\": 20, \"received_qty\": 20, \"accepted_qty\": 17, \"rejected_qty\": 3, \"invoiced_qty\": 20, \"variance_amount\": 267.0, \"note\": \"3 delivered units of ELC-7218 failed dock inspection and were rejected, but vendor billed full 20 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42181\", \"order_date\": \"22-Sep-2026\", \"expected_delivery\": \"02-Oct-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}], \"subtotal\": 19900.0, \"tax_rate\": 0.0725, \"tax\": 1442.75, \"freight\": 50.0, \"total\": 21392.75, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83427\", \"po_number\": \"PO-2026-42181\", \"received_date\": \"2026-10-06\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-968415\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 17, \"qty_rejected\": 3, \"condition\": \"3 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"3 units of ELC-7218 water/crush damaged; refused & RMA requested! Accepted 17. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-968415\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-95049\", \"po_number\": \"PO-2026-42181\", \"grn_ref\": \"GRN-83427\", \"invoice_date\": \"Oct 09, 2026\", \"due_date\": \"Oct 24, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}], \"subtotal\": 19900.0, \"tax_rate\": 0.0725, \"tax\": 1442.75, \"freight\": 50.0, \"total\": 21392.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42181 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0314", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-42203", "grn_number": "GRN-83456", "invoice_number": "TP-95089", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 7940.0, "po_tax": 476.4, "po_freight": 0.0, "po_total": 8416.4, "invoice_subtotal": 7940.0, "invoice_tax": 476.4, "invoice_freight": 185.0, "invoice_total": 8601.4, "total_variance": 185.0, "num_documents": 3, "po_file": "documents/CASE_0314/PO-2026-42203.jpg", "grn_file": "documents/CASE_0314/GRN-83456.pdf", "invoice_file": "documents/CASE_0314/TP-95089.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0314/PO-2026-42203.jpg", "documents/CASE_0314/GRN-83456.pdf", "documents/CASE_0314/TP-95089.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 185.0, \"variance_amount\": 185.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42203\", \"order_date\": \"08/21/2026\", \"expected_delivery\": \"08/31/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 460.0, \"line_total\": 5520.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 7940.0, \"tax_rate\": 0.06, \"tax\": 476.4, \"freight\": 0.0, \"total\": 8416.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83456\", \"po_number\": \"PO-2026-42203\", \"received_date\": \"28-Aug-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-983981\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-983981\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-95089\", \"po_number\": \"PO-2026-42203\", \"grn_ref\": \"GRN-83456\", \"invoice_date\": \"2026-08-28\", \"due_date\": \"2026-09-27\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 460.0, \"line_total\": 5520.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 7940.0, \"tax_rate\": 0.06, \"tax\": 476.4, \"freight\": 185.0, \"total\": 8601.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42203 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0319", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42237", "grn_number": "GRN-83512", "invoice_number": "SSP-95153", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5280.0, "po_tax": 382.8, "po_freight": 75.0, "po_total": 5737.8, "invoice_subtotal": 5280.0, "invoice_tax": 382.8, "invoice_freight": 75.0, "invoice_total": 5737.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0319/PO-2026-42237.pdf", "grn_file": "documents/CASE_0319/GRN-83512.docx", "invoice_file": "documents/CASE_0319/SSP-95153.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0319/PO-2026-42237.pdf", "documents/CASE_0319/GRN-83512.docx", "documents/CASE_0319/SSP-95153.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42237\", \"order_date\": \"25-Jan-2026\", \"expected_delivery\": \"04-Feb-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}], \"subtotal\": 5280.0, \"tax_rate\": 0.0725, \"tax\": 382.8, \"freight\": 75.0, \"total\": 5737.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83512\", \"po_number\": \"PO-2026-42237\", \"received_date\": \"2026-01-30\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-357234\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-357234\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-95153\", \"po_number\": \"PO-2026-42237\", \"grn_ref\": \"GRN-83512\", \"invoice_date\": \"Jan 31, 2026\", \"due_date\": \"Mar 17, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}], \"subtotal\": 5280.0, \"tax_rate\": 0.0725, \"tax\": 382.8, \"freight\": 75.0, \"total\": 5737.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42237 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0321", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-42251", "grn_number": "GRN-83533", "invoice_number": "PPS-95180", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 14920.0, "po_tax": 1081.7, "po_freight": 0.0, "po_total": 16001.7, "invoice_subtotal": 13370.0, "invoice_tax": 969.33, "invoice_freight": 0.0, "invoice_total": 14339.33, "total_variance": -1662.37, "num_documents": 3, "po_file": "documents/CASE_0321/PO-2026-42251.docx", "grn_file": "documents/CASE_0321/GRN-83533.pdf", "invoice_file": "documents/CASE_0321/PPS-95180.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0321/PO-2026-42251.docx", "documents/CASE_0321/GRN-83533.pdf", "documents/CASE_0321/PPS-95180.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 15/20 units received and accurately billed; keep PO open for remaining 5 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"ELC-7260\", \"po_qty\": 20, \"received_qty\": 15, \"invoiced_qty\": 15, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 15/20 units received and accurately billed; keep PO open for remaining 5 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42251\", \"order_date\": \"Jul 01, 2026\", \"expected_delivery\": \"Jul 11, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 14920.0, \"tax_rate\": 0.0725, \"tax\": 1081.7, \"freight\": 0.0, \"total\": 16001.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83533\", \"po_number\": \"PO-2026-42251\", \"received_date\": \"07/15/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-858386\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (5 SPOOL remaining)\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (15/20 ELC-7260). Balance on BO. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-858386\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-95180\", \"po_number\": \"PO-2026-42251\", \"grn_ref\": \"GRN-83533\", \"invoice_date\": \"15-Jul-2026\", \"due_date\": \"14-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 13370.0, \"tax_rate\": 0.0725, \"tax\": 969.33, \"freight\": 0.0, \"total\": 14339.33, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42251 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0324", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42271", "grn_number": "GRN-83568", "invoice_number": "NSI-95221", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 23512.0, "po_tax": 1410.72, "po_freight": 0.0, "po_total": 24922.72, "invoice_subtotal": 23512.0, "invoice_tax": 1410.72, "invoice_freight": 0.0, "invoice_total": 24922.72, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0324/PO-2026-42271.docx", "grn_file": "documents/CASE_0324/GRN-83568.jpg", "invoice_file": "documents/CASE_0324/NSI-95221.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0324/PO-2026-42271.docx", "documents/CASE_0324/GRN-83568.jpg", "documents/CASE_0324/NSI-95221.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42271\", \"order_date\": \"2026-07-26\", \"expected_delivery\": \"2026-08-05\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 245.0, \"line_total\": 4900.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}], \"subtotal\": 23512.0, \"tax_rate\": 0.06, \"tax\": 1410.72, \"freight\": 0.0, \"total\": 24922.72, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83568\", \"po_number\": \"PO-2026-42271\", \"received_date\": \"Aug 02, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-638891\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-638891\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-95221\", \"po_number\": \"PO-2026-42271\", \"grn_ref\": \"GRN-83568\", \"invoice_date\": \"08/05/2026\", \"due_date\": \"09/04/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 245.0, \"line_total\": 4900.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}], \"subtotal\": 23512.0, \"tax_rate\": 0.06, \"tax\": 1410.72, \"freight\": 0.0, \"total\": 24922.72, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42271 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0325", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-42276", "grn_number": "GRN-83583", "invoice_number": "NSI-95234", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 29056.0, "po_tax": 2397.12, "po_freight": 95.0, "po_total": 31548.12, "invoice_subtotal": 31154.56, "invoice_tax": 2570.25, "invoice_freight": 95.0, "invoice_total": 33819.81, "total_variance": 2271.69, "num_documents": 3, "po_file": "documents/CASE_0325/PO-2026-42276.pdf", "grn_file": "documents/CASE_0325/GRN-83583.docx", "invoice_file": "documents/CASE_0325/NSI-95234.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0325/PO-2026-42276.pdf", "documents/CASE_0325/GRN-83583.docx", "documents/CASE_0325/NSI-95234.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $777.44 exceeds contracted PO unit price $690.00 for IT-8875.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"IT-8875\", \"po_unit_price\": 690.0, \"invoice_unit_price\": 777.44, \"qty\": 24, \"variance_amount\": 2098.56, \"note\": \"Invoice unit price $777.44 exceeds contracted PO unit price $690.00 for IT-8875.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42276\", \"order_date\": \"Jan 18, 2026\", \"expected_delivery\": \"Jan 28, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 1180.0, \"line_total\": 11800.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}], \"subtotal\": 29056.0, \"tax_rate\": 0.0825, \"tax\": 2397.12, \"freight\": 95.0, \"total\": 31548.12, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83583\", \"po_number\": \"PO-2026-42276\", \"received_date\": \"01/29/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-574628\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-574628\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-95234\", \"po_number\": \"PO-2026-42276\", \"grn_ref\": \"GRN-83583\", \"invoice_date\": \"30-Jan-2026\", \"due_date\": \"16-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 1180.0, \"line_total\": 11800.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 777.44, \"line_total\": 18658.56}], \"subtotal\": 31154.56, \"tax_rate\": 0.0825, \"tax\": 2570.25, \"freight\": 95.0, \"total\": 33819.81, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42276 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0332", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42327", "grn_number": "GRN-83655", "invoice_number": "SSP-95323", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 19448.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 19543.0, "invoice_subtotal": 19448.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 19543.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0332/PO-2026-42327.jpg", "grn_file": "documents/CASE_0332/GRN-83655.pdf", "invoice_file": "documents/CASE_0332/SSP-95323.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0332/PO-2026-42327.jpg", "documents/CASE_0332/GRN-83655.pdf", "documents/CASE_0332/SSP-95323.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42327\", \"order_date\": \"2026-06-24\", \"expected_delivery\": \"2026-07-04\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 8, \"unit_price\": 92.0, \"line_total\": 736.0}], \"subtotal\": 19448.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 19543.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83655\", \"po_number\": \"PO-2026-42327\", \"received_date\": \"Jul 07, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-681208\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-681208\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-95323\", \"po_number\": \"PO-2026-42327\", \"grn_ref\": \"GRN-83655\", \"invoice_date\": \"07/08/2026\", \"due_date\": \"08/07/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 8, \"unit_price\": 92.0, \"line_total\": 736.0}], \"subtotal\": 19448.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 19543.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42327 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0334", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-42340", "grn_number": "GRN-83678", "invoice_number": "PPS-95345", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 10478.5, "po_tax": 838.28, "po_freight": 0.0, "po_total": 11316.78, "invoice_subtotal": 10478.5, "invoice_tax": 838.28, "invoice_freight": 0.0, "invoice_total": 11316.78, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0334/PO-2026-42340.pdf", "grn_file": "documents/CASE_0334/GRN-83678.jpg", "invoice_file": "documents/CASE_0334/PPS-95345.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0334/PO-2026-42340.pdf", "documents/CASE_0334/GRN-83678.jpg", "documents/CASE_0334/PPS-95345.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 12 units for ELC-7244, but warehouse only received 9 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"ELC-7244\", \"po_qty\": 12, \"received_qty\": 9, \"invoiced_qty\": 12, \"overbilled_qty\": 3, \"variance_amount\": 1620.0, \"note\": \"Vendor billed 12 units for ELC-7244, but warehouse only received 9 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42340\", \"order_date\": \"10/01/2026\", \"expected_delivery\": \"10/11/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}], \"subtotal\": 10478.5, \"tax_rate\": 0.08, \"tax\": 838.28, \"freight\": 0.0, \"total\": 11316.78, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83678\", \"po_number\": \"PO-2026-42340\", \"received_date\": \"07-Oct-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-415508\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 9, \"qty_accepted\": 9, \"qty_rejected\": 0, \"condition\": \"Short 3 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 9 of 12 on ELC-7244 (short 3 EA). - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-415508\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-95345\", \"po_number\": \"PO-2026-42340\", \"grn_ref\": \"GRN-83678\", \"invoice_date\": \"2026-10-11\", \"due_date\": \"2026-10-26\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}], \"subtotal\": 10478.5, \"tax_rate\": 0.08, \"tax\": 838.28, \"freight\": 0.0, \"total\": 11316.78, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42340 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0336", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-42353", "grn_number": "GRN-83701", "invoice_number": "PPS-95369", "duplicate_invoice_number": "PPS-95369-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 10930.0, "po_tax": 874.4, "po_freight": 75.0, "po_total": 11879.4, "invoice_subtotal": 10930.0, "invoice_tax": 874.4, "invoice_freight": 75.0, "invoice_total": 11879.4, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0336/PO-2026-42353.docx", "grn_file": "documents/CASE_0336/GRN-83701.jpg", "invoice_file": "documents/CASE_0336/PPS-95369.pdf", "duplicate_invoice_file": "documents/CASE_0336/PPS-95369-R1.jpg", "file_paths": ["documents/CASE_0336/PO-2026-42353.docx", "documents/CASE_0336/GRN-83701.jpg", "documents/CASE_0336/PPS-95369.pdf", "documents/CASE_0336/PPS-95369-R1.jpg"], "file_formats": ["docx", "jpg", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PPS-95369' and 'PPS-95369-R1' bill $11879.40 against single receipt 'GRN-83701' / PO 'PO-2026-42353'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PPS-95369\", \"duplicate_invoice_number\": \"PPS-95369-R1\", \"duplicate_billed_amount\": 11879.4, \"variance_amount\": 11879.4, \"note\": \"Duplicate billing detected: both 'PPS-95369' and 'PPS-95369-R1' bill $11879.40 against single receipt 'GRN-83701' / PO 'PO-2026-42353'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42353\", \"order_date\": \"2026-09-01\", \"expected_delivery\": \"2026-09-11\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 10930.0, \"tax_rate\": 0.08, \"tax\": 874.4, \"freight\": 75.0, \"total\": 11879.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83701\", \"po_number\": \"PO-2026-42353\", \"received_date\": \"Sep 06, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-776445\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-776445\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-95369\", \"po_number\": \"PO-2026-42353\", \"grn_ref\": \"GRN-83701\", \"invoice_date\": \"09/10/2026\", \"due_date\": \"09/25/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 10930.0, \"tax_rate\": 0.08, \"tax\": 874.4, \"freight\": 75.0, \"total\": 11879.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42353 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PPS-95369-R1\", \"po_number\": \"PO-2026-42353\", \"grn_ref\": \"GRN-83701\", \"invoice_date\": \"09/20/2026\", \"due_date\": \"10/05/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 10930.0, \"tax_rate\": 0.08, \"tax\": 874.4, \"freight\": 75.0, \"total\": 11879.4, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-776445. Please remit to lockbox.\"}}"} {"case_id": "CASE_0342", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42398", "grn_number": "GRN-83767", "invoice_number": "INV-APX-95450", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 4610.0, "po_tax": 380.33, "po_freight": 0.0, "po_total": 4990.33, "invoice_subtotal": 4610.0, "invoice_tax": 380.33, "invoice_freight": 0.0, "invoice_total": 4990.33, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0342/PO-2026-42398.docx", "grn_file": "documents/CASE_0342/GRN-83767.jpg", "invoice_file": "documents/CASE_0342/INV-APX-95450.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0342/PO-2026-42398.docx", "documents/CASE_0342/GRN-83767.jpg", "documents/CASE_0342/INV-APX-95450.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42398\", \"order_date\": \"05/05/2026\", \"expected_delivery\": \"05/15/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}], \"subtotal\": 4610.0, \"tax_rate\": 0.0825, \"tax\": 380.33, \"freight\": 0.0, \"total\": 4990.33, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83767\", \"po_number\": \"PO-2026-42398\", \"received_date\": \"19-May-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-122484\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-122484\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-95450\", \"po_number\": \"PO-2026-42398\", \"grn_ref\": \"GRN-83767\", \"invoice_date\": \"2026-05-21\", \"due_date\": \"2026-06-05\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}], \"subtotal\": 4610.0, \"tax_rate\": 0.0825, \"tax\": 380.33, \"freight\": 0.0, \"total\": 4990.33, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42398 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0345", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-42419", "grn_number": "GRN-83797", "invoice_number": "PKR-95486", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2735.0, "po_tax": 225.64, "po_freight": 0.0, "po_total": 2960.64, "invoice_subtotal": 2791.75, "invoice_tax": 230.32, "invoice_freight": 0.0, "invoice_total": 3022.07, "total_variance": 61.43, "num_documents": 3, "po_file": "documents/CASE_0345/PO-2026-42419.docx", "grn_file": "documents/CASE_0345/GRN-83797.pdf", "invoice_file": "documents/CASE_0345/PKR-95486.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0345/PO-2026-42419.docx", "documents/CASE_0345/GRN-83797.pdf", "documents/CASE_0345/PKR-95486.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $87.35 exceeds contracted PO unit price $76.00 for PKG-3025.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"PKG-3025\", \"po_unit_price\": 76.0, \"invoice_unit_price\": 87.35, \"qty\": 5, \"variance_amount\": 56.75, \"note\": \"Invoice unit price $87.35 exceeds contracted PO unit price $76.00 for PKG-3025.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42419\", \"order_date\": \"Mar 23, 2026\", \"expected_delivery\": \"Apr 02, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 15, \"unit_price\": 145.0, \"line_total\": 2175.0}], \"subtotal\": 2735.0, \"tax_rate\": 0.0825, \"tax\": 225.64, \"freight\": 0.0, \"total\": 2960.64, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83797\", \"po_number\": \"PO-2026-42419\", \"received_date\": \"03/27/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-623142\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-623142\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-95486\", \"po_number\": \"PO-2026-42419\", \"grn_ref\": \"GRN-83797\", \"invoice_date\": \"28-Mar-2026\", \"due_date\": \"12-Apr-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 87.35, \"line_total\": 436.75}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 15, \"unit_price\": 145.0, \"line_total\": 2175.0}], \"subtotal\": 2791.75, \"tax_rate\": 0.0825, \"tax\": 230.32, \"freight\": 0.0, \"total\": 3022.07, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42419 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0348", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42439", "grn_number": "GRN-83836", "invoice_number": "NSI-95527", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 23025.0, "po_tax": 1899.56, "po_freight": 0.0, "po_total": 24924.56, "invoice_subtotal": 23025.0, "invoice_tax": 1899.56, "invoice_freight": 0.0, "invoice_total": 24924.56, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0348/PO-2026-42439.docx", "grn_file": "documents/CASE_0348/GRN-83836.jpg", "invoice_file": "documents/CASE_0348/NSI-95527.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0348/PO-2026-42439.docx", "documents/CASE_0348/GRN-83836.jpg", "documents/CASE_0348/NSI-95527.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42439\", \"order_date\": \"2026-04-12\", \"expected_delivery\": \"2026-04-22\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 690.0, \"line_total\": 8280.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 1180.0, \"line_total\": 11800.0}], \"subtotal\": 23025.0, \"tax_rate\": 0.0825, \"tax\": 1899.56, \"freight\": 0.0, \"total\": 24924.56, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83836\", \"po_number\": \"PO-2026-42439\", \"received_date\": \"Apr 20, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-338466\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-338466\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-95527\", \"po_number\": \"PO-2026-42439\", \"grn_ref\": \"GRN-83836\", \"invoice_date\": \"04/26/2026\", \"due_date\": \"06/10/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 690.0, \"line_total\": 8280.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 1180.0, \"line_total\": 11800.0}], \"subtotal\": 23025.0, \"tax_rate\": 0.0825, \"tax\": 1899.56, \"freight\": 0.0, \"total\": 24924.56, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42439 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0351", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-42459", "grn_number": "GRN-83867", "invoice_number": "NSI-95567", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 6216.0, "po_tax": 450.66, "po_freight": 0.0, "po_total": 6666.66, "invoice_subtotal": 6216.0, "invoice_tax": 450.66, "invoice_freight": 0.0, "invoice_total": 6666.66, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0351/PO-2026-42459.docx", "grn_file": "documents/CASE_0351/GRN-83867.pdf", "invoice_file": "documents/CASE_0351/NSI-95567.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0351/PO-2026-42459.docx", "documents/CASE_0351/GRN-83867.pdf", "documents/CASE_0351/NSI-95567.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'NorthStar Enterprise IT Solutions' (Tax ID 54-3019284), but Invoice billed by 'Corrugated & PackRight Materials' (Tax ID 62-4481029).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-42459\", \"invoice_po_ref\": \"PO-2026-42459\", \"po_vendor\": \"NorthStar Enterprise IT Solutions\", \"invoice_vendor\": \"Corrugated & PackRight Materials\", \"note\": \"Vendor entity mismatch: PO issued to 'NorthStar Enterprise IT Solutions' (Tax ID 54-3019284), but Invoice billed by 'Corrugated & PackRight Materials' (Tax ID 62-4481029).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42459\", \"order_date\": \"21-Jun-2026\", \"expected_delivery\": \"01-Jul-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}], \"subtotal\": 6216.0, \"tax_rate\": 0.0725, \"tax\": 450.66, \"freight\": 0.0, \"total\": 6666.66, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83867\", \"po_number\": \"PO-2026-42459\", \"received_date\": \"2026-06-29\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-937818\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-937818\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-95567\", \"po_number\": \"PO-2026-42459\", \"grn_ref\": \"GRN-83867\", \"invoice_date\": \"Jun 30, 2026\", \"due_date\": \"Aug 14, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}], \"subtotal\": 6216.0, \"tax_rate\": 0.0725, \"tax\": 450.66, \"freight\": 0.0, \"total\": 6666.66, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42459 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0354", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-42482", "grn_number": "GRN-83901", "invoice_number": "KWS-95608", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 15200.0, "po_tax": 1102.0, "po_freight": 0.0, "po_total": 16302.0, "invoice_subtotal": 15200.0, "invoice_tax": 1102.0, "invoice_freight": 8.73, "invoice_total": 16310.73, "total_variance": 8.73, "num_documents": 3, "po_file": "documents/CASE_0354/PO-2026-42482.docx", "grn_file": "documents/CASE_0354/GRN-83901.jpg", "invoice_file": "documents/CASE_0354/KWS-95608.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0354/PO-2026-42482.docx", "documents/CASE_0354/GRN-83901.jpg", "documents/CASE_0354/KWS-95608.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $8.73 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 8.73, \"variance_amount\": 8.73, \"note\": \"Prepaid & Add shipping fee of $8.73 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42482\", \"order_date\": \"03/28/2026\", \"expected_delivery\": \"04/07/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}], \"subtotal\": 15200.0, \"tax_rate\": 0.0725, \"tax\": 1102.0, \"freight\": 0.0, \"total\": 16302.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-83901\", \"po_number\": \"PO-2026-42482\", \"received_date\": \"01-Apr-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-559891\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-559891\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-95608\", \"po_number\": \"PO-2026-42482\", \"grn_ref\": \"GRN-83901\", \"invoice_date\": \"2026-04-05\", \"due_date\": \"2026-05-20\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}], \"subtotal\": 15200.0, \"tax_rate\": 0.0725, \"tax\": 1102.0, \"freight\": 8.73, \"total\": 16310.73, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42482 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0376", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-42635", "grn_number": "", "invoice_number": "VEP-95890", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 12015.0, "po_tax": 961.2, "po_freight": 0.0, "po_total": 12976.2, "invoice_subtotal": 12015.0, "invoice_tax": 961.2, "invoice_freight": 0.0, "invoice_total": 12976.2, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0376/PO-2026-42635.pdf", "grn_file": "", "invoice_file": "documents/CASE_0376/VEP-95890.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0376/PO-2026-42635.pdf", "documents/CASE_0376/VEP-95890.docx"], "file_formats": ["pdf", "docx"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-42635\", \"invoice_number\": \"VEP-95890\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42635\", \"order_date\": \"2026-01-14\", \"expected_delivery\": \"2026-01-24\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 12015.0, \"tax_rate\": 0.08, \"tax\": 961.2, \"freight\": 0.0, \"total\": 12976.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-95890\", \"po_number\": \"PO-2026-42635\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"01/23/2026\", \"due_date\": \"02/07/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 12015.0, \"tax_rate\": 0.08, \"tax\": 961.2, \"freight\": 0.0, \"total\": 12976.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42635 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0387", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-42710", "grn_number": "GRN-84264", "invoice_number": "INV-APX-96035", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 14666.0, "po_tax": 879.96, "po_freight": 0.0, "po_total": 15545.96, "invoice_subtotal": 14666.0, "invoice_tax": 879.96, "invoice_freight": 0.0, "invoice_total": 15545.96, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0387/PO-2026-42710.docx", "grn_file": "documents/CASE_0387/GRN-84264.pdf", "invoice_file": "documents/CASE_0387/INV-APX-96035.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0387/PO-2026-42710.docx", "documents/CASE_0387/GRN-84264.pdf", "documents/CASE_0387/INV-APX-96035.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 20 units for IND-4418, but warehouse only received 13 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"IND-4418\", \"po_qty\": 20, \"received_qty\": 13, \"invoiced_qty\": 20, \"overbilled_qty\": 7, \"variance_amount\": 297.5, \"note\": \"Vendor billed 20 units for IND-4418, but warehouse only received 13 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42710\", \"order_date\": \"18-Mar-2026\", \"expected_delivery\": \"28-Mar-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 14666.0, \"tax_rate\": 0.06, \"tax\": 879.96, \"freight\": 0.0, \"total\": 15545.96, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84264\", \"po_number\": \"PO-2026-42710\", \"received_date\": \"2026-03-28\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-321569\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 13, \"qty_accepted\": 13, \"qty_rejected\": 0, \"condition\": \"Short 7 BOX (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 13 of 20 on IND-4418 (short 7 BOX). - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-321569\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-96035\", \"po_number\": \"PO-2026-42710\", \"grn_ref\": \"GRN-84264\", \"invoice_date\": \"Apr 01, 2026\", \"due_date\": \"May 01, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 14666.0, \"tax_rate\": 0.06, \"tax\": 879.96, \"freight\": 0.0, \"total\": 15545.96, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42710 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0389", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42728", "grn_number": "GRN-84288", "invoice_number": "INV-APX-96061", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 8817.0, "po_tax": 529.02, "po_freight": 50.0, "po_total": 9396.02, "invoice_subtotal": 8817.0, "invoice_tax": 529.02, "invoice_freight": 50.0, "invoice_total": 9396.02, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0389/PO-2026-42728.png", "grn_file": "documents/CASE_0389/GRN-84288.docx", "invoice_file": "documents/CASE_0389/INV-APX-96061.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0389/PO-2026-42728.png", "documents/CASE_0389/GRN-84288.docx", "documents/CASE_0389/INV-APX-96061.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42728\", \"order_date\": \"Feb 25, 2026\", \"expected_delivery\": \"Mar 07, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}], \"subtotal\": 8817.0, \"tax_rate\": 0.06, \"tax\": 529.02, \"freight\": 50.0, \"total\": 9396.02, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84288\", \"po_number\": \"PO-2026-42728\", \"received_date\": \"03/06/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-991613\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-991613\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-96061\", \"po_number\": \"PO-2026-42728\", \"grn_ref\": \"GRN-84288\", \"invoice_date\": \"06-Mar-2026\", \"due_date\": \"21-Mar-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}], \"subtotal\": 8817.0, \"tax_rate\": 0.06, \"tax\": 529.02, \"freight\": 50.0, \"total\": 9396.02, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42728 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0392", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-42747", "grn_number": "", "invoice_number": "KWS-96099", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 10250.0, "po_tax": 820.0, "po_freight": 0.0, "po_total": 11070.0, "invoice_subtotal": 10250.0, "invoice_tax": 820.0, "invoice_freight": 0.0, "invoice_total": 11070.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0392/PO-2026-42747.jpg", "grn_file": "", "invoice_file": "documents/CASE_0392/KWS-96099.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0392/PO-2026-42747.jpg", "documents/CASE_0392/KWS-96099.docx"], "file_formats": ["jpg", "docx"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-42747\", \"invoice_number\": \"KWS-96099\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42747\", \"order_date\": \"2026-01-23\", \"expected_delivery\": \"2026-02-02\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}], \"subtotal\": 10250.0, \"tax_rate\": 0.08, \"tax\": 820.0, \"freight\": 0.0, \"total\": 11070.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-96099\", \"po_number\": \"PO-2026-42747\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"02/01/2026\", \"due_date\": \"03/18/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}], \"subtotal\": 10250.0, \"tax_rate\": 0.08, \"tax\": 820.0, \"freight\": 0.0, \"total\": 11070.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42747 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0395", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42767", "grn_number": "GRN-84346", "invoice_number": "INV-APX-96140", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 8415.5, "po_tax": 0.0, "po_freight": 0.0, "po_total": 8415.5, "invoice_subtotal": 8415.5, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 8415.5, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0395/PO-2026-42767.png", "grn_file": "documents/CASE_0395/GRN-84346.docx", "invoice_file": "documents/CASE_0395/INV-APX-96140.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0395/PO-2026-42767.png", "documents/CASE_0395/GRN-84346.docx", "documents/CASE_0395/INV-APX-96140.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42767\", \"order_date\": \"15-May-2026\", \"expected_delivery\": \"25-May-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 12, \"unit_price\": 34.0, \"line_total\": 408.0}], \"subtotal\": 8415.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8415.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84346\", \"po_number\": \"PO-2026-42767\", \"received_date\": \"2026-05-22\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-678788\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-678788\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-96140\", \"po_number\": \"PO-2026-42767\", \"grn_ref\": \"GRN-84346\", \"invoice_date\": \"May 27, 2026\", \"due_date\": \"Jun 11, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 12, \"unit_price\": 34.0, \"line_total\": 408.0}], \"subtotal\": 8415.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8415.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42767 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0400", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-42801", "grn_number": "GRN-84402", "invoice_number": "SSP-96204", "duplicate_invoice_number": "SSP-96204-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 6734.0, "po_tax": 555.56, "po_freight": 0.0, "po_total": 7289.56, "invoice_subtotal": 6734.0, "invoice_tax": 555.56, "invoice_freight": 0.0, "invoice_total": 7289.56, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0400/PO-2026-42801.pdf", "grn_file": "documents/CASE_0400/GRN-84402.jpg", "invoice_file": "documents/CASE_0400/SSP-96204.docx", "duplicate_invoice_file": "documents/CASE_0400/SSP-96204-R1.jpg", "file_paths": ["documents/CASE_0400/PO-2026-42801.pdf", "documents/CASE_0400/GRN-84402.jpg", "documents/CASE_0400/SSP-96204.docx", "documents/CASE_0400/SSP-96204-R1.jpg"], "file_formats": ["pdf", "jpg", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'SSP-96204' and 'SSP-96204-R1' bill $7289.56 against single receipt 'GRN-84402' / PO 'PO-2026-42801'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"SSP-96204\", \"duplicate_invoice_number\": \"SSP-96204-R1\", \"duplicate_billed_amount\": 7289.56, \"variance_amount\": 7289.56, \"note\": \"Duplicate billing detected: both 'SSP-96204' and 'SSP-96204-R1' bill $7289.56 against single receipt 'GRN-84402' / PO 'PO-2026-42801'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42801\", \"order_date\": \"2026-09-24\", \"expected_delivery\": \"2026-10-04\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}], \"subtotal\": 6734.0, \"tax_rate\": 0.0825, \"tax\": 555.56, \"freight\": 0.0, \"total\": 7289.56, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84402\", \"po_number\": \"PO-2026-42801\", \"received_date\": \"Oct 05, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-268210\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-268210\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-96204\", \"po_number\": \"PO-2026-42801\", \"grn_ref\": \"GRN-84402\", \"invoice_date\": \"10/11/2026\", \"due_date\": \"11/25/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}], \"subtotal\": 6734.0, \"tax_rate\": 0.0825, \"tax\": 555.56, \"freight\": 0.0, \"total\": 7289.56, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42801 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"SSP-96204-R1\", \"po_number\": \"PO-2026-42801\", \"grn_ref\": \"GRN-84402\", \"invoice_date\": \"10/16/2026\", \"due_date\": \"11/30/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}], \"subtotal\": 6734.0, \"tax_rate\": 0.0825, \"tax\": 555.56, \"freight\": 0.0, \"total\": 7289.56, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-268210. Please remit to lockbox.\"}}"} {"case_id": "CASE_0403", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-42826", "grn_number": "GRN-84441", "invoice_number": "KWS-96243", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 11520.0, "po_tax": 835.2, "po_freight": 0.0, "po_total": 12355.2, "invoice_subtotal": 11290.0, "invoice_tax": 818.53, "invoice_freight": 0.0, "invoice_total": 12108.53, "total_variance": -246.67, "num_documents": 3, "po_file": "documents/CASE_0403/PO-2026-42826.pdf", "grn_file": "documents/CASE_0403/GRN-84441.docx", "invoice_file": "documents/CASE_0403/KWS-96243.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0403/PO-2026-42826.pdf", "documents/CASE_0403/GRN-84441.docx", "documents/CASE_0403/KWS-96243.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 6/8 units received and accurately billed; keep PO open for remaining 2 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"FRN-6159\", \"po_qty\": 8, \"received_qty\": 6, \"invoiced_qty\": 6, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 6/8 units received and accurately billed; keep PO open for remaining 2 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42826\", \"order_date\": \"08-Mar-2026\", \"expected_delivery\": \"18-Mar-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 210.0, \"line_total\": 4200.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}], \"subtotal\": 11520.0, \"tax_rate\": 0.0725, \"tax\": 835.2, \"freight\": 0.0, \"total\": 12355.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84441\", \"po_number\": \"PO-2026-42826\", \"received_date\": \"2026-03-20\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-888432\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 6, \"qty_accepted\": 6, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (2 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (6/8 FRN-6159). Balance on BO. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-888432\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-96243\", \"po_number\": \"PO-2026-42826\", \"grn_ref\": \"GRN-84441\", \"invoice_date\": \"Mar 21, 2026\", \"due_date\": \"Apr 20, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 210.0, \"line_total\": 4200.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 6, \"unit_price\": 115.0, \"line_total\": 690.0}], \"subtotal\": 11290.0, \"tax_rate\": 0.0725, \"tax\": 818.53, \"freight\": 0.0, \"total\": 12108.53, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42826 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0418", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-42928", "grn_number": "GRN-84602", "invoice_number": "VEP-96443", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 14700.0, "po_tax": 1176.0, "po_freight": 0.0, "po_total": 15876.0, "invoice_subtotal": 14700.0, "invoice_tax": 1176.0, "invoice_freight": 0.0, "invoice_total": 15876.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0418/PO-2026-42928.pdf", "grn_file": "documents/CASE_0418/GRN-84602.jpg", "invoice_file": "documents/CASE_0418/VEP-96443.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0418/PO-2026-42928.pdf", "documents/CASE_0418/GRN-84602.jpg", "documents/CASE_0418/VEP-96443.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42928\", \"order_date\": \"06/25/2026\", \"expected_delivery\": \"07/05/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}], \"subtotal\": 14700.0, \"tax_rate\": 0.08, \"tax\": 1176.0, \"freight\": 0.0, \"total\": 15876.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84602\", \"po_number\": \"PO-2026-42928\", \"received_date\": \"06-Jul-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-908251\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-908251\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-96443\", \"po_number\": \"PO-2026-42928\", \"grn_ref\": \"GRN-84602\", \"invoice_date\": \"2026-07-11\", \"due_date\": \"2026-08-25\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}], \"subtotal\": 14700.0, \"tax_rate\": 0.08, \"tax\": 1176.0, \"freight\": 0.0, \"total\": 15876.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42928 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0419", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-42935", "grn_number": "GRN-84614", "invoice_number": "NSI-96455", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 4590.0, "po_tax": 275.4, "po_freight": 0.0, "po_total": 4865.4, "invoice_subtotal": 4650.1, "invoice_tax": 279.01, "invoice_freight": 0.0, "invoice_total": 4929.11, "total_variance": 63.71, "num_documents": 3, "po_file": "documents/CASE_0419/PO-2026-42935.png", "grn_file": "documents/CASE_0419/GRN-84614.docx", "invoice_file": "documents/CASE_0419/NSI-96455.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0419/PO-2026-42935.png", "documents/CASE_0419/GRN-84614.docx", "documents/CASE_0419/NSI-96455.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $70.02 exceeds contracted PO unit price $58.00 for IT-8840.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"IT-8840\", \"po_unit_price\": 58.0, \"invoice_unit_price\": 70.02, \"qty\": 5, \"variance_amount\": 60.1, \"note\": \"Invoice unit price $70.02 exceeds contracted PO unit price $58.00 for IT-8840.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42935\", \"order_date\": \"21-Sep-2026\", \"expected_delivery\": \"01-Oct-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 5, \"unit_price\": 58.0, \"line_total\": 290.0}], \"subtotal\": 4590.0, \"tax_rate\": 0.06, \"tax\": 275.4, \"freight\": 0.0, \"total\": 4865.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84614\", \"po_number\": \"PO-2026-42935\", \"received_date\": \"2026-10-05\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-467624\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-467624\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-96455\", \"po_number\": \"PO-2026-42935\", \"grn_ref\": \"GRN-84614\", \"invoice_date\": \"Oct 06, 2026\", \"due_date\": \"Oct 21, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 5, \"unit_price\": 70.02, \"line_total\": 350.1}], \"subtotal\": 4650.1, \"tax_rate\": 0.06, \"tax\": 279.01, \"freight\": 0.0, \"total\": 4929.11, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42935 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0421", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-42952", "grn_number": "GRN-84639", "invoice_number": "PKR-96481", "duplicate_invoice_number": "PKR-99421", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 5880.0, "po_tax": 352.8, "po_freight": 0.0, "po_total": 6232.8, "invoice_subtotal": 5880.0, "invoice_tax": 352.8, "invoice_freight": 0.0, "invoice_total": 6232.8, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0421/PO-2026-42952.pdf", "grn_file": "documents/CASE_0421/GRN-84639.docx", "invoice_file": "documents/CASE_0421/PKR-96481.png", "duplicate_invoice_file": "documents/CASE_0421/PKR-99421.jpg", "file_paths": ["documents/CASE_0421/PO-2026-42952.pdf", "documents/CASE_0421/GRN-84639.docx", "documents/CASE_0421/PKR-96481.png", "documents/CASE_0421/PKR-99421.jpg"], "file_formats": ["pdf", "docx", "png", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PKR-96481' and 'PKR-99421' bill $6232.80 against single receipt 'GRN-84639' / PO 'PO-2026-42952'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PKR-96481\", \"duplicate_invoice_number\": \"PKR-99421\", \"duplicate_billed_amount\": 6232.8, \"variance_amount\": 6232.8, \"note\": \"Duplicate billing detected: both 'PKR-96481' and 'PKR-99421' bill $6232.80 against single receipt 'GRN-84639' / PO 'PO-2026-42952'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42952\", \"order_date\": \"Jan 16, 2026\", \"expected_delivery\": \"Jan 26, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}], \"subtotal\": 5880.0, \"tax_rate\": 0.06, \"tax\": 352.8, \"freight\": 0.0, \"total\": 6232.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84639\", \"po_number\": \"PO-2026-42952\", \"received_date\": \"01/24/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-534661\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-534661\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-96481\", \"po_number\": \"PO-2026-42952\", \"grn_ref\": \"GRN-84639\", \"invoice_date\": \"25-Jan-2026\", \"due_date\": \"24-Feb-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}], \"subtotal\": 5880.0, \"tax_rate\": 0.06, \"tax\": 352.8, \"freight\": 0.0, \"total\": 6232.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42952 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PKR-99421\", \"po_number\": \"PO-2026-42952\", \"grn_ref\": \"GRN-84639\", \"invoice_date\": \"03-Feb-2026\", \"due_date\": \"05-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}], \"subtotal\": 5880.0, \"tax_rate\": 0.06, \"tax\": 352.8, \"freight\": 0.0, \"total\": 6232.8, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-534661. Please remit to lockbox.\"}}"} {"case_id": "CASE_0424", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-42970", "grn_number": "GRN-84665", "invoice_number": "VEP-96520", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 29684.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 29684.0, "invoice_subtotal": 29819.84, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 29819.84, "total_variance": 135.84, "num_documents": 3, "po_file": "documents/CASE_0424/PO-2026-42970.pdf", "grn_file": "documents/CASE_0424/GRN-84665.jpg", "invoice_file": "documents/CASE_0424/VEP-96520.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0424/PO-2026-42970.pdf", "documents/CASE_0424/GRN-84665.jpg", "documents/CASE_0424/VEP-96520.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $34.16 exceeds contracted PO unit price $28.50 for ELC-7283.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"ELC-7283\", \"po_unit_price\": 28.5, \"invoice_unit_price\": 34.16, \"qty\": 24, \"variance_amount\": 135.84, \"note\": \"Invoice unit price $34.16 exceeds contracted PO unit price $28.50 for ELC-7283.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42970\", \"order_date\": \"2026-04-02\", \"expected_delivery\": \"2026-04-12\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}], \"subtotal\": 29684.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 29684.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84665\", \"po_number\": \"PO-2026-42970\", \"received_date\": \"Apr 09, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-864062\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-864062\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-96520\", \"po_number\": \"PO-2026-42970\", \"grn_ref\": \"GRN-84665\", \"invoice_date\": \"04/10/2026\", \"due_date\": \"05/10/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 34.16, \"line_total\": 819.84}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}], \"subtotal\": 29819.84, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 29819.84, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42970 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0426", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-42987", "grn_number": "GRN-84689", "invoice_number": "VEP-96546", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 9435.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 9435.0, "invoice_subtotal": 9435.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 9435.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0426/PO-2026-42987.docx", "grn_file": "documents/CASE_0426/GRN-84689.jpg", "invoice_file": "documents/CASE_0426/VEP-96546.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0426/PO-2026-42987.docx", "documents/CASE_0426/GRN-84689.jpg", "documents/CASE_0426/VEP-96546.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "4 delivered units of ELC-7218 failed dock inspection and were rejected, but vendor billed full 15 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"ELC-7218\", \"po_qty\": 15, \"received_qty\": 15, \"accepted_qty\": 11, \"rejected_qty\": 4, \"invoiced_qty\": 15, \"variance_amount\": 356.0, \"note\": \"4 delivered units of ELC-7218 failed dock inspection and were rejected, but vendor billed full 15 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-42987\", \"order_date\": \"04/10/2026\", \"expected_delivery\": \"04/20/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}], \"subtotal\": 9435.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9435.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84689\", \"po_number\": \"PO-2026-42987\", \"received_date\": \"21-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-131815\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 11, \"qty_rejected\": 4, \"condition\": \"4 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"4 units of ELC-7218 water/crush damaged; refused & RMA requested! Accepted 11. - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-131815\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-96546\", \"po_number\": \"PO-2026-42987\", \"grn_ref\": \"GRN-84689\", \"invoice_date\": \"2026-04-26\", \"due_date\": \"2026-05-26\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}], \"subtotal\": 9435.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9435.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-42987 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0429", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-43006", "grn_number": "GRN-84721", "invoice_number": "SSP-96581", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 6859.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 6954.0, "invoice_subtotal": 6859.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 6954.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0429/PO-2026-43006.docx", "grn_file": "documents/CASE_0429/GRN-84721.pdf", "invoice_file": "documents/CASE_0429/SSP-96581.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0429/PO-2026-43006.docx", "documents/CASE_0429/GRN-84721.pdf", "documents/CASE_0429/SSP-96581.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "3 delivered units of IND-4503 failed dock inspection and were rejected, but vendor billed full 12 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"IND-4503\", \"po_qty\": 12, \"received_qty\": 12, \"accepted_qty\": 9, \"rejected_qty\": 3, \"invoiced_qty\": 12, \"variance_amount\": 885.0, \"note\": \"3 delivered units of IND-4503 failed dock inspection and were rejected, but vendor billed full 12 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43006\", \"order_date\": \"Mar 01, 2026\", \"expected_delivery\": \"Mar 11, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}], \"subtotal\": 6859.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 6954.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-84721\", \"po_number\": \"PO-2026-43006\", \"received_date\": \"03/12/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-619333\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 9, \"qty_rejected\": 3, \"condition\": \"3 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"3 units of IND-4503 water/crush damaged; refused & RMA requested! Accepted 9. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-619333\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-96581\", \"po_number\": \"PO-2026-43006\", \"grn_ref\": \"GRN-84721\", \"invoice_date\": \"13-Mar-2026\", \"due_date\": \"12-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}], \"subtotal\": 6859.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 6954.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43006 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0467", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-43271", "grn_number": "GRN-85139", "invoice_number": "SSP-97072", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 17200.0, "po_tax": 1032.0, "po_freight": 0.0, "po_total": 18232.0, "invoice_subtotal": 17200.0, "invoice_tax": 1032.0, "invoice_freight": 0.0, "invoice_total": 18232.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0467/PO-2026-43271.png", "grn_file": "documents/CASE_0467/GRN-85139.docx", "invoice_file": "documents/CASE_0467/SSP-97072.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0467/PO-2026-43271.png", "documents/CASE_0467/GRN-85139.docx", "documents/CASE_0467/SSP-97072.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43271\", \"order_date\": \"10-Sep-2026\", \"expected_delivery\": \"20-Sep-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}], \"subtotal\": 17200.0, \"tax_rate\": 0.06, \"tax\": 1032.0, \"freight\": 0.0, \"total\": 18232.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85139\", \"po_number\": \"PO-2026-43271\", \"received_date\": \"2026-09-20\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-269864\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-269864\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-97072\", \"po_number\": \"PO-2026-43271\", \"grn_ref\": \"GRN-85139\", \"invoice_date\": \"Sep 24, 2026\", \"due_date\": \"Oct 24, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}], \"subtotal\": 17200.0, \"tax_rate\": 0.06, \"tax\": 1032.0, \"freight\": 0.0, \"total\": 18232.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43271 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0470", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-43292", "grn_number": "GRN-85171", "invoice_number": "PKR-97116", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 7795.0, "po_tax": 565.14, "po_freight": 0.0, "po_total": 8360.14, "invoice_subtotal": 7795.0, "invoice_tax": 565.14, "invoice_freight": 0.0, "invoice_total": 8360.14, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0470/PO-2026-43292.jpg", "grn_file": "documents/CASE_0470/GRN-85171.pdf", "invoice_file": "documents/CASE_0470/PKR-97116.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0470/PO-2026-43292.jpg", "documents/CASE_0470/GRN-85171.pdf", "documents/CASE_0470/PKR-97116.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 15 units for PKG-3010, but warehouse only received 11 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"PKG-3010\", \"po_qty\": 15, \"received_qty\": 11, \"invoiced_qty\": 15, \"overbilled_qty\": 4, \"variance_amount\": 580.0, \"note\": \"Vendor billed 15 units for PKG-3010, but warehouse only received 11 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43292\", \"order_date\": \"01/25/2026\", \"expected_delivery\": \"02/04/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 22.5, \"line_total\": 900.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1520.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 15, \"unit_price\": 145.0, \"line_total\": 2175.0}], \"subtotal\": 7795.0, \"tax_rate\": 0.0725, \"tax\": 565.14, \"freight\": 0.0, \"total\": 8360.14, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85171\", \"po_number\": \"PO-2026-43292\", \"received_date\": \"04-Feb-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-390863\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 15, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Short 4 BDL (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 11 of 15 on PKG-3010 (short 4 BDL). - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-390863\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-97116\", \"po_number\": \"PO-2026-43292\", \"grn_ref\": \"GRN-85171\", \"invoice_date\": \"2026-02-04\", \"due_date\": \"2026-03-06\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 22.5, \"line_total\": 900.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1520.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 15, \"unit_price\": 145.0, \"line_total\": 2175.0}], \"subtotal\": 7795.0, \"tax_rate\": 0.0725, \"tax\": 565.14, \"freight\": 0.0, \"total\": 8360.14, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43292 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0472", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-43306", "grn_number": "GRN-85198", "invoice_number": "PKR-97139", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 9475.0, "po_tax": 758.0, "po_freight": 0.0, "po_total": 10233.0, "invoice_subtotal": 9475.0, "invoice_tax": 758.0, "invoice_freight": 0.0, "invoice_total": 10233.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0472/PO-2026-43306.pdf", "grn_file": "documents/CASE_0472/GRN-85198.jpg", "invoice_file": "documents/CASE_0472/PKR-97139.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0472/PO-2026-43306.pdf", "documents/CASE_0472/GRN-85198.jpg", "documents/CASE_0472/PKR-97139.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43306\", \"order_date\": \"2026-03-11\", \"expected_delivery\": \"2026-03-21\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 64.0, \"line_total\": 960.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}], \"subtotal\": 9475.0, \"tax_rate\": 0.08, \"tax\": 758.0, \"freight\": 0.0, \"total\": 10233.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85198\", \"po_number\": \"PO-2026-43306\", \"received_date\": \"Mar 19, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-778929\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-778929\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-97139\", \"po_number\": \"PO-2026-43306\", \"grn_ref\": \"GRN-85198\", \"invoice_date\": \"03/24/2026\", \"due_date\": \"04/23/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 64.0, \"line_total\": 960.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}], \"subtotal\": 9475.0, \"tax_rate\": 0.08, \"tax\": 758.0, \"freight\": 0.0, \"total\": 10233.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43306 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0478", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-43347", "grn_number": "GRN-85261", "invoice_number": "TP-97216", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 3760.0, "po_tax": 272.6, "po_freight": 75.0, "po_total": 4107.6, "invoice_subtotal": 4435.0, "invoice_tax": 321.54, "invoice_freight": 75.0, "invoice_total": 4831.54, "total_variance": 723.94, "num_documents": 3, "po_file": "documents/CASE_0478/PO-2026-43347.pdf", "grn_file": "documents/CASE_0478/GRN-85261.jpg", "invoice_file": "documents/CASE_0478/TP-97216.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0478/PO-2026-43347.pdf", "documents/CASE_0478/GRN-85261.jpg", "documents/CASE_0478/TP-97216.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item LAB-2104 ($675.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 3, \"sku\": \"LAB-2104\", \"invoiced_qty\": 5, \"invoice_unit_price\": 135.0, \"variance_amount\": 675.0, \"note\": \"Invoice includes line item LAB-2104 ($675.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43347\", \"order_date\": \"07/24/2026\", \"expected_delivery\": \"08/03/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}], \"subtotal\": 3760.0, \"tax_rate\": 0.0725, \"tax\": 272.6, \"freight\": 75.0, \"total\": 4107.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85261\", \"po_number\": \"PO-2026-43347\", \"received_date\": \"02-Aug-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-745346\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-745346\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-97216\", \"po_number\": \"PO-2026-43347\", \"grn_ref\": \"GRN-85261\", \"invoice_date\": \"2026-08-02\", \"due_date\": \"2026-09-01\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}], \"subtotal\": 4435.0, \"tax_rate\": 0.0725, \"tax\": 321.54, \"freight\": 75.0, \"total\": 4831.54, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43347 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0484", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-43389", "grn_number": "GRN-85331", "invoice_number": "NSI-97297", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 17326.0, "po_tax": 1256.14, "po_freight": 50.0, "po_total": 18632.14, "invoice_subtotal": 17152.0, "invoice_tax": 1243.52, "invoice_freight": 50.0, "invoice_total": 18445.52, "total_variance": -186.62, "num_documents": 3, "po_file": "documents/CASE_0484/PO-2026-43389.pdf", "grn_file": "documents/CASE_0484/GRN-85331.jpg", "invoice_file": "documents/CASE_0484/NSI-97297.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0484/PO-2026-43389.pdf", "documents/CASE_0484/GRN-85331.jpg", "documents/CASE_0484/NSI-97297.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 9/12 units received and accurately billed; keep PO open for remaining 3 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 1, \"sku\": \"IT-8840\", \"po_qty\": 12, \"received_qty\": 9, \"invoiced_qty\": 9, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 9/12 units received and accurately billed; keep PO open for remaining 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43389\", \"order_date\": \"2026-05-26\", \"expected_delivery\": \"2026-06-05\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 215.0, \"line_total\": 10750.0}], \"subtotal\": 17326.0, \"tax_rate\": 0.0725, \"tax\": 1256.14, \"freight\": 50.0, \"total\": 18632.14, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85331\", \"po_number\": \"PO-2026-43389\", \"received_date\": \"Jun 01, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-513557\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 9, \"qty_accepted\": 9, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (3 PK remaining)\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (9/12 IT-8840). Balance on BO. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-513557\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-97297\", \"po_number\": \"PO-2026-43389\", \"grn_ref\": \"GRN-85331\", \"invoice_date\": \"06/02/2026\", \"due_date\": \"07/02/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 9, \"unit_price\": 58.0, \"line_total\": 522.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 215.0, \"line_total\": 10750.0}], \"subtotal\": 17152.0, \"tax_rate\": 0.0725, \"tax\": 1243.52, \"freight\": 50.0, \"total\": 18445.52, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43389 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0490", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-43431", "grn_number": "GRN-85392", "invoice_number": "SSP-97371", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5700.0, "po_tax": 456.0, "po_freight": 35.0, "po_total": 6191.0, "invoice_subtotal": 4812.0, "invoice_tax": 384.96, "invoice_freight": 35.0, "invoice_total": 5231.96, "total_variance": -959.04, "num_documents": 3, "po_file": "documents/CASE_0490/PO-2026-43431.pdf", "grn_file": "documents/CASE_0490/GRN-85392.jpg", "invoice_file": "documents/CASE_0490/SSP-97371.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0490/PO-2026-43431.pdf", "documents/CASE_0490/GRN-85392.jpg", "documents/CASE_0490/SSP-97371.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 14/20 units received and accurately billed; keep PO open for remaining 6 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"IND-4520\", \"po_qty\": 20, \"received_qty\": 14, \"invoiced_qty\": 14, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 14/20 units received and accurately billed; keep PO open for remaining 6 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43431\", \"order_date\": \"05/13/2026\", \"expected_delivery\": \"05/23/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}], \"subtotal\": 5700.0, \"tax_rate\": 0.08, \"tax\": 456.0, \"freight\": 35.0, \"total\": 6191.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85392\", \"po_number\": \"PO-2026-43431\", \"received_date\": \"24-May-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-716230\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 14, \"qty_accepted\": 14, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (6 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (14/20 IND-4520). Balance on BO. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-716230\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-97371\", \"po_number\": \"PO-2026-43431\", \"grn_ref\": \"GRN-85392\", \"invoice_date\": \"2026-05-25\", \"due_date\": \"2026-06-24\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 14, \"unit_price\": 148.0, \"line_total\": 2072.0}], \"subtotal\": 4812.0, \"tax_rate\": 0.08, \"tax\": 384.96, \"freight\": 35.0, \"total\": 5231.96, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43431 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0498", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-43487", "grn_number": "GRN-85484", "invoice_number": "SSP-97480", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 13300.0, "po_tax": 1064.0, "po_freight": 35.0, "po_total": 14399.0, "invoice_subtotal": 13855.0, "invoice_tax": 1108.4, "invoice_freight": 35.0, "invoice_total": 14998.4, "total_variance": 599.4, "num_documents": 3, "po_file": "documents/CASE_0498/PO-2026-43487.docx", "grn_file": "documents/CASE_0498/GRN-85484.jpg", "invoice_file": "documents/CASE_0498/SSP-97480.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0498/PO-2026-43487.docx", "documents/CASE_0498/GRN-85484.jpg", "documents/CASE_0498/SSP-97480.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 4, \"sku\": \"IND-4401\", \"po_qty\": 8, \"received_qty\": 11, \"invoiced_qty\": 11, \"over_qty\": 3, \"variance_amount\": 555.0, \"note\": \"Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43487\", \"order_date\": \"08/29/2026\", \"expected_delivery\": \"09/08/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 148.0, \"line_total\": 7400.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}], \"subtotal\": 13300.0, \"tax_rate\": 0.08, \"tax\": 1064.0, \"freight\": 35.0, \"total\": 14399.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85484\", \"po_number\": \"PO-2026-43487\", \"received_date\": \"05-Sep-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-535718\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 11 (3 extra over PO) on IND-4401. Held in quarantine. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-535718\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-97480\", \"po_number\": \"PO-2026-43487\", \"grn_ref\": \"GRN-85484\", \"invoice_date\": \"2026-09-05\", \"due_date\": \"2026-10-20\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 148.0, \"line_total\": 7400.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 11, \"unit_price\": 185.0, \"line_total\": 2035.0}], \"subtotal\": 13855.0, \"tax_rate\": 0.08, \"tax\": 1108.4, \"freight\": 35.0, \"total\": 14998.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43487 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0500", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-43505", "grn_number": "GRN-85502", "invoice_number": "VEP-97504", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 22976.0, "po_tax": 1895.52, "po_freight": 0.0, "po_total": 24871.52, "invoice_subtotal": 14876.0, "invoice_tax": 1227.27, "invoice_freight": 0.0, "invoice_total": 16103.27, "total_variance": -8768.25, "num_documents": 3, "po_file": "documents/CASE_0500/PO-2026-43505.jpg", "grn_file": "documents/CASE_0500/GRN-85502.pdf", "invoice_file": "documents/CASE_0500/VEP-97504.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0500/PO-2026-43505.jpg", "documents/CASE_0500/GRN-85502.pdf", "documents/CASE_0500/VEP-97504.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 25/40 units received and accurately billed; keep PO open for remaining 15 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"ELC-7244\", \"po_qty\": 40, \"received_qty\": 25, \"invoiced_qty\": 25, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 25/40 units received and accurately billed; keep PO open for remaining 15 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43505\", \"order_date\": \"2026-06-21\", \"expected_delivery\": \"2026-07-01\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 22976.0, \"tax_rate\": 0.0825, \"tax\": 1895.52, \"freight\": 0.0, \"total\": 24871.52, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85502\", \"po_number\": \"PO-2026-43505\", \"received_date\": \"Jun 26, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-151462\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 25, \"qty_accepted\": 25, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (15 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (25/40 ELC-7244). Balance on BO. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-151462\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-97504\", \"po_number\": \"PO-2026-43505\", \"grn_ref\": \"GRN-85502\", \"invoice_date\": \"06/27/2026\", \"due_date\": \"07/27/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 25, \"unit_price\": 540.0, \"line_total\": 13500.0}], \"subtotal\": 14876.0, \"tax_rate\": 0.0825, \"tax\": 1227.27, \"freight\": 0.0, \"total\": 16103.27, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43505 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0511", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-43582", "grn_number": "GRN-85629", "invoice_number": "TP-97648", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 11888.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 11963.0, "invoice_subtotal": 12158.0, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 12233.0, "total_variance": 270.0, "num_documents": 3, "po_file": "documents/CASE_0511/PO-2026-43582.pdf", "grn_file": "documents/CASE_0511/GRN-85629.docx", "invoice_file": "documents/CASE_0511/TP-97648.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0511/PO-2026-43582.pdf", "documents/CASE_0511/GRN-85629.docx", "documents/CASE_0511/TP-97648.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item LAB-2104 ($270.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"LAB-2104\", \"invoiced_qty\": 2, \"invoice_unit_price\": 135.0, \"variance_amount\": 270.0, \"note\": \"Invoice includes line item LAB-2104 ($270.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43582\", \"order_date\": \"30-Apr-2026\", \"expected_delivery\": \"10-May-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 164.0, \"line_total\": 6560.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}], \"subtotal\": 11888.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 11963.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85629\", \"po_number\": \"PO-2026-43582\", \"received_date\": \"2026-05-11\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-431067\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-431067\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-97648\", \"po_number\": \"PO-2026-43582\", \"grn_ref\": \"GRN-85629\", \"invoice_date\": \"May 14, 2026\", \"due_date\": \"Jun 13, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 164.0, \"line_total\": 6560.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 2, \"unit_price\": 135.0, \"line_total\": 270.0}], \"subtotal\": 12158.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 12233.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43582 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0514", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-43601", "grn_number": "GRN-85657", "invoice_number": "TP-97684", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 24216.0, "po_tax": 1997.82, "po_freight": 0.0, "po_total": 26213.82, "invoice_subtotal": 29276.0, "invoice_tax": 2415.27, "invoice_freight": 0.0, "invoice_total": 31691.27, "total_variance": 5477.45, "num_documents": 3, "po_file": "documents/CASE_0514/PO-2026-43601.pdf", "grn_file": "documents/CASE_0514/GRN-85657.jpg", "invoice_file": "documents/CASE_0514/TP-97684.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0514/PO-2026-43601.pdf", "documents/CASE_0514/GRN-85657.jpg", "documents/CASE_0514/TP-97684.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 51 units vs 40 ordered (+11 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"LAB-2170\", \"po_qty\": 40, \"received_qty\": 51, \"invoiced_qty\": 51, \"over_qty\": 11, \"variance_amount\": 5060.0, \"note\": \"Shipped and billed 51 units vs 40 ordered (+11 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43601\", \"order_date\": \"09/25/2026\", \"expected_delivery\": \"10/05/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}], \"subtotal\": 24216.0, \"tax_rate\": 0.0825, \"tax\": 1997.82, \"freight\": 0.0, \"total\": 26213.82, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85657\", \"po_number\": \"PO-2026-43601\", \"received_date\": \"09-Oct-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-672286\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 51, \"qty_accepted\": 51, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+11 EA over PO)\"}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 51 (11 extra over PO) on LAB-2170. Held in quarantine. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-672286\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-97684\", \"po_number\": \"PO-2026-43601\", \"grn_ref\": \"GRN-85657\", \"invoice_date\": \"2026-10-11\", \"due_date\": \"2026-11-25\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 51, \"unit_price\": 460.0, \"line_total\": 23460.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}], \"subtotal\": 29276.0, \"tax_rate\": 0.0825, \"tax\": 2415.27, \"freight\": 0.0, \"total\": 31691.27, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43601 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0517", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-43621", "grn_number": "GRN-85696", "invoice_number": "KWS-97723", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 23550.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 23645.0, "invoice_subtotal": 23895.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 23990.0, "total_variance": 345.0, "num_documents": 3, "po_file": "documents/CASE_0517/PO-2026-43621.pdf", "grn_file": "documents/CASE_0517/GRN-85696.docx", "invoice_file": "documents/CASE_0517/KWS-97723.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0517/PO-2026-43621.pdf", "documents/CASE_0517/GRN-85696.docx", "documents/CASE_0517/KWS-97723.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 3, \"sku\": \"FRN-6159\", \"po_qty\": 10, \"received_qty\": 13, \"invoiced_qty\": 13, \"over_qty\": 3, \"variance_amount\": 345.0, \"note\": \"Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43621\", \"order_date\": \"May 17, 2026\", \"expected_delivery\": \"May 27, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 385.0, \"line_total\": 19250.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 115.0, \"line_total\": 1150.0}], \"subtotal\": 23550.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 23645.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85696\", \"po_number\": \"PO-2026-43621\", \"received_date\": \"05/29/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-519124\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 13, \"qty_accepted\": 13, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 13 (3 extra over PO) on FRN-6159. Held in quarantine. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-519124\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-97723\", \"po_number\": \"PO-2026-43621\", \"grn_ref\": \"GRN-85696\", \"invoice_date\": \"30-May-2026\", \"due_date\": \"14-Jun-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 385.0, \"line_total\": 19250.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 13, \"unit_price\": 115.0, \"line_total\": 1495.0}], \"subtotal\": 23895.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 23990.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43621 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0523", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-43664", "grn_number": "GRN-85756", "invoice_number": "PKR-97808", "duplicate_invoice_number": "PKR-99523", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3830.0, "po_tax": 277.68, "po_freight": 0.0, "po_total": 4107.68, "invoice_subtotal": 3830.0, "invoice_tax": 277.68, "invoice_freight": 0.0, "invoice_total": 4107.68, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0523/PO-2026-43664.pdf", "grn_file": "documents/CASE_0523/GRN-85756.docx", "invoice_file": "documents/CASE_0523/PKR-97808.png", "duplicate_invoice_file": "documents/CASE_0523/PKR-99523.jpg", "file_paths": ["documents/CASE_0523/PO-2026-43664.pdf", "documents/CASE_0523/GRN-85756.docx", "documents/CASE_0523/PKR-97808.png", "documents/CASE_0523/PKR-99523.jpg"], "file_formats": ["pdf", "docx", "png", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PKR-97808' and 'PKR-99523' bill $4107.68 against single receipt 'GRN-85756' / PO 'PO-2026-43664'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PKR-97808\", \"duplicate_invoice_number\": \"PKR-99523\", \"duplicate_billed_amount\": 4107.68, \"variance_amount\": 4107.68, \"note\": \"Duplicate billing detected: both 'PKR-97808' and 'PKR-99523' bill $4107.68 against single receipt 'GRN-85756' / PO 'PO-2026-43664'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43664\", \"order_date\": \"18-Feb-2026\", \"expected_delivery\": \"28-Feb-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 76.0, \"line_total\": 2280.0}], \"subtotal\": 3830.0, \"tax_rate\": 0.0725, \"tax\": 277.68, \"freight\": 0.0, \"total\": 4107.68, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85756\", \"po_number\": \"PO-2026-43664\", \"received_date\": \"2026-02-23\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-662146\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-662146\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-97808\", \"po_number\": \"PO-2026-43664\", \"grn_ref\": \"GRN-85756\", \"invoice_date\": \"Feb 25, 2026\", \"due_date\": \"Mar 27, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 76.0, \"line_total\": 2280.0}], \"subtotal\": 3830.0, \"tax_rate\": 0.0725, \"tax\": 277.68, \"freight\": 0.0, \"total\": 4107.68, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43664 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PKR-99523\", \"po_number\": \"PO-2026-43664\", \"grn_ref\": \"GRN-85756\", \"invoice_date\": \"Mar 08, 2026\", \"due_date\": \"Apr 07, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 76.0, \"line_total\": 2280.0}], \"subtotal\": 3830.0, \"tax_rate\": 0.0725, \"tax\": 277.68, \"freight\": 0.0, \"total\": 4107.68, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-662146. Please remit to lockbox.\"}}"} {"case_id": "CASE_0526", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-43685", "grn_number": "GRN-85789", "invoice_number": "INV-APX-97845", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 22562.0, "po_tax": 1861.37, "po_freight": 0.0, "po_total": 24423.37, "invoice_subtotal": 22562.0, "invoice_tax": 1861.37, "invoice_freight": 0.0, "invoice_total": 24423.37, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0526/PO-2026-43685.pdf", "grn_file": "documents/CASE_0526/GRN-85789.jpg", "invoice_file": "documents/CASE_0526/INV-APX-97845.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0526/PO-2026-43685.pdf", "documents/CASE_0526/GRN-85789.jpg", "documents/CASE_0526/INV-APX-97845.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43685\", \"order_date\": \"04/13/2026\", \"expected_delivery\": \"04/23/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}], \"subtotal\": 22562.0, \"tax_rate\": 0.0825, \"tax\": 1861.37, \"freight\": 0.0, \"total\": 24423.37, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85789\", \"po_number\": \"PO-2026-43685\", \"received_date\": \"17-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-892952\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-892952\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-97845\", \"po_number\": \"PO-2026-43685\", \"grn_ref\": \"GRN-85789\", \"invoice_date\": \"2026-04-22\", \"due_date\": \"2026-05-07\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}], \"subtotal\": 22562.0, \"tax_rate\": 0.0825, \"tax\": 1861.37, \"freight\": 0.0, \"total\": 24423.37, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43685 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0528", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-43701", "grn_number": "GRN-85812", "invoice_number": "PPS-97870", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 11120.0, "po_tax": 667.2, "po_freight": 0.0, "po_total": 11787.2, "invoice_subtotal": 9880.0, "invoice_tax": 592.8, "invoice_freight": 0.0, "invoice_total": 10472.8, "total_variance": -1314.4, "num_documents": 3, "po_file": "documents/CASE_0528/PO-2026-43701.docx", "grn_file": "documents/CASE_0528/GRN-85812.jpg", "invoice_file": "documents/CASE_0528/PPS-97870.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0528/PO-2026-43701.docx", "documents/CASE_0528/GRN-85812.jpg", "documents/CASE_0528/PPS-97870.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 6/10 units received and accurately billed; keep PO open for remaining 4 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"ELC-7260\", \"po_qty\": 10, \"received_qty\": 6, \"invoiced_qty\": 6, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 6/10 units received and accurately billed; keep PO open for remaining 4 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43701\", \"order_date\": \"2026-06-17\", \"expected_delivery\": \"2026-06-27\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 11120.0, \"tax_rate\": 0.06, \"tax\": 667.2, \"freight\": 0.0, \"total\": 11787.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85812\", \"po_number\": \"PO-2026-43701\", \"received_date\": \"Jun 29, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-802699\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 6, \"qty_accepted\": 6, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (4 SPOOL remaining)\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (6/10 ELC-7260). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-802699\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-97870\", \"po_number\": \"PO-2026-43701\", \"grn_ref\": \"GRN-85812\", \"invoice_date\": \"07/04/2026\", \"due_date\": \"08/03/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 6, \"unit_price\": 310.0, \"line_total\": 1860.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 9880.0, \"tax_rate\": 0.06, \"tax\": 592.8, \"freight\": 0.0, \"total\": 10472.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43701 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0541", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-43791", "grn_number": "GRN-85958", "invoice_number": "SSP-98039", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 4560.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 4560.0, "invoice_subtotal": 4560.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 4560.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0541/PO-2026-43791.pdf", "grn_file": "documents/CASE_0541/GRN-85958.docx", "invoice_file": "documents/CASE_0541/SSP-98039.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0541/PO-2026-43791.pdf", "documents/CASE_0541/GRN-85958.docx", "documents/CASE_0541/SSP-98039.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for IND-4418, but warehouse only received 31 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"IND-4418\", \"po_qty\": 40, \"received_qty\": 31, \"invoiced_qty\": 40, \"overbilled_qty\": 9, \"variance_amount\": 382.5, \"note\": \"Vendor billed 40 units for IND-4418, but warehouse only received 31 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43791\", \"order_date\": \"Feb 05, 2026\", \"expected_delivery\": \"Feb 15, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}], \"subtotal\": 4560.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 4560.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85958\", \"po_number\": \"PO-2026-43791\", \"received_date\": \"02/13/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-818916\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 31, \"qty_accepted\": 31, \"qty_rejected\": 0, \"condition\": \"Short 9 BOX (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 31 of 40 on IND-4418 (short 9 BOX). - M. Okafor\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-818916\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-98039\", \"po_number\": \"PO-2026-43791\", \"grn_ref\": \"GRN-85958\", \"invoice_date\": \"13-Feb-2026\", \"due_date\": \"30-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}], \"subtotal\": 4560.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 4560.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43791 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0542", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-43798", "grn_number": "GRN-85966", "invoice_number": "TP-98050", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 9280.0, "po_tax": 742.4, "po_freight": 35.0, "po_total": 10057.4, "invoice_subtotal": 9280.0, "invoice_tax": 742.4, "invoice_freight": 35.0, "invoice_total": 10057.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0542/PO-2026-43798.jpg", "grn_file": "documents/CASE_0542/GRN-85966.pdf", "invoice_file": "documents/CASE_0542/TP-98050.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0542/PO-2026-43798.jpg", "documents/CASE_0542/GRN-85966.pdf", "documents/CASE_0542/TP-98050.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43798\", \"order_date\": \"03/19/2026\", \"expected_delivery\": \"03/29/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 164.0, \"line_total\": 1640.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}], \"subtotal\": 9280.0, \"tax_rate\": 0.08, \"tax\": 742.4, \"freight\": 35.0, \"total\": 10057.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85966\", \"po_number\": \"PO-2026-43798\", \"received_date\": \"02-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-672713\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-672713\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-98050\", \"po_number\": \"PO-2026-43798\", \"grn_ref\": \"GRN-85966\", \"invoice_date\": \"2026-04-06\", \"due_date\": \"2026-05-21\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 164.0, \"line_total\": 1640.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}], \"subtotal\": 9280.0, \"tax_rate\": 0.08, \"tax\": 742.4, \"freight\": 35.0, \"total\": 10057.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43798 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0545", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-43817", "grn_number": "GRN-85997", "invoice_number": "PPS-98090", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 15235.0, "po_tax": 914.1, "po_freight": 0.0, "po_total": 16149.1, "invoice_subtotal": 15235.0, "invoice_tax": 914.1, "invoice_freight": 0.0, "invoice_total": 16149.1, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0545/PO-2026-43817.png", "grn_file": "documents/CASE_0545/GRN-85997.docx", "invoice_file": "documents/CASE_0545/PPS-98090.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0545/PO-2026-43817.png", "documents/CASE_0545/GRN-85997.docx", "documents/CASE_0545/PPS-98090.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43817\", \"order_date\": \"Jun 21, 2026\", \"expected_delivery\": \"Jul 01, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}], \"subtotal\": 15235.0, \"tax_rate\": 0.06, \"tax\": 914.1, \"freight\": 0.0, \"total\": 16149.1, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-85997\", \"po_number\": \"PO-2026-43817\", \"received_date\": \"06/25/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-907151\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-907151\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-98090\", \"po_number\": \"PO-2026-43817\", \"grn_ref\": \"GRN-85997\", \"invoice_date\": \"25-Jun-2026\", \"due_date\": \"09-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}], \"subtotal\": 15235.0, \"tax_rate\": 0.06, \"tax\": 914.1, \"freight\": 0.0, \"total\": 16149.1, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43817 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0549", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-43845", "grn_number": "GRN-86043", "invoice_number": "NSI-98140", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 55320.0, "po_tax": 4563.9, "po_freight": 95.0, "po_total": 59978.9, "invoice_subtotal": 56139.92, "invoice_tax": 4631.54, "invoice_freight": 95.0, "invoice_total": 60866.46, "total_variance": 887.56, "num_documents": 3, "po_file": "documents/CASE_0549/PO-2026-43845.docx", "grn_file": "documents/CASE_0549/GRN-86043.pdf", "invoice_file": "documents/CASE_0549/NSI-98140.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0549/PO-2026-43845.docx", "documents/CASE_0549/GRN-86043.pdf", "documents/CASE_0549/NSI-98140.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $792.49 exceeds contracted PO unit price $690.00 for IT-8875.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"IT-8875\", \"po_unit_price\": 690.0, \"invoice_unit_price\": 792.49, \"qty\": 8, \"variance_amount\": 819.92, \"note\": \"Invoice unit price $792.49 exceeds contracted PO unit price $690.00 for IT-8875.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43845\", \"order_date\": \"Mar 19, 2026\", \"expected_delivery\": \"Mar 29, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}], \"subtotal\": 55320.0, \"tax_rate\": 0.0825, \"tax\": 4563.9, \"freight\": 95.0, \"total\": 59978.9, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86043\", \"po_number\": \"PO-2026-43845\", \"received_date\": \"03/26/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-982027\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-982027\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-98140\", \"po_number\": \"PO-2026-43845\", \"grn_ref\": \"GRN-86043\", \"invoice_date\": \"01-Apr-2026\", \"due_date\": \"01-May-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 792.49, \"line_total\": 6339.92}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}], \"subtotal\": 56139.92, \"tax_rate\": 0.0825, \"tax\": 4631.54, \"freight\": 95.0, \"total\": 60866.46, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43845 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0555", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-43888", "grn_number": "GRN-86114", "invoice_number": "TP-98219", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 12160.0, "po_tax": 1003.2, "po_freight": 0.0, "po_total": 13163.2, "invoice_subtotal": 12160.0, "invoice_tax": 1003.2, "invoice_freight": 5.2, "invoice_total": 13168.4, "total_variance": 5.2, "num_documents": 3, "po_file": "documents/CASE_0555/PO-2026-43888.docx", "grn_file": "documents/CASE_0555/GRN-86114.pdf", "invoice_file": "documents/CASE_0555/TP-98219.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0555/PO-2026-43888.docx", "documents/CASE_0555/GRN-86114.pdf", "documents/CASE_0555/TP-98219.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $5.20 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 5.2, \"variance_amount\": 5.2, \"note\": \"Prepaid & Add shipping fee of $5.20 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43888\", \"order_date\": \"26-Feb-2026\", \"expected_delivery\": \"08-Mar-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 460.0, \"line_total\": 5520.0}], \"subtotal\": 12160.0, \"tax_rate\": 0.0825, \"tax\": 1003.2, \"freight\": 0.0, \"total\": 13163.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86114\", \"po_number\": \"PO-2026-43888\", \"received_date\": \"2026-03-06\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-159442\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-159442\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-98219\", \"po_number\": \"PO-2026-43888\", \"grn_ref\": \"GRN-86114\", \"invoice_date\": \"Mar 07, 2026\", \"due_date\": \"Mar 22, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 460.0, \"line_total\": 5520.0}], \"subtotal\": 12160.0, \"tax_rate\": 0.0825, \"tax\": 1003.2, \"freight\": 5.2, \"total\": 13168.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43888 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0558", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-43908", "grn_number": "GRN-86146", "invoice_number": "PKR-98255", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 5586.0, "po_tax": 0.0, "po_freight": 50.0, "po_total": 5636.0, "invoice_subtotal": 5736.0, "invoice_tax": 0.0, "invoice_freight": 50.0, "invoice_total": 5786.0, "total_variance": 150.0, "num_documents": 3, "po_file": "documents/CASE_0558/PO-2026-43908.docx", "grn_file": "documents/CASE_0558/GRN-86146.jpg", "invoice_file": "documents/CASE_0558/PKR-98255.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0558/PO-2026-43908.docx", "documents/CASE_0558/GRN-86146.jpg", "documents/CASE_0558/PKR-98255.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 4 (PKG-3025): 20 x $76.00 should be $1520.00, but invoice states $1670.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 5636.0, \"invoice_stated_total\": 5786.0, \"variance_amount\": 150.0, \"note\": \"Invoice arithmetic error on line 4 (PKG-3025): 20 x $76.00 should be $1520.00, but invoice states $1670.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-43908\", \"order_date\": \"01/10/2026\", \"expected_delivery\": \"01/20/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 64.0, \"line_total\": 1536.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 22.5, \"line_total\": 450.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1520.0}], \"subtotal\": 5586.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 5636.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86146\", \"po_number\": \"PO-2026-43908\", \"received_date\": \"17-Jan-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-914075\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-914075\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-98255\", \"po_number\": \"PO-2026-43908\", \"grn_ref\": \"GRN-86146\", \"invoice_date\": \"2026-01-22\", \"due_date\": \"2026-03-08\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 64.0, \"line_total\": 1536.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 22.5, \"line_total\": 450.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1670.0}], \"subtotal\": 5736.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 5786.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-43908 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0581", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-44071", "grn_number": "GRN-86397", "invoice_number": "NSI-98557", "duplicate_invoice_number": "NSI-99581", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 30100.0, "po_tax": 2408.0, "po_freight": 0.0, "po_total": 32508.0, "invoice_subtotal": 30100.0, "invoice_tax": 2408.0, "invoice_freight": 0.0, "invoice_total": 32508.0, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0581/PO-2026-44071.png", "grn_file": "documents/CASE_0581/GRN-86397.docx", "invoice_file": "documents/CASE_0581/NSI-98557.pdf", "duplicate_invoice_file": "documents/CASE_0581/NSI-99581.jpg", "file_paths": ["documents/CASE_0581/PO-2026-44071.png", "documents/CASE_0581/GRN-86397.docx", "documents/CASE_0581/NSI-98557.pdf", "documents/CASE_0581/NSI-99581.jpg"], "file_formats": ["png", "docx", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'NSI-98557' and 'NSI-99581' bill $32508.00 against single receipt 'GRN-86397' / PO 'PO-2026-44071'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"NSI-98557\", \"duplicate_invoice_number\": \"NSI-99581\", \"duplicate_billed_amount\": 32508.0, \"variance_amount\": 32508.0, \"note\": \"Duplicate billing detected: both 'NSI-98557' and 'NSI-99581' bill $32508.00 against single receipt 'GRN-86397' / PO 'PO-2026-44071'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44071\", \"order_date\": \"Apr 24, 2026\", \"expected_delivery\": \"May 04, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 215.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 30100.0, \"tax_rate\": 0.08, \"tax\": 2408.0, \"freight\": 0.0, \"total\": 32508.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86397\", \"po_number\": \"PO-2026-44071\", \"received_date\": \"05/06/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-550975\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-550975\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-98557\", \"po_number\": \"PO-2026-44071\", \"grn_ref\": \"GRN-86397\", \"invoice_date\": \"08-May-2026\", \"due_date\": \"07-Jun-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 215.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 30100.0, \"tax_rate\": 0.08, \"tax\": 2408.0, \"freight\": 0.0, \"total\": 32508.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44071 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"NSI-99581\", \"po_number\": \"PO-2026-44071\", \"grn_ref\": \"GRN-86397\", \"invoice_date\": \"15-May-2026\", \"due_date\": \"14-Jun-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 215.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 30100.0, \"tax_rate\": 0.08, \"tax\": 2408.0, \"freight\": 0.0, \"total\": 32508.0, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-550975. Please remit to lockbox.\"}}"} {"case_id": "CASE_0586", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-44103", "grn_number": "GRN-86448", "invoice_number": "PPS-98627", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 18880.0, "po_tax": 1132.8, "po_freight": 0.0, "po_total": 20012.8, "invoice_subtotal": 18880.0, "invoice_tax": 1132.8, "invoice_freight": 240.0, "invoice_total": 20252.8, "total_variance": 240.0, "num_documents": 3, "po_file": "documents/CASE_0586/PO-2026-44103.pdf", "grn_file": "documents/CASE_0586/GRN-86448.jpg", "invoice_file": "documents/CASE_0586/PPS-98627.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0586/PO-2026-44103.pdf", "documents/CASE_0586/GRN-86448.jpg", "documents/CASE_0586/PPS-98627.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 240.0, \"variance_amount\": 240.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44103\", \"order_date\": \"03/21/2026\", \"expected_delivery\": \"03/31/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}], \"subtotal\": 18880.0, \"tax_rate\": 0.06, \"tax\": 1132.8, \"freight\": 0.0, \"total\": 20012.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86448\", \"po_number\": \"PO-2026-44103\", \"received_date\": \"29-Mar-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-884019\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-884019\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-98627\", \"po_number\": \"PO-2026-44103\", \"grn_ref\": \"GRN-86448\", \"invoice_date\": \"2026-04-01\", \"due_date\": \"2026-05-01\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}], \"subtotal\": 18880.0, \"tax_rate\": 0.06, \"tax\": 1132.8, \"freight\": 240.0, \"total\": 20252.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44103 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0587", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-44110", "grn_number": "GRN-86459", "invoice_number": "INV-APX-98632", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 15595.0, "po_tax": 0.0, "po_freight": 120.0, "po_total": 15715.0, "invoice_subtotal": 15928.6, "invoice_tax": 0.0, "invoice_freight": 120.0, "invoice_total": 16048.6, "total_variance": 333.6, "num_documents": 3, "po_file": "documents/CASE_0587/PO-2026-44110.png", "grn_file": "documents/CASE_0587/GRN-86459.docx", "invoice_file": "documents/CASE_0587/INV-APX-98632.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0587/PO-2026-44110.png", "documents/CASE_0587/GRN-86459.docx", "documents/CASE_0587/INV-APX-98632.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $105.90 exceeds contracted PO unit price $92.00 for IND-4566.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"IND-4566\", \"po_unit_price\": 92.0, \"invoice_unit_price\": 105.9, \"qty\": 24, \"variance_amount\": 333.6, \"note\": \"Invoice unit price $105.90 exceeds contracted PO unit price $92.00 for IND-4566.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44110\", \"order_date\": \"28-Apr-2026\", \"expected_delivery\": \"08-May-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}], \"subtotal\": 15595.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 15715.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86459\", \"po_number\": \"PO-2026-44110\", \"received_date\": \"2026-05-04\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-294106\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-294106\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-98632\", \"po_number\": \"PO-2026-44110\", \"grn_ref\": \"GRN-86459\", \"invoice_date\": \"May 05, 2026\", \"due_date\": \"Jun 04, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 105.9, \"line_total\": 2541.6}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}], \"subtotal\": 15928.6, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 16048.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44110 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0592", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-44149", "grn_number": "GRN-86518", "invoice_number": "PPS-98699", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 17358.0, "po_tax": 1432.04, "po_freight": 0.0, "po_total": 18790.04, "invoice_subtotal": 17358.0, "invoice_tax": 1432.04, "invoice_freight": 0.0, "invoice_total": 18790.04, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0592/PO-2026-44149.pdf", "grn_file": "documents/CASE_0592/GRN-86518.jpg", "invoice_file": "documents/CASE_0592/PPS-98699.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0592/PO-2026-44149.pdf", "documents/CASE_0592/GRN-86518.jpg", "documents/CASE_0592/PPS-98699.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 8 units for ELC-7283, but warehouse only received 6 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"ELC-7283\", \"po_qty\": 8, \"received_qty\": 6, \"invoiced_qty\": 8, \"overbilled_qty\": 2, \"variance_amount\": 57.0, \"note\": \"Vendor billed 8 units for ELC-7283, but warehouse only received 6 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44149\", \"order_date\": \"2026-02-19\", \"expected_delivery\": \"2026-03-01\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 17358.0, \"tax_rate\": 0.0825, \"tax\": 1432.04, \"freight\": 0.0, \"total\": 18790.04, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86518\", \"po_number\": \"PO-2026-44149\", \"received_date\": \"Mar 03, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-176377\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 6, \"qty_accepted\": 6, \"qty_rejected\": 0, \"condition\": \"Short 2 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 6 of 8 on ELC-7283 (short 2 EA). - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-176377\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-98699\", \"po_number\": \"PO-2026-44149\", \"grn_ref\": \"GRN-86518\", \"invoice_date\": \"03/09/2026\", \"due_date\": \"04/08/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 17358.0, \"tax_rate\": 0.0825, \"tax\": 1432.04, \"freight\": 0.0, \"total\": 18790.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44149 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0598", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-44189", "grn_number": "GRN-86586", "invoice_number": "TP-98779", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 14988.0, "po_tax": 1199.04, "po_freight": 0.0, "po_total": 16187.04, "invoice_subtotal": 14988.0, "invoice_tax": 1199.04, "invoice_freight": 0.0, "invoice_total": 16187.04, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0598/PO-2026-44189.pdf", "grn_file": "documents/CASE_0598/GRN-86586.jpg", "invoice_file": "documents/CASE_0598/TP-98779.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0598/PO-2026-44189.pdf", "documents/CASE_0598/GRN-86586.jpg", "documents/CASE_0598/TP-98779.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44189\", \"order_date\": \"02/14/2026\", \"expected_delivery\": \"02/24/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}], \"subtotal\": 14988.0, \"tax_rate\": 0.08, \"tax\": 1199.04, \"freight\": 0.0, \"total\": 16187.04, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86586\", \"po_number\": \"PO-2026-44189\", \"received_date\": \"25-Feb-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-649472\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-649472\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-98779\", \"po_number\": \"PO-2026-44189\", \"grn_ref\": \"GRN-86586\", \"invoice_date\": \"2026-02-27\", \"due_date\": \"2026-03-29\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}], \"subtotal\": 14988.0, \"tax_rate\": 0.08, \"tax\": 1199.04, \"freight\": 0.0, \"total\": 16187.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44189 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0601", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-44212", "grn_number": "GRN-86617", "invoice_number": "KWS-98814", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 15380.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 15380.0, "invoice_subtotal": 16430.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 16430.0, "total_variance": 1050.0, "num_documents": 3, "po_file": "documents/CASE_0601/PO-2026-44212.pdf", "grn_file": "documents/CASE_0601/GRN-86617.docx", "invoice_file": "documents/CASE_0601/KWS-98814.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0601/PO-2026-44212.pdf", "documents/CASE_0601/GRN-86617.docx", "documents/CASE_0601/KWS-98814.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item FRN-6135 ($1050.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 3, \"sku\": \"FRN-6135\", \"invoiced_qty\": 5, \"invoice_unit_price\": 210.0, \"variance_amount\": 1050.0, \"note\": \"Invoice includes line item FRN-6135 ($1050.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44212\", \"order_date\": \"Mar 20, 2026\", \"expected_delivery\": \"Mar 30, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}], \"subtotal\": 15380.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 15380.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86617\", \"po_number\": \"PO-2026-44212\", \"received_date\": \"03/26/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-111089\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-111089\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-98814\", \"po_number\": \"PO-2026-44212\", \"grn_ref\": \"GRN-86617\", \"invoice_date\": \"29-Mar-2026\", \"due_date\": \"13-May-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 210.0, \"line_total\": 1050.0}], \"subtotal\": 16430.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 16430.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44212 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0613", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-44293", "grn_number": "GRN-86745", "invoice_number": "KWS-98976", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 30640.0, "po_tax": 2221.4, "po_freight": 0.0, "po_total": 32861.4, "invoice_subtotal": 30640.0, "invoice_tax": 2221.4, "invoice_freight": 10.81, "invoice_total": 32872.21, "total_variance": 10.81, "num_documents": 3, "po_file": "documents/CASE_0613/PO-2026-44293.pdf", "grn_file": "documents/CASE_0613/GRN-86745.docx", "invoice_file": "documents/CASE_0613/KWS-98976.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0613/PO-2026-44293.pdf", "documents/CASE_0613/GRN-86745.docx", "documents/CASE_0613/KWS-98976.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $10.81 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 10.81, \"variance_amount\": 10.81, \"note\": \"Prepaid & Add shipping fee of $10.81 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44293\", \"order_date\": \"Jul 29, 2026\", \"expected_delivery\": \"Aug 08, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 30640.0, \"tax_rate\": 0.0725, \"tax\": 2221.4, \"freight\": 0.0, \"total\": 32861.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86745\", \"po_number\": \"PO-2026-44293\", \"received_date\": \"08/04/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-610497\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-610497\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-98976\", \"po_number\": \"PO-2026-44293\", \"grn_ref\": \"GRN-86745\", \"invoice_date\": \"05-Aug-2026\", \"due_date\": \"04-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 30640.0, \"tax_rate\": 0.0725, \"tax\": 2221.4, \"freight\": 10.81, \"total\": 32872.21, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44293 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0621", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-44351", "grn_number": "GRN-86837", "invoice_number": "SSP-99080", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 3530.0, "po_tax": 0.0, "po_freight": 35.0, "po_total": 3565.0, "invoice_subtotal": 3591.75, "invoice_tax": 0.0, "invoice_freight": 35.0, "invoice_total": 3626.75, "total_variance": 61.75, "num_documents": 3, "po_file": "documents/CASE_0621/PO-2026-44351.docx", "grn_file": "documents/CASE_0621/GRN-86837.pdf", "invoice_file": "documents/CASE_0621/SSP-99080.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0621/PO-2026-44351.docx", "documents/CASE_0621/GRN-86837.pdf", "documents/CASE_0621/SSP-99080.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $160.35 exceeds contracted PO unit price $148.00 for IND-4520.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"IND-4520\", \"po_unit_price\": 148.0, \"invoice_unit_price\": 160.35, \"qty\": 5, \"variance_amount\": 61.75, \"note\": \"Invoice unit price $160.35 exceeds contracted PO unit price $148.00 for IND-4520.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44351\", \"order_date\": \"Aug 29, 2026\", \"expected_delivery\": \"Sep 08, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}], \"subtotal\": 3530.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 3565.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86837\", \"po_number\": \"PO-2026-44351\", \"received_date\": \"09/04/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-297447\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-297447\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-99080\", \"po_number\": \"PO-2026-44351\", \"grn_ref\": \"GRN-86837\", \"invoice_date\": \"08-Sep-2026\", \"due_date\": \"23-Sep-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 160.35, \"line_total\": 801.75}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}], \"subtotal\": 3591.75, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 3626.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44351 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0626", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-44386", "grn_number": "GRN-86890", "invoice_number": "TP-99146", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 13956.0, "po_tax": 1151.37, "po_freight": 95.0, "po_total": 15202.37, "invoice_subtotal": 13686.0, "invoice_tax": 1129.1, "invoice_freight": 95.0, "invoice_total": 14910.1, "total_variance": -292.27, "num_documents": 3, "po_file": "documents/CASE_0626/PO-2026-44386.jpg", "grn_file": "documents/CASE_0626/GRN-86890.pdf", "invoice_file": "documents/CASE_0626/TP-99146.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0626/PO-2026-44386.jpg", "documents/CASE_0626/GRN-86890.pdf", "documents/CASE_0626/TP-99146.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 6/8 units received and accurately billed; keep PO open for remaining 2 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"LAB-2104\", \"po_qty\": 8, \"received_qty\": 6, \"invoiced_qty\": 6, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 6/8 units received and accurately billed; keep PO open for remaining 2 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44386\", \"order_date\": \"07/01/2026\", \"expected_delivery\": \"07/11/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 135.0, \"line_total\": 1080.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}], \"subtotal\": 13956.0, \"tax_rate\": 0.0825, \"tax\": 1151.37, \"freight\": 95.0, \"total\": 15202.37, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86890\", \"po_number\": \"PO-2026-44386\", \"received_date\": \"08-Jul-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-937537\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 6, \"qty_accepted\": 6, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (2 CS remaining)\"}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (6/8 LAB-2104). Balance on BO. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-937537\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-99146\", \"po_number\": \"PO-2026-44386\", \"grn_ref\": \"GRN-86890\", \"invoice_date\": \"2026-07-10\", \"due_date\": \"2026-08-09\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 6, \"unit_price\": 135.0, \"line_total\": 810.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}], \"subtotal\": 13686.0, \"tax_rate\": 0.0825, \"tax\": 1129.1, \"freight\": 95.0, \"total\": 14910.1, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44386 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0627", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-44391", "grn_number": "GRN-86905", "invoice_number": "PKR-99157", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2700.0, "po_tax": 216.0, "po_freight": 0.0, "po_total": 2916.0, "invoice_subtotal": 2700.0, "invoice_tax": 216.0, "invoice_freight": 10.49, "invoice_total": 2926.49, "total_variance": 10.49, "num_documents": 3, "po_file": "documents/CASE_0627/PO-2026-44391.docx", "grn_file": "documents/CASE_0627/GRN-86905.pdf", "invoice_file": "documents/CASE_0627/PKR-99157.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0627/PO-2026-44391.docx", "documents/CASE_0627/GRN-86905.pdf", "documents/CASE_0627/PKR-99157.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $10.49 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 10.49, \"variance_amount\": 10.49, \"note\": \"Prepaid & Add shipping fee of $10.49 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44391\", \"order_date\": \"27-Sep-2026\", \"expected_delivery\": \"07-Oct-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 20, \"unit_price\": 52.0, \"line_total\": 1040.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}], \"subtotal\": 2700.0, \"tax_rate\": 0.08, \"tax\": 216.0, \"freight\": 0.0, \"total\": 2916.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86905\", \"po_number\": \"PO-2026-44391\", \"received_date\": \"2026-10-05\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-504872\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-504872\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-99157\", \"po_number\": \"PO-2026-44391\", \"grn_ref\": \"GRN-86905\", \"invoice_date\": \"Oct 10, 2026\", \"due_date\": \"Oct 25, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 20, \"unit_price\": 52.0, \"line_total\": 1040.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}], \"subtotal\": 2700.0, \"tax_rate\": 0.08, \"tax\": 216.0, \"freight\": 10.49, \"total\": 2926.49, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44391 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0630", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-44413", "grn_number": "GRN-86935", "invoice_number": "SSP-99194", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 2629.0, "po_tax": 190.6, "po_freight": 35.0, "po_total": 2854.6, "invoice_subtotal": 2729.0, "invoice_tax": 197.85, "invoice_freight": 35.0, "invoice_total": 2961.85, "total_variance": 107.25, "num_documents": 3, "po_file": "documents/CASE_0630/PO-2026-44413.docx", "grn_file": "documents/CASE_0630/GRN-86935.jpg", "invoice_file": "documents/CASE_0630/SSP-99194.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0630/PO-2026-44413.docx", "documents/CASE_0630/GRN-86935.jpg", "documents/CASE_0630/SSP-99194.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 3 (IND-4566): 10 x $92.00 should be $920.00, but invoice states $1020.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 2854.6, \"invoice_stated_total\": 2961.85, \"variance_amount\": 107.25, \"note\": \"Invoice arithmetic error on line 3 (IND-4566): 10 x $92.00 should be $920.00, but invoice states $1020.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44413\", \"order_date\": \"03/10/2026\", \"expected_delivery\": \"03/20/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}], \"subtotal\": 2629.0, \"tax_rate\": 0.0725, \"tax\": 190.6, \"freight\": 35.0, \"total\": 2854.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86935\", \"po_number\": \"PO-2026-44413\", \"received_date\": \"23-Mar-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-132377\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-132377\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-99194\", \"po_number\": \"PO-2026-44413\", \"grn_ref\": \"GRN-86935\", \"invoice_date\": \"2026-03-23\", \"due_date\": \"2026-04-07\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}], \"subtotal\": 2729.0, \"tax_rate\": 0.0725, \"tax\": 197.85, \"freight\": 35.0, \"total\": 2961.85, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44413 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0633", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-44432", "grn_number": "GRN-86966", "invoice_number": "PKR-99238", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3880.0, "po_tax": 310.4, "po_freight": 35.0, "po_total": 4225.4, "invoice_subtotal": 3880.0, "invoice_tax": 310.4, "invoice_freight": 35.0, "invoice_total": 4225.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0633/PO-2026-44432.docx", "grn_file": "documents/CASE_0633/GRN-86966.pdf", "invoice_file": "documents/CASE_0633/PKR-99238.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0633/PO-2026-44432.docx", "documents/CASE_0633/GRN-86966.pdf", "documents/CASE_0633/PKR-99238.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "12 delivered units of PKG-3078 failed dock inspection and were rejected, but vendor billed full 50 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"PKG-3078\", \"po_qty\": 50, \"received_qty\": 50, \"accepted_qty\": 38, \"rejected_qty\": 12, \"invoiced_qty\": 50, \"variance_amount\": 624.0, \"note\": \"12 delivered units of PKG-3078 failed dock inspection and were rejected, but vendor billed full 50 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44432\", \"order_date\": \"Jan 14, 2026\", \"expected_delivery\": \"Jan 24, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 50, \"unit_price\": 52.0, \"line_total\": 2600.0}], \"subtotal\": 3880.0, \"tax_rate\": 0.08, \"tax\": 310.4, \"freight\": 35.0, \"total\": 4225.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-86966\", \"po_number\": \"PO-2026-44432\", \"received_date\": \"01/20/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-268927\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 38, \"qty_rejected\": 12, \"condition\": \"12 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"12 units of PKG-3078 water/crush damaged; refused & RMA requested! Accepted 38. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-268927\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-99238\", \"po_number\": \"PO-2026-44432\", \"grn_ref\": \"GRN-86966\", \"invoice_date\": \"22-Jan-2026\", \"due_date\": \"08-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 50, \"unit_price\": 52.0, \"line_total\": 2600.0}], \"subtotal\": 3880.0, \"tax_rate\": 0.08, \"tax\": 310.4, \"freight\": 35.0, \"total\": 4225.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44432 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0640", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-44481", "grn_number": "GRN-87043", "invoice_number": "PPS-99321", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 3274.5, "po_tax": 0.0, "po_freight": 35.0, "po_total": 3309.5, "invoice_subtotal": 3295.25, "invoice_tax": 0.0, "invoice_freight": 35.0, "invoice_total": 3330.25, "total_variance": 20.75, "num_documents": 3, "po_file": "documents/CASE_0640/PO-2026-44481.pdf", "grn_file": "documents/CASE_0640/GRN-87043.jpg", "invoice_file": "documents/CASE_0640/PPS-99321.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0640/PO-2026-44481.pdf", "documents/CASE_0640/GRN-87043.jpg", "documents/CASE_0640/PPS-99321.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $32.65 exceeds contracted PO unit price $28.50 for ELC-7283.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"ELC-7283\", \"po_unit_price\": 28.5, \"invoice_unit_price\": 32.65, \"qty\": 5, \"variance_amount\": 20.75, \"note\": \"Invoice unit price $32.65 exceeds contracted PO unit price $28.50 for ELC-7283.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44481\", \"order_date\": \"2026-10-03\", \"expected_delivery\": \"2026-10-13\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}], \"subtotal\": 3274.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 3309.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87043\", \"po_number\": \"PO-2026-44481\", \"received_date\": \"Oct 09, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-240972\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-240972\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-99321\", \"po_number\": \"PO-2026-44481\", \"grn_ref\": \"GRN-87043\", \"invoice_date\": \"10/13/2026\", \"due_date\": \"11/12/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 32.65, \"line_total\": 163.25}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}], \"subtotal\": 3295.25, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 3330.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44481 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0646", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-44523", "grn_number": "GRN-87111", "invoice_number": "PKR-99407", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3280.0, "po_tax": 270.6, "po_freight": 0.0, "po_total": 3550.6, "invoice_subtotal": 3370.0, "invoice_tax": 278.03, "invoice_freight": 0.0, "invoice_total": 3648.03, "total_variance": 97.43, "num_documents": 3, "po_file": "documents/CASE_0646/PO-2026-44523.pdf", "grn_file": "documents/CASE_0646/GRN-87111.jpg", "invoice_file": "documents/CASE_0646/PKR-99407.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0646/PO-2026-44523.pdf", "documents/CASE_0646/GRN-87111.jpg", "documents/CASE_0646/PKR-99407.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item PKG-3091 ($90.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 3, \"sku\": \"PKG-3091\", \"invoiced_qty\": 4, \"invoice_unit_price\": 22.5, \"variance_amount\": 90.0, \"note\": \"Invoice includes line item PKG-3091 ($90.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44523\", \"order_date\": \"06/07/2026\", \"expected_delivery\": \"06/17/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 20, \"unit_price\": 145.0, \"line_total\": 2900.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}], \"subtotal\": 3280.0, \"tax_rate\": 0.0825, \"tax\": 270.6, \"freight\": 0.0, \"total\": 3550.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87111\", \"po_number\": \"PO-2026-44523\", \"received_date\": \"15-Jun-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-981451\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-981451\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-99407\", \"po_number\": \"PO-2026-44523\", \"grn_ref\": \"GRN-87111\", \"invoice_date\": \"2026-06-17\", \"due_date\": \"2026-07-02\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 20, \"unit_price\": 145.0, \"line_total\": 2900.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 4, \"unit_price\": 22.5, \"line_total\": 90.0}], \"subtotal\": 3370.0, \"tax_rate\": 0.0825, \"tax\": 278.03, \"freight\": 0.0, \"total\": 3648.03, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44523 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0649", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-44545", "grn_number": "GRN-87141", "invoice_number": "INV-APX-99439", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 7499.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 7499.0, "invoice_subtotal": 7499.0, "invoice_tax": 0.0, "invoice_freight": 550.0, "invoice_total": 8049.0, "total_variance": 550.0, "num_documents": 3, "po_file": "documents/CASE_0649/PO-2026-44545.pdf", "grn_file": "documents/CASE_0649/GRN-87141.docx", "invoice_file": "documents/CASE_0649/INV-APX-99439.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0649/PO-2026-44545.pdf", "documents/CASE_0649/GRN-87141.docx", "documents/CASE_0649/INV-APX-99439.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 550.0, \"variance_amount\": 550.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44545\", \"order_date\": \"Jan 30, 2026\", \"expected_delivery\": \"Feb 09, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}], \"subtotal\": 7499.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 7499.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87141\", \"po_number\": \"PO-2026-44545\", \"received_date\": \"02/03/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-285367\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-285367\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-99439\", \"po_number\": \"PO-2026-44545\", \"grn_ref\": \"GRN-87141\", \"invoice_date\": \"05-Feb-2026\", \"due_date\": \"07-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}], \"subtotal\": 7499.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 550.0, \"total\": 8049.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44545 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0659", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-44617", "grn_number": "", "invoice_number": "SSP-99574", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 1317.5, "po_tax": 0.0, "po_freight": 120.0, "po_total": 1437.5, "invoice_subtotal": 1317.5, "invoice_tax": 0.0, "invoice_freight": 120.0, "invoice_total": 1437.5, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0659/PO-2026-44617.png", "grn_file": "", "invoice_file": "documents/CASE_0659/SSP-99574.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0659/PO-2026-44617.png", "documents/CASE_0659/SSP-99574.pdf"], "file_formats": ["png", "pdf"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-44617\", \"invoice_number\": \"SSP-99574\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44617\", \"order_date\": \"26-Jan-2026\", \"expected_delivery\": \"05-Feb-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}], \"subtotal\": 1317.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 1437.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-99574\", \"po_number\": \"PO-2026-44617\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"Feb 04, 2026\", \"due_date\": \"Mar 06, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}], \"subtotal\": 1317.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 1437.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44617 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0661", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-44631", "grn_number": "GRN-87279", "invoice_number": "INV-APX-99594", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 3637.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 3637.0, "invoice_subtotal": 3637.0, "invoice_tax": 0.0, "invoice_freight": 425.0, "invoice_total": 4062.0, "total_variance": 425.0, "num_documents": 3, "po_file": "documents/CASE_0661/PO-2026-44631.pdf", "grn_file": "documents/CASE_0661/GRN-87279.docx", "invoice_file": "documents/CASE_0661/INV-APX-99594.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0661/PO-2026-44631.pdf", "documents/CASE_0661/GRN-87279.docx", "documents/CASE_0661/INV-APX-99594.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 425.0, \"variance_amount\": 425.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44631\", \"order_date\": \"Apr 18, 2026\", \"expected_delivery\": \"Apr 28, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}], \"subtotal\": 3637.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 3637.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87279\", \"po_number\": \"PO-2026-44631\", \"received_date\": \"04/29/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-627070\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-627070\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-99594\", \"po_number\": \"PO-2026-44631\", \"grn_ref\": \"GRN-87279\", \"invoice_date\": \"03-May-2026\", \"due_date\": \"17-Jun-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}], \"subtotal\": 3637.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 425.0, \"total\": 4062.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44631 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0666", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-44663", "grn_number": "GRN-87334", "invoice_number": "PKR-99660", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 5293.0, "po_tax": 423.44, "po_freight": 75.0, "po_total": 5791.44, "invoice_subtotal": 5513.0, "invoice_tax": 441.04, "invoice_freight": 75.0, "invoice_total": 6029.04, "total_variance": 237.6, "num_documents": 3, "po_file": "documents/CASE_0666/PO-2026-44663.docx", "grn_file": "documents/CASE_0666/GRN-87334.jpg", "invoice_file": "documents/CASE_0666/PKR-99660.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0666/PO-2026-44663.docx", "documents/CASE_0666/GRN-87334.jpg", "documents/CASE_0666/PKR-99660.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 2 (PKG-3042): 12 x $64.00 should be $768.00, but invoice states $988.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 5791.44, \"invoice_stated_total\": 6029.04, \"variance_amount\": 237.6, \"note\": \"Invoice arithmetic error on line 2 (PKG-3042): 12 x $64.00 should be $768.00, but invoice states $988.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44663\", \"order_date\": \"08/22/2026\", \"expected_delivery\": \"09/01/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 768.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 5, \"unit_price\": 145.0, \"line_total\": 725.0}], \"subtotal\": 5293.0, \"tax_rate\": 0.08, \"tax\": 423.44, \"freight\": 75.0, \"total\": 5791.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87334\", \"po_number\": \"PO-2026-44663\", \"received_date\": \"03-Sep-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-473719\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-473719\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-99660\", \"po_number\": \"PO-2026-44663\", \"grn_ref\": \"GRN-87334\", \"invoice_date\": \"2026-09-08\", \"due_date\": \"2026-10-23\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 988.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 5, \"unit_price\": 145.0, \"line_total\": 725.0}], \"subtotal\": 5513.0, \"tax_rate\": 0.08, \"tax\": 441.04, \"freight\": 75.0, \"total\": 6029.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44663 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0667", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-44672", "grn_number": "GRN-87340", "invoice_number": "PKR-99679", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3500.0, "po_tax": 253.75, "po_freight": 0.0, "po_total": 3753.75, "invoice_subtotal": 3500.0, "invoice_tax": 253.75, "invoice_freight": 0.0, "invoice_total": 3753.75, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0667/PO-2026-44672.pdf", "grn_file": "documents/CASE_0667/GRN-87340.docx", "invoice_file": "documents/CASE_0667/PKR-99679.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0667/PO-2026-44672.pdf", "documents/CASE_0667/GRN-87340.docx", "documents/CASE_0667/PKR-99679.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44672\", \"order_date\": \"26-Sep-2026\", \"expected_delivery\": \"06-Oct-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 22.5, \"line_total\": 540.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 76.0, \"line_total\": 760.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 20, \"unit_price\": 52.0, \"line_total\": 1040.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 8, \"unit_price\": 145.0, \"line_total\": 1160.0}], \"subtotal\": 3500.0, \"tax_rate\": 0.0725, \"tax\": 253.75, \"freight\": 0.0, \"total\": 3753.75, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87340\", \"po_number\": \"PO-2026-44672\", \"received_date\": \"2026-10-08\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-669696\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-669696\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-99679\", \"po_number\": \"PO-2026-44672\", \"grn_ref\": \"GRN-87340\", \"invoice_date\": \"Oct 09, 2026\", \"due_date\": \"Nov 08, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 22.5, \"line_total\": 540.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 76.0, \"line_total\": 760.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 20, \"unit_price\": 52.0, \"line_total\": 1040.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 8, \"unit_price\": 145.0, \"line_total\": 1160.0}], \"subtotal\": 3500.0, \"tax_rate\": 0.0725, \"tax\": 253.75, \"freight\": 0.0, \"total\": 3753.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44672 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0669", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-44687", "grn_number": "GRN-87363", "invoice_number": "KWS-99698", "duplicate_invoice_number": "KWS-99669", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 38860.0, "po_tax": 2331.6, "po_freight": 35.0, "po_total": 41226.6, "invoice_subtotal": 38860.0, "invoice_tax": 2331.6, "invoice_freight": 35.0, "invoice_total": 41226.6, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0669/PO-2026-44687.docx", "grn_file": "documents/CASE_0669/GRN-87363.pdf", "invoice_file": "documents/CASE_0669/KWS-99698.png", "duplicate_invoice_file": "documents/CASE_0669/KWS-99669.jpg", "file_paths": ["documents/CASE_0669/PO-2026-44687.docx", "documents/CASE_0669/GRN-87363.pdf", "documents/CASE_0669/KWS-99698.png", "documents/CASE_0669/KWS-99669.jpg"], "file_formats": ["docx", "pdf", "png", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'KWS-99698' and 'KWS-99669' bill $41226.60 against single receipt 'GRN-87363' / PO 'PO-2026-44687'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"KWS-99698\", \"duplicate_invoice_number\": \"KWS-99669\", \"duplicate_billed_amount\": 41226.6, \"variance_amount\": 41226.6, \"note\": \"Duplicate billing detected: both 'KWS-99698' and 'KWS-99669' bill $41226.60 against single receipt 'GRN-87363' / PO 'PO-2026-44687'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44687\", \"order_date\": \"Mar 08, 2026\", \"expected_delivery\": \"Mar 18, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 115.0, \"line_total\": 2760.0}], \"subtotal\": 38860.0, \"tax_rate\": 0.06, \"tax\": 2331.6, \"freight\": 35.0, \"total\": 41226.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87363\", \"po_number\": \"PO-2026-44687\", \"received_date\": \"03/12/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-657099\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-657099\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-99698\", \"po_number\": \"PO-2026-44687\", \"grn_ref\": \"GRN-87363\", \"invoice_date\": \"16-Mar-2026\", \"due_date\": \"30-Apr-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 115.0, \"line_total\": 2760.0}], \"subtotal\": 38860.0, \"tax_rate\": 0.06, \"tax\": 2331.6, \"freight\": 35.0, \"total\": 41226.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44687 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"KWS-99669\", \"po_number\": \"PO-2026-44687\", \"grn_ref\": \"GRN-87363\", \"invoice_date\": \"25-Mar-2026\", \"due_date\": \"09-May-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 115.0, \"line_total\": 2760.0}], \"subtotal\": 38860.0, \"tax_rate\": 0.06, \"tax\": 2331.6, \"freight\": 35.0, \"total\": 41226.6, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-657099. Please remit to lockbox.\"}}"} {"case_id": "CASE_0679", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-44754", "grn_number": "GRN-87476", "invoice_number": "PPS-99832", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 37100.0, "po_tax": 2689.75, "po_freight": 0.0, "po_total": 39789.75, "invoice_subtotal": 37100.0, "invoice_tax": 2689.75, "invoice_freight": 0.0, "invoice_total": 39789.75, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0679/PO-2026-44754.pdf", "grn_file": "documents/CASE_0679/GRN-87476.docx", "invoice_file": "documents/CASE_0679/PPS-99832.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0679/PO-2026-44754.pdf", "documents/CASE_0679/GRN-87476.docx", "documents/CASE_0679/PPS-99832.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-44754\", \"invoice_po_ref\": \"PO-2026-44754\", \"po_vendor\": \"Pacific Photonics & Sensors Inc.\", \"invoice_vendor\": \"Kestrel Workspace & Ergonomics\", \"note\": \"Vendor entity mismatch: PO issued to 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44754\", \"order_date\": \"20-Jan-2026\", \"expected_delivery\": \"30-Jan-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 37100.0, \"tax_rate\": 0.0725, \"tax\": 2689.75, \"freight\": 0.0, \"total\": 39789.75, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87476\", \"po_number\": \"PO-2026-44754\", \"received_date\": \"2026-02-03\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-913338\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-913338\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-99832\", \"po_number\": \"PO-2026-44754\", \"grn_ref\": \"GRN-87476\", \"invoice_date\": \"Feb 06, 2026\", \"due_date\": \"Mar 08, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 37100.0, \"tax_rate\": 0.0725, \"tax\": 2689.75, \"freight\": 0.0, \"total\": 39789.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44754 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0685", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-44799", "grn_number": "GRN-87536", "invoice_number": "VEP-99913", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 13035.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 13035.0, "invoice_subtotal": 13149.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 13149.0, "total_variance": 114.0, "num_documents": 3, "po_file": "documents/CASE_0685/PO-2026-44799.pdf", "grn_file": "documents/CASE_0685/GRN-87536.docx", "invoice_file": "documents/CASE_0685/VEP-99913.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0685/PO-2026-44799.pdf", "documents/CASE_0685/GRN-87536.docx", "documents/CASE_0685/VEP-99913.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7283 ($114.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"ELC-7283\", \"invoiced_qty\": 4, \"invoice_unit_price\": 28.5, \"variance_amount\": 114.0, \"note\": \"Invoice includes line item ELC-7283 ($114.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44799\", \"order_date\": \"Apr 05, 2026\", \"expected_delivery\": \"Apr 15, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}], \"subtotal\": 13035.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13035.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87536\", \"po_number\": \"PO-2026-44799\", \"received_date\": \"04/17/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-369311\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-369311\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-99913\", \"po_number\": \"PO-2026-44799\", \"grn_ref\": \"GRN-87536\", \"invoice_date\": \"23-Apr-2026\", \"due_date\": \"23-May-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 5, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 4, \"unit_price\": 28.5, \"line_total\": 114.0}], \"subtotal\": 13149.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13149.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44799 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0688", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-44821", "grn_number": "GRN-87570", "invoice_number": "INV-APX-99945", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 3665.0, "po_tax": 219.9, "po_freight": 0.0, "po_total": 3884.9, "invoice_subtotal": 3665.0, "invoice_tax": 219.9, "invoice_freight": 7.45, "invoice_total": 3892.35, "total_variance": 7.45, "num_documents": 3, "po_file": "documents/CASE_0688/PO-2026-44821.pdf", "grn_file": "documents/CASE_0688/GRN-87570.jpg", "invoice_file": "documents/CASE_0688/INV-APX-99945.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0688/PO-2026-44821.pdf", "documents/CASE_0688/GRN-87570.jpg", "documents/CASE_0688/INV-APX-99945.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.45 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.45, \"variance_amount\": 7.45, \"note\": \"Prepaid & Add shipping fee of $7.45 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44821\", \"order_date\": \"2026-05-08\", \"expected_delivery\": \"2026-05-18\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 3665.0, \"tax_rate\": 0.06, \"tax\": 219.9, \"freight\": 0.0, \"total\": 3884.9, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87570\", \"po_number\": \"PO-2026-44821\", \"received_date\": \"May 19, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-614531\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-614531\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-99945\", \"po_number\": \"PO-2026-44821\", \"grn_ref\": \"GRN-87570\", \"invoice_date\": \"05/25/2026\", \"due_date\": \"06/24/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 3665.0, \"tax_rate\": 0.06, \"tax\": 219.9, \"freight\": 7.45, \"total\": 3892.35, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44821 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0689", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-44826", "grn_number": "GRN-87584", "invoice_number": "KWS-99964", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 20470.0, "po_tax": 1228.2, "po_freight": 50.0, "po_total": 21748.2, "invoice_subtotal": 20470.0, "invoice_tax": 1228.2, "invoice_freight": 50.0, "invoice_total": 21748.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0689/PO-2026-44826.png", "grn_file": "documents/CASE_0689/GRN-87584.docx", "invoice_file": "documents/CASE_0689/KWS-99964.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0689/PO-2026-44826.png", "documents/CASE_0689/GRN-87584.docx", "documents/CASE_0689/KWS-99964.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44826\", \"order_date\": \"Mar 11, 2026\", \"expected_delivery\": \"Mar 21, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}], \"subtotal\": 20470.0, \"tax_rate\": 0.06, \"tax\": 1228.2, \"freight\": 50.0, \"total\": 21748.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87584\", \"po_number\": \"PO-2026-44826\", \"received_date\": \"03/18/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-296599\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-296599\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-99964\", \"po_number\": \"PO-2026-44826\", \"grn_ref\": \"GRN-87584\", \"invoice_date\": \"22-Mar-2026\", \"due_date\": \"06-Apr-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 640.0, \"line_total\": 6400.0}], \"subtotal\": 20470.0, \"tax_rate\": 0.06, \"tax\": 1228.2, \"freight\": 50.0, \"total\": 21748.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44826 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0700", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-44905", "grn_number": "GRN-87707", "invoice_number": "PKR-100109", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 952.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 952.0, "invoice_subtotal": 1102.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 1102.0, "total_variance": 150.0, "num_documents": 3, "po_file": "documents/CASE_0700/PO-2026-44905.pdf", "grn_file": "documents/CASE_0700/GRN-87707.jpg", "invoice_file": "documents/CASE_0700/PKR-100109.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0700/PO-2026-44905.pdf", "documents/CASE_0700/GRN-87707.jpg", "documents/CASE_0700/PKR-100109.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 1 (PKG-3091): 8 x $22.50 should be $180.00, but invoice states $330.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 952.0, \"invoice_stated_total\": 1102.0, \"variance_amount\": 150.0, \"note\": \"Invoice arithmetic error on line 1 (PKG-3091): 8 x $22.50 should be $180.00, but invoice states $330.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44905\", \"order_date\": \"2026-02-12\", \"expected_delivery\": \"2026-02-22\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 64.0, \"line_total\": 512.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}], \"subtotal\": 952.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 952.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87707\", \"po_number\": \"PO-2026-44905\", \"received_date\": \"Feb 24, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-124326\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-124326\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-100109\", \"po_number\": \"PO-2026-44905\", \"grn_ref\": \"GRN-87707\", \"invoice_date\": \"02/28/2026\", \"due_date\": \"04/14/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 330.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 64.0, \"line_total\": 512.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}], \"subtotal\": 1102.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 1102.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44905 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0706", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-44943", "grn_number": "GRN-87775", "invoice_number": "INV-APX-100182", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 1775.0, "po_tax": 128.69, "po_freight": 0.0, "po_total": 1903.69, "invoice_subtotal": 1775.0, "invoice_tax": 128.69, "invoice_freight": 0.0, "invoice_total": 1903.69, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0706/PO-2026-44943.pdf", "grn_file": "documents/CASE_0706/GRN-87775.jpg", "invoice_file": "documents/CASE_0706/INV-APX-100182.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0706/PO-2026-44943.pdf", "documents/CASE_0706/GRN-87775.jpg", "documents/CASE_0706/INV-APX-100182.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44943\", \"order_date\": \"03/31/2026\", \"expected_delivery\": \"04/10/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 1775.0, \"tax_rate\": 0.0725, \"tax\": 128.69, \"freight\": 0.0, \"total\": 1903.69, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87775\", \"po_number\": \"PO-2026-44943\", \"received_date\": \"08-Apr-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-705958\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-705958\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-100182\", \"po_number\": \"PO-2026-44943\", \"grn_ref\": \"GRN-87775\", \"invoice_date\": \"2026-04-14\", \"due_date\": \"2026-05-14\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 1775.0, \"tax_rate\": 0.0725, \"tax\": 128.69, \"freight\": 0.0, \"total\": 1903.69, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44943 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0711", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-44981", "grn_number": "GRN-87823", "invoice_number": "INV-APX-100247", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 8225.0, "po_tax": 658.0, "po_freight": 0.0, "po_total": 8883.0, "invoice_subtotal": 8302.0, "invoice_tax": 664.16, "invoice_freight": 0.0, "invoice_total": 8966.16, "total_variance": 83.16, "num_documents": 3, "po_file": "documents/CASE_0711/PO-2026-44981.docx", "grn_file": "documents/CASE_0711/GRN-87823.pdf", "invoice_file": "documents/CASE_0711/INV-APX-100247.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0711/PO-2026-44981.docx", "documents/CASE_0711/GRN-87823.pdf", "documents/CASE_0711/INV-APX-100247.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $50.20 exceeds contracted PO unit price $42.50 for IND-4418.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 4, \"sku\": \"IND-4418\", \"po_unit_price\": 42.5, \"invoice_unit_price\": 50.2, \"qty\": 10, \"variance_amount\": 77.0, \"note\": \"Invoice unit price $50.20 exceeds contracted PO unit price $42.50 for IND-4418.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-44981\", \"order_date\": \"22-Jul-2026\", \"expected_delivery\": \"01-Aug-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}], \"subtotal\": 8225.0, \"tax_rate\": 0.08, \"tax\": 658.0, \"freight\": 0.0, \"total\": 8883.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87823\", \"po_number\": \"PO-2026-44981\", \"received_date\": \"2026-08-05\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-454688\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-454688\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-100247\", \"po_number\": \"PO-2026-44981\", \"grn_ref\": \"GRN-87823\", \"invoice_date\": \"Aug 06, 2026\", \"due_date\": \"Sep 05, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 50.2, \"line_total\": 502.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}], \"subtotal\": 8302.0, \"tax_rate\": 0.08, \"tax\": 664.16, \"freight\": 0.0, \"total\": 8966.16, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-44981 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0718", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-45031", "grn_number": "GRN-87907", "invoice_number": "TP-100341", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 6286.0, "po_tax": 455.74, "po_freight": 0.0, "po_total": 6741.74, "invoice_subtotal": 6286.0, "invoice_tax": 455.74, "invoice_freight": 8.74, "invoice_total": 6750.48, "total_variance": 8.74, "num_documents": 3, "po_file": "documents/CASE_0718/PO-2026-45031.pdf", "grn_file": "documents/CASE_0718/GRN-87907.jpg", "invoice_file": "documents/CASE_0718/TP-100341.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0718/PO-2026-45031.pdf", "documents/CASE_0718/GRN-87907.jpg", "documents/CASE_0718/TP-100341.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $8.74 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 8.74, \"variance_amount\": 8.74, \"note\": \"Prepaid & Add shipping fee of $8.74 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45031\", \"order_date\": \"07/20/2026\", \"expected_delivery\": \"07/30/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 164.0, \"line_total\": 3936.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 135.0, \"line_total\": 1350.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 88.0, \"line_total\": 440.0}], \"subtotal\": 6286.0, \"tax_rate\": 0.0725, \"tax\": 455.74, \"freight\": 0.0, \"total\": 6741.74, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-87907\", \"po_number\": \"PO-2026-45031\", \"received_date\": \"24-Jul-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-415991\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-415991\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-100341\", \"po_number\": \"PO-2026-45031\", \"grn_ref\": \"GRN-87907\", \"invoice_date\": \"2026-07-27\", \"due_date\": \"2026-08-26\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 164.0, \"line_total\": 3936.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 135.0, \"line_total\": 1350.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 88.0, \"line_total\": 440.0}], \"subtotal\": 6286.0, \"tax_rate\": 0.0725, \"tax\": 455.74, \"freight\": 8.74, \"total\": 6750.48, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45031 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0732", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-45127", "grn_number": "GRN-88054", "invoice_number": "TP-100524", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 17496.0, "po_tax": 1399.68, "po_freight": 0.0, "po_total": 18895.68, "invoice_subtotal": 17496.0, "invoice_tax": 1399.68, "invoice_freight": 550.0, "invoice_total": 19445.68, "total_variance": 550.0, "num_documents": 3, "po_file": "documents/CASE_0732/PO-2026-45127.docx", "grn_file": "documents/CASE_0732/GRN-88054.jpg", "invoice_file": "documents/CASE_0732/TP-100524.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0732/PO-2026-45127.docx", "documents/CASE_0732/GRN-88054.jpg", "documents/CASE_0732/TP-100524.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 550.0, \"variance_amount\": 550.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45127\", \"order_date\": \"2026-05-02\", \"expected_delivery\": \"2026-05-12\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}], \"subtotal\": 17496.0, \"tax_rate\": 0.08, \"tax\": 1399.68, \"freight\": 0.0, \"total\": 18895.68, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88054\", \"po_number\": \"PO-2026-45127\", \"received_date\": \"May 13, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-276389\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-276389\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-100524\", \"po_number\": \"PO-2026-45127\", \"grn_ref\": \"GRN-88054\", \"invoice_date\": \"05/15/2026\", \"due_date\": \"06/29/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}], \"subtotal\": 17496.0, \"tax_rate\": 0.08, \"tax\": 1399.68, \"freight\": 550.0, \"total\": 19445.68, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45127 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0735", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-45148", "grn_number": "GRN-88090", "invoice_number": "SSP-100557", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5855.0, "po_tax": 483.04, "po_freight": 35.0, "po_total": 6373.04, "invoice_subtotal": 5882.7, "invoice_tax": 485.32, "invoice_freight": 35.0, "invoice_total": 6403.02, "total_variance": 29.98, "num_documents": 3, "po_file": "documents/CASE_0735/PO-2026-45148.docx", "grn_file": "documents/CASE_0735/GRN-88090.pdf", "invoice_file": "documents/CASE_0735/SSP-100557.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0735/PO-2026-45148.docx", "documents/CASE_0735/GRN-88090.pdf", "documents/CASE_0735/SSP-100557.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $36.77 exceeds contracted PO unit price $34.00 for IND-4479.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"IND-4479\", \"po_unit_price\": 34.0, \"invoice_unit_price\": 36.77, \"qty\": 10, \"variance_amount\": 27.7, \"note\": \"Invoice unit price $36.77 exceeds contracted PO unit price $34.00 for IND-4479.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45148\", \"order_date\": \"04-Aug-2026\", \"expected_delivery\": \"14-Aug-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}], \"subtotal\": 5855.0, \"tax_rate\": 0.0825, \"tax\": 483.04, \"freight\": 35.0, \"total\": 6373.04, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88090\", \"po_number\": \"PO-2026-45148\", \"received_date\": \"2026-08-16\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-644700\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-644700\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-100557\", \"po_number\": \"PO-2026-45148\", \"grn_ref\": \"GRN-88090\", \"invoice_date\": \"Aug 22, 2026\", \"due_date\": \"Sep 21, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 36.77, \"line_total\": 367.7}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}], \"subtotal\": 5882.7, \"tax_rate\": 0.0825, \"tax\": 485.32, \"freight\": 35.0, \"total\": 6403.02, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45148 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0737", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-45162", "grn_number": "GRN-88111", "invoice_number": "KWS-100590", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 18180.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 18180.0, "invoice_subtotal": 18180.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 18180.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0737/PO-2026-45162.png", "grn_file": "documents/CASE_0737/GRN-88111.docx", "invoice_file": "documents/CASE_0737/KWS-100590.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0737/PO-2026-45162.png", "documents/CASE_0737/GRN-88111.docx", "documents/CASE_0737/KWS-100590.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 50 units for FRN-6135, but warehouse only received 36 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"FRN-6135\", \"po_qty\": 50, \"received_qty\": 36, \"invoiced_qty\": 50, \"overbilled_qty\": 14, \"variance_amount\": 2940.0, \"note\": \"Vendor billed 50 units for FRN-6135, but warehouse only received 36 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45162\", \"order_date\": \"Sep 27, 2026\", \"expected_delivery\": \"Oct 07, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}], \"subtotal\": 18180.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 18180.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88111\", \"po_number\": \"PO-2026-45162\", \"received_date\": \"10/11/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-896841\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 36, \"qty_accepted\": 36, \"qty_rejected\": 0, \"condition\": \"Short 14 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 36 of 50 on FRN-6135 (short 14 EA). - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-896841\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-100590\", \"po_number\": \"PO-2026-45162\", \"grn_ref\": \"GRN-88111\", \"invoice_date\": \"15-Oct-2026\", \"due_date\": \"30-Oct-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}], \"subtotal\": 18180.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 18180.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45162 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0743", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-45206", "grn_number": "GRN-88176", "invoice_number": "VEP-100667", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 19628.0, "po_tax": 1570.24, "po_freight": 0.0, "po_total": 21198.24, "invoice_subtotal": 19628.0, "invoice_tax": 1570.24, "invoice_freight": 0.0, "invoice_total": 21198.24, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0743/PO-2026-45206.png", "grn_file": "documents/CASE_0743/GRN-88176.docx", "invoice_file": "documents/CASE_0743/VEP-100667.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0743/PO-2026-45206.png", "documents/CASE_0743/GRN-88176.docx", "documents/CASE_0743/VEP-100667.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "14 delivered units of ELC-7260 failed dock inspection and were rejected, but vendor billed full 50 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"ELC-7260\", \"po_qty\": 50, \"received_qty\": 50, \"accepted_qty\": 36, \"rejected_qty\": 14, \"invoiced_qty\": 50, \"variance_amount\": 4340.0, \"note\": \"14 delivered units of ELC-7260 failed dock inspection and were rejected, but vendor billed full 50 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45206\", \"order_date\": \"01-Oct-2026\", \"expected_delivery\": \"11-Oct-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 19628.0, \"tax_rate\": 0.08, \"tax\": 1570.24, \"freight\": 0.0, \"total\": 21198.24, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88176\", \"po_number\": \"PO-2026-45206\", \"received_date\": \"2026-10-13\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-762014\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 36, \"qty_rejected\": 14, \"condition\": \"14 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"14 units of ELC-7260 water/crush damaged; refused & RMA requested! Accepted 36. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-762014\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-100667\", \"po_number\": \"PO-2026-45206\", \"grn_ref\": \"GRN-88176\", \"invoice_date\": \"Oct 18, 2026\", \"due_date\": \"Dec 02, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 19628.0, \"tax_rate\": 0.08, \"tax\": 1570.24, \"freight\": 0.0, \"total\": 21198.24, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45206 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0747", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-45230", "grn_number": "GRN-88222", "invoice_number": "KWS-100714", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 25000.0, "po_tax": 1500.0, "po_freight": 0.0, "po_total": 26500.0, "invoice_subtotal": 25000.0, "invoice_tax": 1500.0, "invoice_freight": 425.0, "invoice_total": 26925.0, "total_variance": 425.0, "num_documents": 3, "po_file": "documents/CASE_0747/PO-2026-45230.docx", "grn_file": "documents/CASE_0747/GRN-88222.pdf", "invoice_file": "documents/CASE_0747/KWS-100714.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0747/PO-2026-45230.docx", "documents/CASE_0747/GRN-88222.pdf", "documents/CASE_0747/KWS-100714.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 425.0, \"variance_amount\": 425.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45230\", \"order_date\": \"15-Sep-2026\", \"expected_delivery\": \"25-Sep-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 385.0, \"line_total\": 19250.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 115.0, \"line_total\": 5750.0}], \"subtotal\": 25000.0, \"tax_rate\": 0.06, \"tax\": 1500.0, \"freight\": 0.0, \"total\": 26500.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88222\", \"po_number\": \"PO-2026-45230\", \"received_date\": \"2026-09-29\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-734212\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-734212\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-100714\", \"po_number\": \"PO-2026-45230\", \"grn_ref\": \"GRN-88222\", \"invoice_date\": \"Sep 30, 2026\", \"due_date\": \"Oct 30, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 385.0, \"line_total\": 19250.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 115.0, \"line_total\": 5750.0}], \"subtotal\": 25000.0, \"tax_rate\": 0.06, \"tax\": 1500.0, \"freight\": 425.0, \"total\": 26925.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45230 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0756", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-45294", "grn_number": "GRN-88317", "invoice_number": "TP-100832", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 2355.0, "po_tax": 188.4, "po_freight": 0.0, "po_total": 2543.4, "invoice_subtotal": 2019.0, "invoice_tax": 161.52, "invoice_freight": 0.0, "invoice_total": 2180.52, "total_variance": -362.88, "num_documents": 3, "po_file": "documents/CASE_0756/PO-2026-45294.docx", "grn_file": "documents/CASE_0756/GRN-88317.jpg", "invoice_file": "documents/CASE_0756/TP-100832.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0756/PO-2026-45294.docx", "documents/CASE_0756/GRN-88317.jpg", "documents/CASE_0756/TP-100832.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 12/15 units received and accurately billed; keep PO open for remaining 3 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 1, \"sku\": \"LAB-2188\", \"po_qty\": 15, \"received_qty\": 12, \"invoiced_qty\": 12, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 12/15 units received and accurately billed; keep PO open for remaining 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45294\", \"order_date\": \"2026-04-27\", \"expected_delivery\": \"2026-05-07\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}], \"subtotal\": 2355.0, \"tax_rate\": 0.08, \"tax\": 188.4, \"freight\": 0.0, \"total\": 2543.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88317\", \"po_number\": \"PO-2026-45294\", \"received_date\": \"May 10, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-638697\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 15, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (3 BAG remaining)\"}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (12/15 LAB-2188). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-638697\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-100832\", \"po_number\": \"PO-2026-45294\", \"grn_ref\": \"GRN-88317\", \"invoice_date\": \"05/13/2026\", \"due_date\": \"05/28/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 12, \"unit_price\": 112.0, \"line_total\": 1344.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}], \"subtotal\": 2019.0, \"tax_rate\": 0.08, \"tax\": 161.52, \"freight\": 0.0, \"total\": 2180.52, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45294 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0759", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-45317", "grn_number": "GRN-88354", "invoice_number": "TP-100873", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 2696.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 2696.0, "invoice_subtotal": 3256.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 3256.0, "total_variance": 560.0, "num_documents": 3, "po_file": "documents/CASE_0759/PO-2026-45317.docx", "grn_file": "documents/CASE_0759/GRN-88354.pdf", "invoice_file": "documents/CASE_0759/TP-100873.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0759/PO-2026-45317.docx", "documents/CASE_0759/GRN-88354.pdf", "documents/CASE_0759/TP-100873.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item LAB-2188 ($560.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 3, \"sku\": \"LAB-2188\", \"invoiced_qty\": 5, \"invoice_unit_price\": 112.0, \"variance_amount\": 560.0, \"note\": \"Invoice includes line item LAB-2188 ($560.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45317\", \"order_date\": \"07-Sep-2026\", \"expected_delivery\": \"17-Sep-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 164.0, \"line_total\": 1640.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}], \"subtotal\": 2696.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 2696.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88354\", \"po_number\": \"PO-2026-45317\", \"received_date\": \"2026-09-21\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-845713\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-845713\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-100873\", \"po_number\": \"PO-2026-45317\", \"grn_ref\": \"GRN-88354\", \"invoice_date\": \"Sep 21, 2026\", \"due_date\": \"Oct 06, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 164.0, \"line_total\": 1640.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}], \"subtotal\": 3256.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 3256.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45317 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0760", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-45322", "grn_number": "GRN-88367", "invoice_number": "SSP-100882", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 10272.0, "po_tax": 616.32, "po_freight": 0.0, "po_total": 10888.32, "invoice_subtotal": 10272.0, "invoice_tax": 616.32, "invoice_freight": 0.0, "invoice_total": 10888.32, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0760/PO-2026-45322.pdf", "grn_file": "documents/CASE_0760/GRN-88367.jpg", "invoice_file": "documents/CASE_0760/SSP-100882.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0760/PO-2026-45322.pdf", "documents/CASE_0760/GRN-88367.jpg", "documents/CASE_0760/SSP-100882.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45322\", \"order_date\": \"2026-01-11\", \"expected_delivery\": \"2026-01-21\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}], \"subtotal\": 10272.0, \"tax_rate\": 0.06, \"tax\": 616.32, \"freight\": 0.0, \"total\": 10888.32, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88367\", \"po_number\": \"PO-2026-45322\", \"received_date\": \"Jan 20, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-875802\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-875802\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-100882\", \"po_number\": \"PO-2026-45322\", \"grn_ref\": \"GRN-88367\", \"invoice_date\": \"01/21/2026\", \"due_date\": \"02/20/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}], \"subtotal\": 10272.0, \"tax_rate\": 0.06, \"tax\": 616.32, \"freight\": 0.0, \"total\": 10888.32, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45322 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0761", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-45332", "grn_number": "GRN-88380", "invoice_number": "INV-APX-100895", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 3830.0, "po_tax": 315.98, "po_freight": 50.0, "po_total": 4195.98, "invoice_subtotal": 3830.0, "invoice_tax": 315.98, "invoice_freight": 50.0, "invoice_total": 4195.98, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0761/PO-2026-45332.png", "grn_file": "documents/CASE_0761/GRN-88380.docx", "invoice_file": "documents/CASE_0761/INV-APX-100895.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0761/PO-2026-45332.png", "documents/CASE_0761/GRN-88380.docx", "documents/CASE_0761/INV-APX-100895.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IND-4401 failed dock inspection and were rejected, but vendor billed full 5 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"IND-4401\", \"po_qty\": 5, \"received_qty\": 5, \"accepted_qty\": 3, \"rejected_qty\": 2, \"invoiced_qty\": 5, \"variance_amount\": 370.0, \"note\": \"2 delivered units of IND-4401 failed dock inspection and were rejected, but vendor billed full 5 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45332\", \"order_date\": \"Aug 17, 2026\", \"expected_delivery\": \"Aug 27, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}], \"subtotal\": 3830.0, \"tax_rate\": 0.0825, \"tax\": 315.98, \"freight\": 50.0, \"total\": 4195.98, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88380\", \"po_number\": \"PO-2026-45332\", \"received_date\": \"08/25/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-111480\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 3, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IND-4401 water/crush damaged; refused & RMA requested! Accepted 3. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-111480\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-100895\", \"po_number\": \"PO-2026-45332\", \"grn_ref\": \"GRN-88380\", \"invoice_date\": \"31-Aug-2026\", \"due_date\": \"30-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}], \"subtotal\": 3830.0, \"tax_rate\": 0.0825, \"tax\": 315.98, \"freight\": 50.0, \"total\": 4195.98, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45332 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0762", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-45335", "grn_number": "GRN-88385", "invoice_number": "VEP-100914", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 9490.0, "po_tax": 688.03, "po_freight": 0.0, "po_total": 10178.03, "invoice_subtotal": 9757.0, "invoice_tax": 707.38, "invoice_freight": 0.0, "invoice_total": 10464.38, "total_variance": 286.35, "num_documents": 3, "po_file": "documents/CASE_0762/PO-2026-45335.docx", "grn_file": "documents/CASE_0762/GRN-88385.jpg", "invoice_file": "documents/CASE_0762/VEP-100914.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0762/PO-2026-45335.docx", "documents/CASE_0762/GRN-88385.jpg", "documents/CASE_0762/VEP-100914.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_qty\": 10, \"received_qty\": 13, \"invoiced_qty\": 13, \"over_qty\": 3, \"variance_amount\": 267.0, \"note\": \"Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45335\", \"order_date\": \"01/31/2026\", \"expected_delivery\": \"02/10/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 9490.0, \"tax_rate\": 0.0725, \"tax\": 688.03, \"freight\": 0.0, \"total\": 10178.03, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88385\", \"po_number\": \"PO-2026-45335\", \"received_date\": \"04-Feb-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-465761\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 13, \"qty_accepted\": 13, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 13 (3 extra over PO) on ELC-7218. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-465761\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-100914\", \"po_number\": \"PO-2026-45335\", \"grn_ref\": \"GRN-88385\", \"invoice_date\": \"2026-02-08\", \"due_date\": \"2026-02-23\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 13, \"unit_price\": 89.0, \"line_total\": 1157.0}], \"subtotal\": 9757.0, \"tax_rate\": 0.0725, \"tax\": 707.38, \"freight\": 0.0, \"total\": 10464.38, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45335 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0765", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-45358", "grn_number": "GRN-88420", "invoice_number": "NSI-100947", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 15875.0, "po_tax": 1150.94, "po_freight": 0.0, "po_total": 17025.94, "invoice_subtotal": 15875.0, "invoice_tax": 1150.94, "invoice_freight": 0.0, "invoice_total": 17025.94, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0765/PO-2026-45358.docx", "grn_file": "documents/CASE_0765/GRN-88420.pdf", "invoice_file": "documents/CASE_0765/NSI-100947.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0765/PO-2026-45358.docx", "documents/CASE_0765/GRN-88420.pdf", "documents/CASE_0765/NSI-100947.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45358\", \"order_date\": \"Feb 10, 2026\", \"expected_delivery\": \"Feb 20, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}], \"subtotal\": 15875.0, \"tax_rate\": 0.0725, \"tax\": 1150.94, \"freight\": 0.0, \"total\": 17025.94, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88420\", \"po_number\": \"PO-2026-45358\", \"received_date\": \"02/19/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-319350\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-319350\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-100947\", \"po_number\": \"PO-2026-45358\", \"grn_ref\": \"GRN-88420\", \"invoice_date\": \"20-Feb-2026\", \"due_date\": \"22-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}], \"subtotal\": 15875.0, \"tax_rate\": 0.0725, \"tax\": 1150.94, \"freight\": 0.0, \"total\": 17025.94, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45358 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0767", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-45373", "grn_number": "GRN-88445", "invoice_number": "NSI-100975", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 85475.0, "po_tax": 6838.0, "po_freight": 50.0, "po_total": 92363.0, "invoice_subtotal": 85475.0, "invoice_tax": 6838.0, "invoice_freight": 50.0, "invoice_total": 92363.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0767/PO-2026-45373.png", "grn_file": "documents/CASE_0767/GRN-88445.docx", "invoice_file": "documents/CASE_0767/NSI-100975.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0767/PO-2026-45373.png", "documents/CASE_0767/GRN-88445.docx", "documents/CASE_0767/NSI-100975.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45373\", \"order_date\": \"03-Apr-2026\", \"expected_delivery\": \"13-Apr-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 245.0, \"line_total\": 3675.0}], \"subtotal\": 85475.0, \"tax_rate\": 0.08, \"tax\": 6838.0, \"freight\": 50.0, \"total\": 92363.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88445\", \"po_number\": \"PO-2026-45373\", \"received_date\": \"2026-04-07\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-327555\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-327555\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-100975\", \"po_number\": \"PO-2026-45373\", \"grn_ref\": \"GRN-88445\", \"invoice_date\": \"Apr 11, 2026\", \"due_date\": \"May 26, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 245.0, \"line_total\": 3675.0}], \"subtotal\": 85475.0, \"tax_rate\": 0.08, \"tax\": 6838.0, \"freight\": 50.0, \"total\": 92363.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45373 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0773", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-45413", "grn_number": "GRN-88510", "invoice_number": "KWS-101056", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 44390.0, "po_tax": 2663.4, "po_freight": 0.0, "po_total": 47053.4, "invoice_subtotal": 44390.0, "invoice_tax": 2663.4, "invoice_freight": 5.68, "invoice_total": 47059.08, "total_variance": 5.68, "num_documents": 3, "po_file": "documents/CASE_0773/PO-2026-45413.png", "grn_file": "documents/CASE_0773/GRN-88510.docx", "invoice_file": "documents/CASE_0773/KWS-101056.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0773/PO-2026-45413.png", "documents/CASE_0773/GRN-88510.docx", "documents/CASE_0773/KWS-101056.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $5.68 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 5.68, \"variance_amount\": 5.68, \"note\": \"Prepaid & Add shipping fee of $5.68 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45413\", \"order_date\": \"Jan 17, 2026\", \"expected_delivery\": \"Jan 27, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}], \"subtotal\": 44390.0, \"tax_rate\": 0.06, \"tax\": 2663.4, \"freight\": 0.0, \"total\": 47053.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88510\", \"po_number\": \"PO-2026-45413\", \"received_date\": \"01/25/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-411006\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-411006\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-101056\", \"po_number\": \"PO-2026-45413\", \"grn_ref\": \"GRN-88510\", \"invoice_date\": \"29-Jan-2026\", \"due_date\": \"28-Feb-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}], \"subtotal\": 44390.0, \"tax_rate\": 0.06, \"tax\": 2663.4, \"freight\": 5.68, \"total\": 47059.08, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45413 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0786", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-45504", "grn_number": "GRN-88655", "invoice_number": "PKR-101227", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 6258.5, "po_tax": 516.33, "po_freight": 0.0, "po_total": 6774.83, "invoice_subtotal": 6258.5, "invoice_tax": 516.33, "invoice_freight": 0.0, "invoice_total": 6774.83, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0786/PO-2026-45504.docx", "grn_file": "documents/CASE_0786/GRN-88655.jpg", "invoice_file": "documents/CASE_0786/PKR-101227.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0786/PO-2026-45504.docx", "documents/CASE_0786/GRN-88655.jpg", "documents/CASE_0786/PKR-101227.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45504\", \"order_date\": \"06/29/2026\", \"expected_delivery\": \"07/09/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 22.5, \"line_total\": 112.5}, {\"line_no\": 4, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 64.0, \"line_total\": 1536.0}], \"subtotal\": 6258.5, \"tax_rate\": 0.0825, \"tax\": 516.33, \"freight\": 0.0, \"total\": 6774.83, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88655\", \"po_number\": \"PO-2026-45504\", \"received_date\": \"04-Jul-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-774837\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-774837\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-101227\", \"po_number\": \"PO-2026-45504\", \"grn_ref\": \"GRN-88655\", \"invoice_date\": \"2026-07-08\", \"due_date\": \"2026-08-07\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 22.5, \"line_total\": 112.5}, {\"line_no\": 4, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 64.0, \"line_total\": 1536.0}], \"subtotal\": 6258.5, \"tax_rate\": 0.0825, \"tax\": 516.33, \"freight\": 0.0, \"total\": 6774.83, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45504 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0791", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-45539", "grn_number": "", "invoice_number": "NSI-101286", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 54090.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 54090.0, "invoice_subtotal": 54090.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 54090.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0791/PO-2026-45539.png", "grn_file": "", "invoice_file": "documents/CASE_0791/NSI-101286.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0791/PO-2026-45539.png", "documents/CASE_0791/NSI-101286.pdf"], "file_formats": ["png", "pdf"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-45539\", \"invoice_number\": \"NSI-101286\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45539\", \"order_date\": \"17-Jul-2026\", \"expected_delivery\": \"27-Jul-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 520.0, \"line_total\": 20800.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 1180.0, \"line_total\": 14160.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 50, \"unit_price\": 58.0, \"line_total\": 2900.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}], \"subtotal\": 54090.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 54090.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-101286\", \"po_number\": \"PO-2026-45539\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"Aug 02, 2026\", \"due_date\": \"Sep 01, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 520.0, \"line_total\": 20800.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 1180.0, \"line_total\": 14160.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 50, \"unit_price\": 58.0, \"line_total\": 2900.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}], \"subtotal\": 54090.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 54090.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45539 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0794", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-45561", "grn_number": "GRN-88741", "invoice_number": "SSP-101326", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 20492.5, "po_tax": 1229.55, "po_freight": 50.0, "po_total": 21772.05, "invoice_subtotal": 20492.5, "invoice_tax": 1229.55, "invoice_freight": 50.0, "invoice_total": 21772.05, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0794/PO-2026-45561.jpg", "grn_file": "documents/CASE_0794/GRN-88741.pdf", "invoice_file": "documents/CASE_0794/SSP-101326.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0794/PO-2026-45561.jpg", "documents/CASE_0794/GRN-88741.pdf", "documents/CASE_0794/SSP-101326.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 50 units for IND-4566, but warehouse only received 35 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"IND-4566\", \"po_qty\": 50, \"received_qty\": 35, \"invoiced_qty\": 50, \"overbilled_qty\": 15, \"variance_amount\": 1380.0, \"note\": \"Vendor billed 50 units for IND-4566, but warehouse only received 35 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45561\", \"order_date\": \"08/20/2026\", \"expected_delivery\": \"08/30/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}], \"subtotal\": 20492.5, \"tax_rate\": 0.06, \"tax\": 1229.55, \"freight\": 50.0, \"total\": 21772.05, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88741\", \"po_number\": \"PO-2026-45561\", \"received_date\": \"25-Aug-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-391383\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 50, \"qty_received\": 35, \"qty_accepted\": 35, \"qty_rejected\": 0, \"condition\": \"Short 15 PAIL (Backordered)\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 35 of 50 on IND-4566 (short 15 PAIL). - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-391383\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-101326\", \"po_number\": \"PO-2026-45561\", \"grn_ref\": \"GRN-88741\", \"invoice_date\": \"2026-08-25\", \"due_date\": \"2026-09-24\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}], \"subtotal\": 20492.5, \"tax_rate\": 0.06, \"tax\": 1229.55, \"freight\": 50.0, \"total\": 21772.05, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45561 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0795", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-45568", "grn_number": "GRN-88746", "invoice_number": "NSI-101338", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 53462.0, "po_tax": 4276.96, "po_freight": 0.0, "po_total": 57738.96, "invoice_subtotal": 54974.45, "invoice_tax": 4397.96, "invoice_freight": 0.0, "invoice_total": 59372.41, "total_variance": 1633.45, "num_documents": 3, "po_file": "documents/CASE_0795/PO-2026-45568.docx", "grn_file": "documents/CASE_0795/GRN-88746.pdf", "invoice_file": "documents/CASE_0795/NSI-101338.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0795/PO-2026-45568.docx", "documents/CASE_0795/GRN-88746.pdf", "documents/CASE_0795/NSI-101338.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $620.83 exceeds contracted PO unit price $520.00 for IT-8814.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 4, \"sku\": \"IT-8814\", \"po_unit_price\": 520.0, \"invoice_unit_price\": 620.83, \"qty\": 15, \"variance_amount\": 1512.45, \"note\": \"Invoice unit price $620.83 exceeds contracted PO unit price $520.00 for IT-8814.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45568\", \"order_date\": \"31-May-2026\", \"expected_delivery\": \"10-Jun-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 690.0, \"line_total\": 13800.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 520.0, \"line_total\": 7800.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}], \"subtotal\": 53462.0, \"tax_rate\": 0.08, \"tax\": 4276.96, \"freight\": 0.0, \"total\": 57738.96, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88746\", \"po_number\": \"PO-2026-45568\", \"received_date\": \"2026-06-10\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-321552\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-321552\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-101338\", \"po_number\": \"PO-2026-45568\", \"grn_ref\": \"GRN-88746\", \"invoice_date\": \"Jun 10, 2026\", \"due_date\": \"Jul 25, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 24, \"unit_price\": 58.0, \"line_total\": 1392.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 690.0, \"line_total\": 13800.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 620.83, \"line_total\": 9312.45}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}], \"subtotal\": 54974.45, \"tax_rate\": 0.08, \"tax\": 4397.96, \"freight\": 0.0, \"total\": 59372.41, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45568 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0800", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-45602", "grn_number": "GRN-88803", "invoice_number": "PKR-101405", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2540.0, "po_tax": 152.4, "po_freight": 95.0, "po_total": 2787.4, "invoice_subtotal": 3072.0, "invoice_tax": 184.32, "invoice_freight": 95.0, "invoice_total": 3351.32, "total_variance": 563.92, "num_documents": 3, "po_file": "documents/CASE_0800/PO-2026-45602.jpg", "grn_file": "documents/CASE_0800/GRN-88803.pdf", "invoice_file": "documents/CASE_0800/PKR-101405.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0800/PO-2026-45602.jpg", "documents/CASE_0800/GRN-88803.pdf", "documents/CASE_0800/PKR-101405.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 37 units vs 30 ordered (+7 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"PKG-3025\", \"po_qty\": 30, \"received_qty\": 37, \"invoiced_qty\": 37, \"over_qty\": 7, \"variance_amount\": 532.0, \"note\": \"Shipped and billed 37 units vs 30 ordered (+7 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45602\", \"order_date\": \"2026-06-30\", \"expected_delivery\": \"2026-07-10\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 76.0, \"line_total\": 2280.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}], \"subtotal\": 2540.0, \"tax_rate\": 0.06, \"tax\": 152.4, \"freight\": 95.0, \"total\": 2787.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88803\", \"po_number\": \"PO-2026-45602\", \"received_date\": \"Jul 04, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-876890\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 37, \"qty_accepted\": 37, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+7 CS over PO)\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 37 (7 extra over PO) on PKG-3025. Held in quarantine. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-876890\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-101405\", \"po_number\": \"PO-2026-45602\", \"grn_ref\": \"GRN-88803\", \"invoice_date\": \"07/09/2026\", \"due_date\": \"08/23/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 37, \"unit_price\": 76.0, \"line_total\": 2812.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}], \"subtotal\": 3072.0, \"tax_rate\": 0.06, \"tax\": 184.32, \"freight\": 95.0, \"total\": 3351.32, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45602 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0802", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-45617", "grn_number": "GRN-88829", "invoice_number": "TP-101431", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 14970.0, "po_tax": 898.2, "po_freight": 0.0, "po_total": 15868.2, "invoice_subtotal": 14970.0, "invoice_tax": 898.2, "invoice_freight": 240.0, "invoice_total": 16108.2, "total_variance": 240.0, "num_documents": 3, "po_file": "documents/CASE_0802/PO-2026-45617.pdf", "grn_file": "documents/CASE_0802/GRN-88829.jpg", "invoice_file": "documents/CASE_0802/TP-101431.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0802/PO-2026-45617.pdf", "documents/CASE_0802/GRN-88829.jpg", "documents/CASE_0802/TP-101431.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 240.0, \"variance_amount\": 240.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45617\", \"order_date\": \"04/01/2026\", \"expected_delivery\": \"04/11/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 88.0, \"line_total\": 1320.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 135.0, \"line_total\": 6750.0}], \"subtotal\": 14970.0, \"tax_rate\": 0.06, \"tax\": 898.2, \"freight\": 0.0, \"total\": 15868.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88829\", \"po_number\": \"PO-2026-45617\", \"received_date\": \"08-Apr-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-449444\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-449444\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-101431\", \"po_number\": \"PO-2026-45617\", \"grn_ref\": \"GRN-88829\", \"invoice_date\": \"2026-04-13\", \"due_date\": \"2026-05-28\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 88.0, \"line_total\": 1320.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 135.0, \"line_total\": 6750.0}], \"subtotal\": 14970.0, \"tax_rate\": 0.06, \"tax\": 898.2, \"freight\": 240.0, \"total\": 16108.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45617 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0803", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-45623", "grn_number": "GRN-88841", "invoice_number": "PKR-101443", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2978.0, "po_tax": 178.68, "po_freight": 0.0, "po_total": 3156.68, "invoice_subtotal": 2978.0, "invoice_tax": 178.68, "invoice_freight": 315.0, "invoice_total": 3471.68, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_0803/PO-2026-45623.png", "grn_file": "documents/CASE_0803/GRN-88841.docx", "invoice_file": "documents/CASE_0803/PKR-101443.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0803/PO-2026-45623.png", "documents/CASE_0803/GRN-88841.docx", "documents/CASE_0803/PKR-101443.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45623\", \"order_date\": \"31-May-2026\", \"expected_delivery\": \"10-Jun-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 24, \"unit_price\": 52.0, \"line_total\": 1248.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 22.5, \"line_total\": 450.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}], \"subtotal\": 2978.0, \"tax_rate\": 0.06, \"tax\": 178.68, \"freight\": 0.0, \"total\": 3156.68, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88841\", \"po_number\": \"PO-2026-45623\", \"received_date\": \"2026-06-14\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-473514\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-473514\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-101443\", \"po_number\": \"PO-2026-45623\", \"grn_ref\": \"GRN-88841\", \"invoice_date\": \"Jun 18, 2026\", \"due_date\": \"Aug 02, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 24, \"unit_price\": 52.0, \"line_total\": 1248.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 22.5, \"line_total\": 450.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}], \"subtotal\": 2978.0, \"tax_rate\": 0.06, \"tax\": 178.68, \"freight\": 315.0, \"total\": 3471.68, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45623 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0805", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-45639", "grn_number": "", "invoice_number": "PPS-101474", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 27850.0, "po_tax": 2019.13, "po_freight": 0.0, "po_total": 29869.13, "invoice_subtotal": 27850.0, "invoice_tax": 2019.13, "invoice_freight": 0.0, "invoice_total": 29869.13, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0805/PO-2026-45639.pdf", "grn_file": "", "invoice_file": "documents/CASE_0805/PPS-101474.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0805/PO-2026-45639.pdf", "documents/CASE_0805/PPS-101474.png"], "file_formats": ["pdf", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-45639\", \"invoice_number\": \"PPS-101474\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45639\", \"order_date\": \"Feb 20, 2026\", \"expected_delivery\": \"Mar 02, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}], \"subtotal\": 27850.0, \"tax_rate\": 0.0725, \"tax\": 2019.13, \"freight\": 0.0, \"total\": 29869.13, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-101474\", \"po_number\": \"PO-2026-45639\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"03-Mar-2026\", \"due_date\": \"18-Mar-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}], \"subtotal\": 27850.0, \"tax_rate\": 0.0725, \"tax\": 2019.13, \"freight\": 0.0, \"total\": 29869.13, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45639 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0807", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-45653", "grn_number": "GRN-88881", "invoice_number": "PPS-101496", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 22230.0, "po_tax": 1611.68, "po_freight": 0.0, "po_total": 23841.68, "invoice_subtotal": 21300.0, "invoice_tax": 1544.25, "invoice_freight": 0.0, "invoice_total": 22844.25, "total_variance": -997.43, "num_documents": 3, "po_file": "documents/CASE_0807/PO-2026-45653.docx", "grn_file": "documents/CASE_0807/GRN-88881.pdf", "invoice_file": "documents/CASE_0807/PPS-101496.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0807/PO-2026-45653.docx", "documents/CASE_0807/GRN-88881.pdf", "documents/CASE_0807/PPS-101496.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 7/10 units received and accurately billed; keep PO open for remaining 3 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"ELC-7260\", \"po_qty\": 10, \"received_qty\": 7, \"invoiced_qty\": 7, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 7/10 units received and accurately billed; keep PO open for remaining 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45653\", \"order_date\": \"11-Mar-2026\", \"expected_delivery\": \"21-Mar-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 22230.0, \"tax_rate\": 0.0725, \"tax\": 1611.68, \"freight\": 0.0, \"total\": 23841.68, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-88881\", \"po_number\": \"PO-2026-45653\", \"received_date\": \"2026-03-17\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-921032\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 7, \"qty_accepted\": 7, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (3 SPOOL remaining)\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (7/10 ELC-7260). Balance on BO. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-921032\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-101496\", \"po_number\": \"PO-2026-45653\", \"grn_ref\": \"GRN-88881\", \"invoice_date\": \"Mar 17, 2026\", \"due_date\": \"May 01, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 7, \"unit_price\": 310.0, \"line_total\": 2170.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 21300.0, \"tax_rate\": 0.0725, \"tax\": 1544.25, \"freight\": 0.0, \"total\": 22844.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45653 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0818", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-45727", "grn_number": "GRN-89002", "invoice_number": "INV-APX-101640", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 12140.0, "po_tax": 880.15, "po_freight": 0.0, "po_total": 13020.15, "invoice_subtotal": 12140.0, "invoice_tax": 880.15, "invoice_freight": 425.0, "invoice_total": 13445.15, "total_variance": 425.0, "num_documents": 3, "po_file": "documents/CASE_0818/PO-2026-45727.jpg", "grn_file": "documents/CASE_0818/GRN-89002.pdf", "invoice_file": "documents/CASE_0818/INV-APX-101640.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0818/PO-2026-45727.jpg", "documents/CASE_0818/GRN-89002.pdf", "documents/CASE_0818/INV-APX-101640.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 425.0, \"variance_amount\": 425.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45727\", \"order_date\": \"03/10/2026\", \"expected_delivery\": \"03/20/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}], \"subtotal\": 12140.0, \"tax_rate\": 0.0725, \"tax\": 880.15, \"freight\": 0.0, \"total\": 13020.15, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89002\", \"po_number\": \"PO-2026-45727\", \"received_date\": \"17-Mar-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-799414\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-799414\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-101640\", \"po_number\": \"PO-2026-45727\", \"grn_ref\": \"GRN-89002\", \"invoice_date\": \"2026-03-19\", \"due_date\": \"2026-04-18\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}], \"subtotal\": 12140.0, \"tax_rate\": 0.0725, \"tax\": 880.15, \"freight\": 425.0, \"total\": 13445.15, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45727 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0826", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-45787", "grn_number": "GRN-89092", "invoice_number": "VEP-101739", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 1821.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 1821.0, "invoice_subtotal": 1821.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 1821.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0826/PO-2026-45787.pdf", "grn_file": "documents/CASE_0826/GRN-89092.jpg", "invoice_file": "documents/CASE_0826/VEP-101739.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0826/PO-2026-45787.pdf", "documents/CASE_0826/GRN-89092.jpg", "documents/CASE_0826/VEP-101739.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 5 units for ELC-7218, but warehouse only received 3 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"ELC-7218\", \"po_qty\": 5, \"received_qty\": 3, \"invoiced_qty\": 5, \"overbilled_qty\": 2, \"variance_amount\": 178.0, \"note\": \"Vendor billed 5 units for ELC-7218, but warehouse only received 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45787\", \"order_date\": \"03/31/2026\", \"expected_delivery\": \"04/10/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 1821.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 1821.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89092\", \"po_number\": \"PO-2026-45787\", \"received_date\": \"12-Apr-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-293930\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 3, \"qty_accepted\": 3, \"qty_rejected\": 0, \"condition\": \"Short 2 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 3 of 5 on ELC-7218 (short 2 EA). - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-293930\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-101739\", \"po_number\": \"PO-2026-45787\", \"grn_ref\": \"GRN-89092\", \"invoice_date\": \"2026-04-12\", \"due_date\": \"2026-05-27\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 1821.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 1821.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45787 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0828", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-45799", "grn_number": "GRN-89112", "invoice_number": "NSI-101772", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 50896.0, "po_tax": 3689.96, "po_freight": 0.0, "po_total": 54585.96, "invoice_subtotal": 50896.0, "invoice_tax": 3689.96, "invoice_freight": 0.0, "invoice_total": 54585.96, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0828/PO-2026-45799.docx", "grn_file": "documents/CASE_0828/GRN-89112.jpg", "invoice_file": "documents/CASE_0828/NSI-101772.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0828/PO-2026-45799.docx", "documents/CASE_0828/GRN-89112.jpg", "documents/CASE_0828/NSI-101772.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45799\", \"order_date\": \"2026-06-28\", \"expected_delivery\": \"2026-07-08\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}], \"subtotal\": 50896.0, \"tax_rate\": 0.0725, \"tax\": 3689.96, \"freight\": 0.0, \"total\": 54585.96, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89112\", \"po_number\": \"PO-2026-45799\", \"received_date\": \"Jul 08, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-113472\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-113472\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-101772\", \"po_number\": \"PO-2026-45799\", \"grn_ref\": \"GRN-89112\", \"invoice_date\": \"07/10/2026\", \"due_date\": \"07/25/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}], \"subtotal\": 50896.0, \"tax_rate\": 0.0725, \"tax\": 3689.96, \"freight\": 0.0, \"total\": 54585.96, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45799 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0843", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-45902", "grn_number": "", "invoice_number": "INV-APX-101967", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 9742.5, "po_tax": 803.76, "po_freight": 0.0, "po_total": 10546.26, "invoice_subtotal": 9742.5, "invoice_tax": 803.76, "invoice_freight": 0.0, "invoice_total": 10546.26, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0843/PO-2026-45902.docx", "grn_file": "", "invoice_file": "documents/CASE_0843/INV-APX-101967.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0843/PO-2026-45902.docx", "documents/CASE_0843/INV-APX-101967.png"], "file_formats": ["docx", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-45902\", \"invoice_number\": \"INV-APX-101967\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45902\", \"order_date\": \"12-Jun-2026\", \"expected_delivery\": \"22-Jun-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}], \"subtotal\": 9742.5, \"tax_rate\": 0.0825, \"tax\": 803.76, \"freight\": 0.0, \"total\": 10546.26, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-101967\", \"po_number\": \"PO-2026-45902\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"Jun 22, 2026\", \"due_date\": \"Jul 22, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}], \"subtotal\": 9742.5, \"tax_rate\": 0.0825, \"tax\": 803.76, \"freight\": 0.0, \"total\": 10546.26, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45902 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0846", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-45927", "grn_number": "GRN-89308", "invoice_number": "TP-102003", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 19448.0, "po_tax": 1555.84, "po_freight": 75.0, "po_total": 21078.84, "invoice_subtotal": 19930.64, "invoice_tax": 1594.45, "invoice_freight": 75.0, "invoice_total": 21600.09, "total_variance": 521.25, "num_documents": 3, "po_file": "documents/CASE_0846/PO-2026-45927.docx", "grn_file": "documents/CASE_0846/GRN-89308.jpg", "invoice_file": "documents/CASE_0846/TP-102003.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0846/PO-2026-45927.docx", "documents/CASE_0846/GRN-89308.jpg", "documents/CASE_0846/TP-102003.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $155.11 exceeds contracted PO unit price $135.00 for LAB-2104.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"LAB-2104\", \"po_unit_price\": 135.0, \"invoice_unit_price\": 155.11, \"qty\": 24, \"variance_amount\": 482.64, \"note\": \"Invoice unit price $155.11 exceeds contracted PO unit price $135.00 for LAB-2104.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45927\", \"order_date\": \"04/13/2026\", \"expected_delivery\": \"04/23/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 164.0, \"line_total\": 1968.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 135.0, \"line_total\": 3240.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 88.0, \"line_total\": 440.0}], \"subtotal\": 19448.0, \"tax_rate\": 0.08, \"tax\": 1555.84, \"freight\": 75.0, \"total\": 21078.84, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89308\", \"po_number\": \"PO-2026-45927\", \"received_date\": \"19-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-355723\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-355723\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-102003\", \"po_number\": \"PO-2026-45927\", \"grn_ref\": \"GRN-89308\", \"invoice_date\": \"2026-04-25\", \"due_date\": \"2026-05-25\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 164.0, \"line_total\": 1968.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 155.11, \"line_total\": 3722.64}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 88.0, \"line_total\": 440.0}], \"subtotal\": 19930.64, \"tax_rate\": 0.08, \"tax\": 1594.45, \"freight\": 75.0, \"total\": 21600.09, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45927 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0849", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-45944", "grn_number": "GRN-89344", "invoice_number": "TP-102044", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 7969.0, "po_tax": 657.44, "po_freight": 75.0, "po_total": 8701.44, "invoice_subtotal": 7969.0, "invoice_tax": 657.44, "invoice_freight": 75.0, "invoice_total": 8881.44, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_0849/PO-2026-45944.docx", "grn_file": "documents/CASE_0849/GRN-89344.pdf", "invoice_file": "documents/CASE_0849/TP-102044.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0849/PO-2026-45944.docx", "documents/CASE_0849/GRN-89344.pdf", "documents/CASE_0849/TP-102044.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($7969.00) + Tax ($657.44) + Freight ($75.00) = $8701.44, but Invoice Total Due states $8881.44.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 8701.44, \"invoice_stated_total\": 8881.44, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($7969.00) + Tax ($657.44) + Freight ($75.00) = $8701.44, but Invoice Total Due states $8881.44.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45944\", \"order_date\": \"Jan 20, 2026\", \"expected_delivery\": \"Jan 30, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 12, \"unit_price\": 112.0, \"line_total\": 1344.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}], \"subtotal\": 7969.0, \"tax_rate\": 0.0825, \"tax\": 657.44, \"freight\": 75.0, \"total\": 8701.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89344\", \"po_number\": \"PO-2026-45944\", \"received_date\": \"02/01/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-928281\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-928281\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-102044\", \"po_number\": \"PO-2026-45944\", \"grn_ref\": \"GRN-89344\", \"invoice_date\": \"04-Feb-2026\", \"due_date\": \"06-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 12, \"unit_price\": 112.0, \"line_total\": 1344.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}], \"subtotal\": 7969.0, \"tax_rate\": 0.0825, \"tax\": 657.44, \"freight\": 75.0, \"total\": 8881.44, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45944 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0850", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-45955", "grn_number": "GRN-89351", "invoice_number": "SSP-102059", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 11910.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 11910.0, "invoice_subtotal": 11910.0, "invoice_tax": 0.0, "invoice_freight": 10.57, "invoice_total": 11920.57, "total_variance": 10.57, "num_documents": 3, "po_file": "documents/CASE_0850/PO-2026-45955.pdf", "grn_file": "documents/CASE_0850/GRN-89351.jpg", "invoice_file": "documents/CASE_0850/SSP-102059.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0850/PO-2026-45955.pdf", "documents/CASE_0850/GRN-89351.jpg", "documents/CASE_0850/SSP-102059.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $10.57 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 10.57, \"variance_amount\": 10.57, \"note\": \"Prepaid & Add shipping fee of $10.57 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45955\", \"order_date\": \"02/24/2026\", \"expected_delivery\": \"03/06/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}], \"subtotal\": 11910.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 11910.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89351\", \"po_number\": \"PO-2026-45955\", \"received_date\": \"28-Feb-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-960624\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-960624\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-102059\", \"po_number\": \"PO-2026-45955\", \"grn_ref\": \"GRN-89351\", \"invoice_date\": \"2026-02-28\", \"due_date\": \"2026-03-30\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}], \"subtotal\": 11910.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 10.57, \"total\": 11920.57, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45955 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0852", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-45966", "grn_number": "GRN-89373", "invoice_number": "PPS-102083", "duplicate_invoice_number": "PPS-102083-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 6112.0, "po_tax": 504.24, "po_freight": 0.0, "po_total": 6616.24, "invoice_subtotal": 6112.0, "invoice_tax": 504.24, "invoice_freight": 0.0, "invoice_total": 6616.24, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0852/PO-2026-45966.docx", "grn_file": "documents/CASE_0852/GRN-89373.jpg", "invoice_file": "documents/CASE_0852/PPS-102083.pdf", "duplicate_invoice_file": "documents/CASE_0852/PPS-102083-R1.jpg", "file_paths": ["documents/CASE_0852/PO-2026-45966.docx", "documents/CASE_0852/GRN-89373.jpg", "documents/CASE_0852/PPS-102083.pdf", "documents/CASE_0852/PPS-102083-R1.jpg"], "file_formats": ["docx", "jpg", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PPS-102083' and 'PPS-102083-R1' bill $6616.24 against single receipt 'GRN-89373' / PO 'PO-2026-45966'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PPS-102083\", \"duplicate_invoice_number\": \"PPS-102083-R1\", \"duplicate_billed_amount\": 6616.24, \"variance_amount\": 6616.24, \"note\": \"Duplicate billing detected: both 'PPS-102083' and 'PPS-102083-R1' bill $6616.24 against single receipt 'GRN-89373' / PO 'PO-2026-45966'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45966\", \"order_date\": \"2026-02-24\", \"expected_delivery\": \"2026-03-06\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}], \"subtotal\": 6112.0, \"tax_rate\": 0.0825, \"tax\": 504.24, \"freight\": 0.0, \"total\": 6616.24, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89373\", \"po_number\": \"PO-2026-45966\", \"received_date\": \"Feb 28, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-621346\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-621346\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-102083\", \"po_number\": \"PO-2026-45966\", \"grn_ref\": \"GRN-89373\", \"invoice_date\": \"03/02/2026\", \"due_date\": \"04/01/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}], \"subtotal\": 6112.0, \"tax_rate\": 0.0825, \"tax\": 504.24, \"freight\": 0.0, \"total\": 6616.24, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45966 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PPS-102083-R1\", \"po_number\": \"PO-2026-45966\", \"grn_ref\": \"GRN-89373\", \"invoice_date\": \"03/11/2026\", \"due_date\": \"04/10/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}], \"subtotal\": 6112.0, \"tax_rate\": 0.0825, \"tax\": 504.24, \"freight\": 0.0, \"total\": 6616.24, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-621346. Please remit to lockbox.\"}}"} {"case_id": "CASE_0854", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-45982", "grn_number": "GRN-89399", "invoice_number": "PPS-102106", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 35320.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 35320.0, "invoice_subtotal": 35320.0, "invoice_tax": 0.0, "invoice_freight": 5.64, "invoice_total": 35325.64, "total_variance": 5.64, "num_documents": 3, "po_file": "documents/CASE_0854/PO-2026-45982.jpg", "grn_file": "documents/CASE_0854/GRN-89399.pdf", "invoice_file": "documents/CASE_0854/PPS-102106.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0854/PO-2026-45982.jpg", "documents/CASE_0854/GRN-89399.pdf", "documents/CASE_0854/PPS-102106.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $5.64 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 5.64, \"variance_amount\": 5.64, \"note\": \"Prepaid & Add shipping fee of $5.64 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-45982\", \"order_date\": \"04/15/2026\", \"expected_delivery\": \"04/25/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}], \"subtotal\": 35320.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 35320.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89399\", \"po_number\": \"PO-2026-45982\", \"received_date\": \"27-Apr-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-947693\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-947693\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-102106\", \"po_number\": \"PO-2026-45982\", \"grn_ref\": \"GRN-89399\", \"invoice_date\": \"2026-05-02\", \"due_date\": \"2026-06-01\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}], \"subtotal\": 35320.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 5.64, \"total\": 35325.64, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-45982 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0858", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-46009", "grn_number": "GRN-89439", "invoice_number": "PPS-102161", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 14424.0, "po_tax": 1045.74, "po_freight": 75.0, "po_total": 15544.74, "invoice_subtotal": 15354.0, "invoice_tax": 1113.17, "invoice_freight": 75.0, "invoice_total": 16542.17, "total_variance": 997.43, "num_documents": 3, "po_file": "documents/CASE_0858/PO-2026-46009.docx", "grn_file": "documents/CASE_0858/GRN-89439.jpg", "invoice_file": "documents/CASE_0858/PPS-102161.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0858/PO-2026-46009.docx", "documents/CASE_0858/GRN-89439.jpg", "documents/CASE_0858/PPS-102161.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 4, \"sku\": \"ELC-7260\", \"po_qty\": 8, \"received_qty\": 11, \"invoiced_qty\": 11, \"over_qty\": 3, \"variance_amount\": 930.0, \"note\": \"Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46009\", \"order_date\": \"08/06/2026\", \"expected_delivery\": \"08/16/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}], \"subtotal\": 14424.0, \"tax_rate\": 0.0725, \"tax\": 1045.74, \"freight\": 75.0, \"total\": 15544.74, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89439\", \"po_number\": \"PO-2026-46009\", \"received_date\": \"20-Aug-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-669114\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 8, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 SPOOL over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 11 (3 extra over PO) on ELC-7260. Held in quarantine. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-669114\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-102161\", \"po_number\": \"PO-2026-46009\", \"grn_ref\": \"GRN-89439\", \"invoice_date\": \"2026-08-26\", \"due_date\": \"2026-09-10\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 11, \"unit_price\": 310.0, \"line_total\": 3410.0}], \"subtotal\": 15354.0, \"tax_rate\": 0.0725, \"tax\": 1113.17, \"freight\": 75.0, \"total\": 16542.17, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46009 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0864", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-46052", "grn_number": "GRN-89509", "invoice_number": "KWS-102234", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 34090.0, "po_tax": 2471.53, "po_freight": 0.0, "po_total": 36561.53, "invoice_subtotal": 34090.0, "invoice_tax": 2471.53, "invoice_freight": 0.0, "invoice_total": 36561.53, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0864/PO-2026-46052.docx", "grn_file": "documents/CASE_0864/GRN-89509.jpg", "invoice_file": "documents/CASE_0864/KWS-102234.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0864/PO-2026-46052.docx", "documents/CASE_0864/GRN-89509.jpg", "documents/CASE_0864/KWS-102234.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 24 units for FRN-6135, but warehouse only received 17 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"FRN-6135\", \"po_qty\": 24, \"received_qty\": 17, \"invoiced_qty\": 24, \"overbilled_qty\": 7, \"variance_amount\": 1470.0, \"note\": \"Vendor billed 24 units for FRN-6135, but warehouse only received 17 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46052\", \"order_date\": \"2026-09-10\", \"expected_delivery\": \"2026-09-20\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 115.0, \"line_total\": 3450.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}], \"subtotal\": 34090.0, \"tax_rate\": 0.0725, \"tax\": 2471.53, \"freight\": 0.0, \"total\": 36561.53, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89509\", \"po_number\": \"PO-2026-46052\", \"received_date\": \"Sep 19, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-282242\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 17, \"qty_accepted\": 17, \"qty_rejected\": 0, \"condition\": \"Short 7 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 17 of 24 on FRN-6135 (short 7 EA). - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-282242\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-102234\", \"po_number\": \"PO-2026-46052\", \"grn_ref\": \"GRN-89509\", \"invoice_date\": \"09/22/2026\", \"due_date\": \"10/22/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 115.0, \"line_total\": 3450.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}], \"subtotal\": 34090.0, \"tax_rate\": 0.0725, \"tax\": 2471.53, \"freight\": 0.0, \"total\": 36561.53, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46052 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0865", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-46060", "grn_number": "GRN-89524", "invoice_number": "VEP-102248", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 2765.0, "po_tax": 221.2, "po_freight": 0.0, "po_total": 2986.2, "invoice_subtotal": 2765.0, "invoice_tax": 221.2, "invoice_freight": 315.0, "invoice_total": 3301.2, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_0865/PO-2026-46060.pdf", "grn_file": "documents/CASE_0865/GRN-89524.docx", "invoice_file": "documents/CASE_0865/VEP-102248.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0865/PO-2026-46060.pdf", "documents/CASE_0865/GRN-89524.docx", "documents/CASE_0865/VEP-102248.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46060\", \"order_date\": \"Jun 18, 2026\", \"expected_delivery\": \"Jun 28, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}], \"subtotal\": 2765.0, \"tax_rate\": 0.08, \"tax\": 221.2, \"freight\": 0.0, \"total\": 2986.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89524\", \"po_number\": \"PO-2026-46060\", \"received_date\": \"06/27/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-960764\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-960764\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-102248\", \"po_number\": \"PO-2026-46060\", \"grn_ref\": \"GRN-89524\", \"invoice_date\": \"27-Jun-2026\", \"due_date\": \"11-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}], \"subtotal\": 2765.0, \"tax_rate\": 0.08, \"tax\": 221.2, \"freight\": 315.0, \"total\": 3301.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46060 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0869", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-46086", "grn_number": "GRN-89561", "invoice_number": "VEP-102303", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 1692.5, "po_tax": 122.71, "po_freight": 0.0, "po_total": 1815.21, "invoice_subtotal": 1692.5, "invoice_tax": 122.71, "invoice_freight": 4.54, "invoice_total": 1819.75, "total_variance": 4.54, "num_documents": 3, "po_file": "documents/CASE_0869/PO-2026-46086.png", "grn_file": "documents/CASE_0869/GRN-89561.docx", "invoice_file": "documents/CASE_0869/VEP-102303.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0869/PO-2026-46086.png", "documents/CASE_0869/GRN-89561.docx", "documents/CASE_0869/VEP-102303.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $4.54 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 4.54, \"variance_amount\": 4.54, \"note\": \"Prepaid & Add shipping fee of $4.54 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46086\", \"order_date\": \"Jan 10, 2026\", \"expected_delivery\": \"Jan 20, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}], \"subtotal\": 1692.5, \"tax_rate\": 0.0725, \"tax\": 122.71, \"freight\": 0.0, \"total\": 1815.21, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89561\", \"po_number\": \"PO-2026-46086\", \"received_date\": \"01/21/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-306041\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-306041\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-102303\", \"po_number\": \"PO-2026-46086\", \"grn_ref\": \"GRN-89561\", \"invoice_date\": \"26-Jan-2026\", \"due_date\": \"12-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}], \"subtotal\": 1692.5, \"tax_rate\": 0.0725, \"tax\": 122.71, \"freight\": 4.54, \"total\": 1819.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46086 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0872", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-46108", "grn_number": "GRN-89601", "invoice_number": "NSI-102341", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 32730.0, "po_tax": 1963.8, "po_freight": 35.0, "po_total": 34728.8, "invoice_subtotal": 33160.0, "invoice_tax": 1989.6, "invoice_freight": 35.0, "invoice_total": 35184.6, "total_variance": 455.8, "num_documents": 3, "po_file": "documents/CASE_0872/PO-2026-46108.jpg", "grn_file": "documents/CASE_0872/GRN-89601.pdf", "invoice_file": "documents/CASE_0872/NSI-102341.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0872/PO-2026-46108.jpg", "documents/CASE_0872/GRN-89601.pdf", "documents/CASE_0872/NSI-102341.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IT-8892 ($430.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 6, \"sku\": \"IT-8892\", \"invoiced_qty\": 2, \"invoice_unit_price\": 215.0, \"variance_amount\": 430.0, \"note\": \"Invoice includes line item IT-8892 ($430.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46108\", \"order_date\": \"2026-05-15\", \"expected_delivery\": \"2026-05-25\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 10, \"unit_price\": 58.0, \"line_total\": 580.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}], \"subtotal\": 32730.0, \"tax_rate\": 0.06, \"tax\": 1963.8, \"freight\": 35.0, \"total\": 34728.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89601\", \"po_number\": \"PO-2026-46108\", \"received_date\": \"May 25, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-779494\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-779494\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-102341\", \"po_number\": \"PO-2026-46108\", \"grn_ref\": \"GRN-89601\", \"invoice_date\": \"05/29/2026\", \"due_date\": \"06/28/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 10, \"unit_price\": 58.0, \"line_total\": 580.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 6, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 2, \"unit_price\": 215.0, \"line_total\": 430.0}], \"subtotal\": 33160.0, \"tax_rate\": 0.06, \"tax\": 1989.6, \"freight\": 35.0, \"total\": 35184.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46108 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0882", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-46175", "grn_number": "GRN-89711", "invoice_number": "PPS-102473", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 9191.0, "po_tax": 666.35, "po_freight": 0.0, "po_total": 9857.35, "invoice_subtotal": 9191.0, "invoice_tax": 666.35, "invoice_freight": 6.39, "invoice_total": 9863.74, "total_variance": 6.39, "num_documents": 3, "po_file": "documents/CASE_0882/PO-2026-46175.docx", "grn_file": "documents/CASE_0882/GRN-89711.jpg", "invoice_file": "documents/CASE_0882/PPS-102473.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0882/PO-2026-46175.docx", "documents/CASE_0882/GRN-89711.jpg", "documents/CASE_0882/PPS-102473.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $6.39 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 6.39, \"variance_amount\": 6.39, \"note\": \"Prepaid & Add shipping fee of $6.39 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46175\", \"order_date\": \"04/16/2026\", \"expected_delivery\": \"04/26/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}], \"subtotal\": 9191.0, \"tax_rate\": 0.0725, \"tax\": 666.35, \"freight\": 0.0, \"total\": 9857.35, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89711\", \"po_number\": \"PO-2026-46175\", \"received_date\": \"26-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-344602\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-344602\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-102473\", \"po_number\": \"PO-2026-46175\", \"grn_ref\": \"GRN-89711\", \"invoice_date\": \"2026-05-02\", \"due_date\": \"2026-06-01\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}], \"subtotal\": 9191.0, \"tax_rate\": 0.0725, \"tax\": 666.35, \"freight\": 6.39, \"total\": 9863.74, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46175 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0883", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-46183", "grn_number": "GRN-89718", "invoice_number": "SSP-102480", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 14510.0, "po_tax": 870.6, "po_freight": 0.0, "po_total": 15380.6, "invoice_subtotal": 14510.0, "invoice_tax": 870.6, "invoice_freight": 0.0, "invoice_total": 15380.6, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0883/PO-2026-46183.pdf", "grn_file": "documents/CASE_0883/GRN-89718.docx", "invoice_file": "documents/CASE_0883/SSP-102480.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0883/PO-2026-46183.pdf", "documents/CASE_0883/GRN-89718.docx", "documents/CASE_0883/SSP-102480.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "6 delivered units of IND-4566 failed dock inspection and were rejected, but vendor billed full 30 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"IND-4566\", \"po_qty\": 30, \"received_qty\": 30, \"accepted_qty\": 24, \"rejected_qty\": 6, \"invoiced_qty\": 30, \"variance_amount\": 552.0, \"note\": \"6 delivered units of IND-4566 failed dock inspection and were rejected, but vendor billed full 30 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46183\", \"order_date\": \"15-Jun-2026\", \"expected_delivery\": \"25-Jun-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}], \"subtotal\": 14510.0, \"tax_rate\": 0.06, \"tax\": 870.6, \"freight\": 0.0, \"total\": 15380.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89718\", \"po_number\": \"PO-2026-46183\", \"received_date\": \"2026-06-24\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-689722\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 24, \"qty_rejected\": 6, \"condition\": \"6 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"6 units of IND-4566 water/crush damaged; refused & RMA requested! Accepted 24. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-689722\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-102480\", \"po_number\": \"PO-2026-46183\", \"grn_ref\": \"GRN-89718\", \"invoice_date\": \"Jun 30, 2026\", \"due_date\": \"Jul 15, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}], \"subtotal\": 14510.0, \"tax_rate\": 0.06, \"tax\": 870.6, \"freight\": 0.0, \"total\": 15380.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46183 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0887", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-46213", "grn_number": "GRN-89764", "invoice_number": "TP-102534", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 8633.0, "po_tax": 517.98, "po_freight": 95.0, "po_total": 9245.98, "invoice_subtotal": 8633.0, "invoice_tax": 517.98, "invoice_freight": 95.0, "invoice_total": 9245.98, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0887/PO-2026-46213.png", "grn_file": "documents/CASE_0887/GRN-89764.docx", "invoice_file": "documents/CASE_0887/TP-102534.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0887/PO-2026-46213.png", "documents/CASE_0887/GRN-89764.docx", "documents/CASE_0887/TP-102534.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 50 units for LAB-2119, but warehouse only received 36 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"LAB-2119\", \"po_qty\": 50, \"received_qty\": 36, \"invoiced_qty\": 50, \"overbilled_qty\": 14, \"variance_amount\": 1232.0, \"note\": \"Vendor billed 50 units for LAB-2119, but warehouse only received 36 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46213\", \"order_date\": \"12-Sep-2026\", \"expected_delivery\": \"22-Sep-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 88.0, \"line_total\": 4400.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}], \"subtotal\": 8633.0, \"tax_rate\": 0.06, \"tax\": 517.98, \"freight\": 95.0, \"total\": 9245.98, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89764\", \"po_number\": \"PO-2026-46213\", \"received_date\": \"2026-09-22\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-913031\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 36, \"qty_accepted\": 36, \"qty_rejected\": 0, \"condition\": \"Short 14 CS (Backordered)\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 36 of 50 on LAB-2119 (short 14 CS). - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-913031\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-102534\", \"po_number\": \"PO-2026-46213\", \"grn_ref\": \"GRN-89764\", \"invoice_date\": \"Sep 27, 2026\", \"due_date\": \"Oct 12, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 88.0, \"line_total\": 4400.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}], \"subtotal\": 8633.0, \"tax_rate\": 0.06, \"tax\": 517.98, \"freight\": 95.0, \"total\": 9245.98, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46213 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0892", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-46246", "grn_number": "GRN-89817", "invoice_number": "INV-APX-102600", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 1550.0, "po_tax": 127.88, "po_freight": 0.0, "po_total": 1677.88, "invoice_subtotal": 1550.0, "invoice_tax": 127.88, "invoice_freight": 0.0, "invoice_total": 1677.88, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0892/PO-2026-46246.pdf", "grn_file": "documents/CASE_0892/GRN-89817.jpg", "invoice_file": "documents/CASE_0892/INV-APX-102600.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0892/PO-2026-46246.pdf", "documents/CASE_0892/GRN-89817.jpg", "documents/CASE_0892/INV-APX-102600.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IND-4479 failed dock inspection and were rejected, but vendor billed full 5 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"IND-4479\", \"po_qty\": 5, \"received_qty\": 5, \"accepted_qty\": 3, \"rejected_qty\": 2, \"invoiced_qty\": 5, \"variance_amount\": 68.0, \"note\": \"2 delivered units of IND-4479 failed dock inspection and were rejected, but vendor billed full 5 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46246\", \"order_date\": \"2026-05-23\", \"expected_delivery\": \"2026-06-02\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}], \"subtotal\": 1550.0, \"tax_rate\": 0.0825, \"tax\": 127.88, \"freight\": 0.0, \"total\": 1677.88, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89817\", \"po_number\": \"PO-2026-46246\", \"received_date\": \"Jun 05, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-485810\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 3, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IND-4479 water/crush damaged; refused & RMA requested! Accepted 3. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-485810\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-102600\", \"po_number\": \"PO-2026-46246\", \"grn_ref\": \"GRN-89817\", \"invoice_date\": \"06/10/2026\", \"due_date\": \"07/10/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}], \"subtotal\": 1550.0, \"tax_rate\": 0.0825, \"tax\": 127.88, \"freight\": 0.0, \"total\": 1677.88, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46246 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0900", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-46305", "grn_number": "GRN-89908", "invoice_number": "SSP-102701", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 14457.0, "po_tax": 1156.56, "po_freight": 0.0, "po_total": 15613.56, "invoice_subtotal": 14457.0, "invoice_tax": 1156.56, "invoice_freight": 9.84, "invoice_total": 15623.4, "total_variance": 9.84, "num_documents": 3, "po_file": "documents/CASE_0900/PO-2026-46305.docx", "grn_file": "documents/CASE_0900/GRN-89908.jpg", "invoice_file": "documents/CASE_0900/SSP-102701.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0900/PO-2026-46305.docx", "documents/CASE_0900/GRN-89908.jpg", "documents/CASE_0900/SSP-102701.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $9.84 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 9.84, \"variance_amount\": 9.84, \"note\": \"Prepaid & Add shipping fee of $9.84 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46305\", \"order_date\": \"2026-02-26\", \"expected_delivery\": \"2026-03-08\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 50, \"unit_price\": 42.5, \"line_total\": 2125.0}], \"subtotal\": 14457.0, \"tax_rate\": 0.08, \"tax\": 1156.56, \"freight\": 0.0, \"total\": 15613.56, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89908\", \"po_number\": \"PO-2026-46305\", \"received_date\": \"Mar 10, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-394297\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-394297\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-102701\", \"po_number\": \"PO-2026-46305\", \"grn_ref\": \"GRN-89908\", \"invoice_date\": \"03/15/2026\", \"due_date\": \"03/30/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 50, \"unit_price\": 42.5, \"line_total\": 2125.0}], \"subtotal\": 14457.0, \"tax_rate\": 0.08, \"tax\": 1156.56, \"freight\": 9.84, \"total\": 15623.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46305 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0903", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-46322", "grn_number": "GRN-89937", "invoice_number": "VEP-102741", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 7340.0, "po_tax": 440.4, "po_freight": 75.0, "po_total": 7855.4, "invoice_subtotal": 7340.0, "invoice_tax": 440.4, "invoice_freight": 75.0, "invoice_total": 7855.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0903/PO-2026-46322.docx", "grn_file": "documents/CASE_0903/GRN-89937.pdf", "invoice_file": "documents/CASE_0903/VEP-102741.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0903/PO-2026-46322.docx", "documents/CASE_0903/GRN-89937.pdf", "documents/CASE_0903/VEP-102741.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 20 units for ELC-7260, but warehouse only received 14 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"ELC-7260\", \"po_qty\": 20, \"received_qty\": 14, \"invoiced_qty\": 20, \"overbilled_qty\": 6, \"variance_amount\": 1860.0, \"note\": \"Vendor billed 20 units for ELC-7260, but warehouse only received 14 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46322\", \"order_date\": \"17-Jun-2026\", \"expected_delivery\": \"27-Jun-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}], \"subtotal\": 7340.0, \"tax_rate\": 0.06, \"tax\": 440.4, \"freight\": 75.0, \"total\": 7855.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89937\", \"po_number\": \"PO-2026-46322\", \"received_date\": \"2026-06-28\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-313443\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 14, \"qty_accepted\": 14, \"qty_rejected\": 0, \"condition\": \"Short 6 SPOOL (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 14 of 20 on ELC-7260 (short 6 SPOOL). - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-313443\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-102741\", \"po_number\": \"PO-2026-46322\", \"grn_ref\": \"GRN-89937\", \"invoice_date\": \"Jul 01, 2026\", \"due_date\": \"Aug 15, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}], \"subtotal\": 7340.0, \"tax_rate\": 0.06, \"tax\": 440.4, \"freight\": 75.0, \"total\": 7855.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46322 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0904", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-46331", "grn_number": "GRN-89950", "invoice_number": "NSI-102761", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 34960.0, "po_tax": 2534.6, "po_freight": 0.0, "po_total": 37494.6, "invoice_subtotal": 34960.0, "invoice_tax": 2534.6, "invoice_freight": 0.0, "invoice_total": 37494.6, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0904/PO-2026-46331.pdf", "grn_file": "documents/CASE_0904/GRN-89950.jpg", "invoice_file": "documents/CASE_0904/NSI-102761.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0904/PO-2026-46331.pdf", "documents/CASE_0904/GRN-89950.jpg", "documents/CASE_0904/NSI-102761.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for IT-8829, but warehouse only received 30 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"IT-8829\", \"po_qty\": 40, \"received_qty\": 30, \"invoiced_qty\": 40, \"overbilled_qty\": 10, \"variance_amount\": 2450.0, \"note\": \"Vendor billed 40 units for IT-8829, but warehouse only received 30 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46331\", \"order_date\": \"2026-02-17\", \"expected_delivery\": \"2026-02-27\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}], \"subtotal\": 34960.0, \"tax_rate\": 0.0725, \"tax\": 2534.6, \"freight\": 0.0, \"total\": 37494.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89950\", \"po_number\": \"PO-2026-46331\", \"received_date\": \"Feb 23, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-980282\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Short 10 EA (Backordered)\"}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 30 of 40 on IT-8829 (short 10 EA). - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-980282\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-102761\", \"po_number\": \"PO-2026-46331\", \"grn_ref\": \"GRN-89950\", \"invoice_date\": \"02/27/2026\", \"due_date\": \"03/14/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 5, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}], \"subtotal\": 34960.0, \"tax_rate\": 0.0725, \"tax\": 2534.6, \"freight\": 0.0, \"total\": 37494.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46331 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0905", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-46340", "grn_number": "GRN-89963", "invoice_number": "NSI-102769", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 36820.0, "po_tax": 2209.2, "po_freight": 75.0, "po_total": 39104.2, "invoice_subtotal": 36820.0, "invoice_tax": 2209.2, "invoice_freight": 75.0, "invoice_total": 39104.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0905/PO-2026-46340.png", "grn_file": "documents/CASE_0905/GRN-89963.docx", "invoice_file": "documents/CASE_0905/NSI-102769.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0905/PO-2026-46340.png", "documents/CASE_0905/GRN-89963.docx", "documents/CASE_0905/NSI-102769.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46340\", \"order_date\": \"Jun 18, 2026\", \"expected_delivery\": \"Jun 28, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 10, \"unit_price\": 58.0, \"line_total\": 580.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}], \"subtotal\": 36820.0, \"tax_rate\": 0.06, \"tax\": 2209.2, \"freight\": 75.0, \"total\": 39104.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89963\", \"po_number\": \"PO-2026-46340\", \"received_date\": \"06/24/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-900198\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-900198\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-102769\", \"po_number\": \"PO-2026-46340\", \"grn_ref\": \"GRN-89963\", \"invoice_date\": \"24-Jun-2026\", \"due_date\": \"08-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 10, \"unit_price\": 58.0, \"line_total\": 580.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}], \"subtotal\": 36820.0, \"tax_rate\": 0.06, \"tax\": 2209.2, \"freight\": 75.0, \"total\": 39104.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46340 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0906", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-46345", "grn_number": "GRN-89967", "invoice_number": "INV-APX-102786", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 2482.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 2482.0, "invoice_subtotal": 2482.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 2482.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0906/PO-2026-46345.docx", "grn_file": "documents/CASE_0906/GRN-89967.jpg", "invoice_file": "documents/CASE_0906/INV-APX-102786.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0906/PO-2026-46345.docx", "documents/CASE_0906/GRN-89967.jpg", "documents/CASE_0906/INV-APX-102786.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 20 units for IND-4418, but warehouse only received 14 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"IND-4418\", \"po_qty\": 20, \"received_qty\": 14, \"invoiced_qty\": 20, \"overbilled_qty\": 6, \"variance_amount\": 255.0, \"note\": \"Vendor billed 20 units for IND-4418, but warehouse only received 14 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46345\", \"order_date\": \"04/17/2026\", \"expected_delivery\": \"04/27/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 2482.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 2482.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89967\", \"po_number\": \"PO-2026-46345\", \"received_date\": \"21-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-562370\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 14, \"qty_accepted\": 14, \"qty_rejected\": 0, \"condition\": \"Short 6 BOX (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 14 of 20 on IND-4418 (short 6 BOX). - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-562370\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-102786\", \"po_number\": \"PO-2026-46345\", \"grn_ref\": \"GRN-89967\", \"invoice_date\": \"2026-04-27\", \"due_date\": \"2026-06-11\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 2482.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 2482.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46345 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0908", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-46358", "grn_number": "GRN-89990", "invoice_number": "TP-102812", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 12107.0, "po_tax": 968.56, "po_freight": 0.0, "po_total": 13075.56, "invoice_subtotal": 12274.5, "invoice_tax": 981.96, "invoice_freight": 0.0, "invoice_total": 13256.46, "total_variance": 180.9, "num_documents": 3, "po_file": "documents/CASE_0908/PO-2026-46358.jpg", "grn_file": "documents/CASE_0908/GRN-89990.pdf", "invoice_file": "documents/CASE_0908/TP-102812.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0908/PO-2026-46358.jpg", "documents/CASE_0908/GRN-89990.pdf", "documents/CASE_0908/TP-102812.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $128.75 exceeds contracted PO unit price $112.00 for LAB-2188.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"LAB-2188\", \"po_unit_price\": 112.0, \"invoice_unit_price\": 128.75, \"qty\": 10, \"variance_amount\": 167.5, \"note\": \"Invoice unit price $128.75 exceeds contracted PO unit price $112.00 for LAB-2188.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46358\", \"order_date\": \"2026-03-23\", \"expected_delivery\": \"2026-04-02\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 88.0, \"line_total\": 2112.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}], \"subtotal\": 12107.0, \"tax_rate\": 0.08, \"tax\": 968.56, \"freight\": 0.0, \"total\": 13075.56, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-89990\", \"po_number\": \"PO-2026-46358\", \"received_date\": \"Apr 02, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-473124\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-473124\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-102812\", \"po_number\": \"PO-2026-46358\", \"grn_ref\": \"GRN-89990\", \"invoice_date\": \"04/08/2026\", \"due_date\": \"05/08/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 88.0, \"line_total\": 2112.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 128.75, \"line_total\": 1287.5}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}], \"subtotal\": 12274.5, \"tax_rate\": 0.08, \"tax\": 981.96, \"freight\": 0.0, \"total\": 13256.46, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46358 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0911", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-46382", "grn_number": "GRN-90030", "invoice_number": "INV-APX-102852", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 5100.0, "po_tax": 408.0, "po_freight": 0.0, "po_total": 5508.0, "invoice_subtotal": 5100.0, "invoice_tax": 408.0, "invoice_freight": 0.0, "invoice_total": 5508.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0911/PO-2026-46382.png", "grn_file": "documents/CASE_0911/GRN-90030.docx", "invoice_file": "documents/CASE_0911/INV-APX-102852.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0911/PO-2026-46382.png", "documents/CASE_0911/GRN-90030.docx", "documents/CASE_0911/INV-APX-102852.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Apex Industrial Supply Co.' (Tax ID 36-8192031), but Invoice billed by 'ThermoPure Scientific Instruments' (Tax ID 04-6629180).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-46382\", \"invoice_po_ref\": \"PO-2026-46382\", \"po_vendor\": \"Apex Industrial Supply Co.\", \"invoice_vendor\": \"ThermoPure Scientific Instruments\", \"note\": \"Vendor entity mismatch: PO issued to 'Apex Industrial Supply Co.' (Tax ID 36-8192031), but Invoice billed by 'ThermoPure Scientific Instruments' (Tax ID 04-6629180).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46382\", \"order_date\": \"18-Aug-2026\", \"expected_delivery\": \"28-Aug-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}], \"subtotal\": 5100.0, \"tax_rate\": 0.08, \"tax\": 408.0, \"freight\": 0.0, \"total\": 5508.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90030\", \"po_number\": \"PO-2026-46382\", \"received_date\": \"2026-08-24\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-564306\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-564306\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-102852\", \"po_number\": \"PO-2026-46382\", \"grn_ref\": \"GRN-90030\", \"invoice_date\": \"Aug 25, 2026\", \"due_date\": \"Sep 09, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}], \"subtotal\": 5100.0, \"tax_rate\": 0.08, \"tax\": 408.0, \"freight\": 0.0, \"total\": 5508.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46382 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0921", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-46450", "grn_number": "GRN-90137", "invoice_number": "VEP-102975", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 3145.0, "po_tax": 228.01, "po_freight": 75.0, "po_total": 3448.01, "invoice_subtotal": 3145.0, "invoice_tax": 228.01, "invoice_freight": 75.0, "invoice_total": 3448.01, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0921/PO-2026-46450.docx", "grn_file": "documents/CASE_0921/GRN-90137.pdf", "invoice_file": "documents/CASE_0921/VEP-102975.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0921/PO-2026-46450.docx", "documents/CASE_0921/GRN-90137.pdf", "documents/CASE_0921/VEP-102975.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46450\", \"order_date\": \"Sep 25, 2026\", \"expected_delivery\": \"Oct 05, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}], \"subtotal\": 3145.0, \"tax_rate\": 0.0725, \"tax\": 228.01, \"freight\": 75.0, \"total\": 3448.01, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90137\", \"po_number\": \"PO-2026-46450\", \"received_date\": \"09/30/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-260617\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-260617\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-102975\", \"po_number\": \"PO-2026-46450\", \"grn_ref\": \"GRN-90137\", \"invoice_date\": \"03-Oct-2026\", \"due_date\": \"18-Oct-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}], \"subtotal\": 3145.0, \"tax_rate\": 0.0725, \"tax\": 228.01, \"freight\": 75.0, \"total\": 3448.01, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46450 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0924", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-46471", "grn_number": "GRN-90166", "invoice_number": "PPS-103019", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 16890.0, "po_tax": 1351.2, "po_freight": 75.0, "po_total": 18316.2, "invoice_subtotal": 16890.0, "invoice_tax": 1351.2, "invoice_freight": 75.0, "invoice_total": 18316.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0924/PO-2026-46471.docx", "grn_file": "documents/CASE_0924/GRN-90166.jpg", "invoice_file": "documents/CASE_0924/PPS-103019.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0924/PO-2026-46471.docx", "documents/CASE_0924/GRN-90166.jpg", "documents/CASE_0924/PPS-103019.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46471\", \"order_date\": \"2026-07-04\", \"expected_delivery\": \"2026-07-14\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 16890.0, \"tax_rate\": 0.08, \"tax\": 1351.2, \"freight\": 75.0, \"total\": 18316.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90166\", \"po_number\": \"PO-2026-46471\", \"received_date\": \"Jul 12, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-659905\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-659905\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-103019\", \"po_number\": \"PO-2026-46471\", \"grn_ref\": \"GRN-90166\", \"invoice_date\": \"07/17/2026\", \"due_date\": \"08/01/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 16890.0, \"tax_rate\": 0.08, \"tax\": 1351.2, \"freight\": 75.0, \"total\": 18316.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46471 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0933", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-46535", "grn_number": "GRN-90270", "invoice_number": "PPS-103132", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 2231.0, "po_tax": 178.48, "po_freight": 0.0, "po_total": 2409.48, "invoice_subtotal": 2231.0, "invoice_tax": 178.48, "invoice_freight": 0.0, "invoice_total": 2409.48, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0933/PO-2026-46535.docx", "grn_file": "documents/CASE_0933/GRN-90270.pdf", "invoice_file": "documents/CASE_0933/PPS-103132.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0933/PO-2026-46535.docx", "documents/CASE_0933/GRN-90270.pdf", "documents/CASE_0933/PPS-103132.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "9 delivered units of ELC-7283 failed dock inspection and were rejected, but vendor billed full 30 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"ELC-7283\", \"po_qty\": 30, \"received_qty\": 30, \"accepted_qty\": 21, \"rejected_qty\": 9, \"invoiced_qty\": 30, \"variance_amount\": 256.5, \"note\": \"9 delivered units of ELC-7283 failed dock inspection and were rejected, but vendor billed full 30 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46535\", \"order_date\": \"Sep 14, 2026\", \"expected_delivery\": \"Sep 24, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 2231.0, \"tax_rate\": 0.08, \"tax\": 178.48, \"freight\": 0.0, \"total\": 2409.48, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90270\", \"po_number\": \"PO-2026-46535\", \"received_date\": \"09/24/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-876431\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 21, \"qty_rejected\": 9, \"condition\": \"9 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"9 units of ELC-7283 water/crush damaged; refused & RMA requested! Accepted 21. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-876431\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-103132\", \"po_number\": \"PO-2026-46535\", \"grn_ref\": \"GRN-90270\", \"invoice_date\": \"24-Sep-2026\", \"due_date\": \"24-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 2231.0, \"tax_rate\": 0.08, \"tax\": 178.48, \"freight\": 0.0, \"total\": 2409.48, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46535 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0943", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-46602", "grn_number": "GRN-90381", "invoice_number": "PPS-103263", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 13690.0, "po_tax": 1129.43, "po_freight": 0.0, "po_total": 14819.43, "invoice_subtotal": 16389.28, "invoice_tax": 1352.12, "invoice_freight": 0.0, "invoice_total": 17741.4, "total_variance": 2921.97, "num_documents": 3, "po_file": "documents/CASE_0943/PO-2026-46602.pdf", "grn_file": "documents/CASE_0943/GRN-90381.docx", "invoice_file": "documents/CASE_0943/PPS-103263.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0943/PO-2026-46602.pdf", "documents/CASE_0943/GRN-90381.docx", "documents/CASE_0943/PPS-103263.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $652.47 exceeds contracted PO unit price $540.00 for ELC-7244.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"ELC-7244\", \"po_unit_price\": 540.0, \"invoice_unit_price\": 652.47, \"qty\": 24, \"variance_amount\": 2699.28, \"note\": \"Invoice unit price $652.47 exceeds contracted PO unit price $540.00 for ELC-7244.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46602\", \"order_date\": \"14-Feb-2026\", \"expected_delivery\": \"24-Feb-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 13690.0, \"tax_rate\": 0.0825, \"tax\": 1129.43, \"freight\": 0.0, \"total\": 14819.43, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90381\", \"po_number\": \"PO-2026-46602\", \"received_date\": \"2026-02-28\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-474960\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-474960\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-103263\", \"po_number\": \"PO-2026-46602\", \"grn_ref\": \"GRN-90381\", \"invoice_date\": \"Mar 06, 2026\", \"due_date\": \"Apr 05, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 652.47, \"line_total\": 15659.28}], \"subtotal\": 16389.28, \"tax_rate\": 0.0825, \"tax\": 1352.12, \"freight\": 0.0, \"total\": 17741.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46602 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0944", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-46612", "grn_number": "GRN-90389", "invoice_number": "PKR-103276", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 5910.0, "po_tax": 428.48, "po_freight": 0.0, "po_total": 6338.48, "invoice_subtotal": 5910.0, "invoice_tax": 428.48, "invoice_freight": 0.0, "invoice_total": 6338.48, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0944/PO-2026-46612.jpg", "grn_file": "documents/CASE_0944/GRN-90389.pdf", "invoice_file": "documents/CASE_0944/PKR-103276.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0944/PO-2026-46612.jpg", "documents/CASE_0944/GRN-90389.pdf", "documents/CASE_0944/PKR-103276.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 30 units for PKG-3078, but warehouse only received 21 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"PKG-3078\", \"po_qty\": 30, \"received_qty\": 21, \"invoiced_qty\": 30, \"overbilled_qty\": 9, \"variance_amount\": 468.0, \"note\": \"Vendor billed 30 units for PKG-3078, but warehouse only received 21 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46612\", \"order_date\": \"2026-01-21\", \"expected_delivery\": \"2026-01-31\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1520.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}, {\"line_no\": 4, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}], \"subtotal\": 5910.0, \"tax_rate\": 0.0725, \"tax\": 428.48, \"freight\": 0.0, \"total\": 6338.48, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90389\", \"po_number\": \"PO-2026-46612\", \"received_date\": \"Jan 31, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-813085\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 30, \"qty_received\": 21, \"qty_accepted\": 21, \"qty_rejected\": 0, \"condition\": \"Short 9 ROLL (Backordered)\"}, {\"line_no\": 4, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 21 of 30 on PKG-3078 (short 9 ROLL). - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-813085\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-103276\", \"po_number\": \"PO-2026-46612\", \"grn_ref\": \"GRN-90389\", \"invoice_date\": \"02/06/2026\", \"due_date\": \"03/08/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1520.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}, {\"line_no\": 4, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}], \"subtotal\": 5910.0, \"tax_rate\": 0.0725, \"tax\": 428.48, \"freight\": 0.0, \"total\": 6338.48, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46612 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0945", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-46620", "grn_number": "", "invoice_number": "INV-APX-103286", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 11795.0, "po_tax": 855.14, "po_freight": 0.0, "po_total": 12650.14, "invoice_subtotal": 11795.0, "invoice_tax": 855.14, "invoice_freight": 0.0, "invoice_total": 12650.14, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_0945/PO-2026-46620.docx", "grn_file": "", "invoice_file": "documents/CASE_0945/INV-APX-103286.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0945/PO-2026-46620.docx", "documents/CASE_0945/INV-APX-103286.png"], "file_formats": ["docx", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-46620\", \"invoice_number\": \"INV-APX-103286\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46620\", \"order_date\": \"Jul 03, 2026\", \"expected_delivery\": \"Jul 13, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}], \"subtotal\": 11795.0, \"tax_rate\": 0.0725, \"tax\": 855.14, \"freight\": 0.0, \"total\": 12650.14, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-103286\", \"po_number\": \"PO-2026-46620\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"10-Jul-2026\", \"due_date\": \"09-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}], \"subtotal\": 11795.0, \"tax_rate\": 0.0725, \"tax\": 855.14, \"freight\": 0.0, \"total\": 12650.14, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46620 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0952", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-46666", "grn_number": "GRN-90479", "invoice_number": "PPS-103379", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 19108.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 19108.0, "invoice_subtotal": 19328.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 19328.0, "total_variance": 220.0, "num_documents": 3, "po_file": "documents/CASE_0952/PO-2026-46666.pdf", "grn_file": "documents/CASE_0952/GRN-90479.jpg", "invoice_file": "documents/CASE_0952/PPS-103379.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0952/PO-2026-46666.pdf", "documents/CASE_0952/GRN-90479.jpg", "documents/CASE_0952/PPS-103379.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 3 (ELC-7283): 8 x $28.50 should be $228.00, but invoice states $448.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 19108.0, \"invoice_stated_total\": 19328.0, \"variance_amount\": 220.0, \"note\": \"Invoice arithmetic error on line 3 (ELC-7283): 8 x $28.50 should be $228.00, but invoice states $448.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46666\", \"order_date\": \"2026-06-17\", \"expected_delivery\": \"2026-06-27\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}], \"subtotal\": 19108.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 19108.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90479\", \"po_number\": \"PO-2026-46666\", \"received_date\": \"Jun 23, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-504203\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-504203\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-103379\", \"po_number\": \"PO-2026-46666\", \"grn_ref\": \"GRN-90479\", \"invoice_date\": \"06/25/2026\", \"due_date\": \"07/10/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 448.0}], \"subtotal\": 19328.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 19328.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46666 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0955", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-46690", "grn_number": "GRN-90507", "invoice_number": "TP-103420", "duplicate_invoice_number": "TP-99955", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 6066.0, "po_tax": 439.79, "po_freight": 50.0, "po_total": 6555.79, "invoice_subtotal": 6066.0, "invoice_tax": 439.79, "invoice_freight": 50.0, "invoice_total": 6555.79, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0955/PO-2026-46690.pdf", "grn_file": "documents/CASE_0955/GRN-90507.docx", "invoice_file": "documents/CASE_0955/TP-103420.png", "duplicate_invoice_file": "documents/CASE_0955/TP-99955.jpg", "file_paths": ["documents/CASE_0955/PO-2026-46690.pdf", "documents/CASE_0955/GRN-90507.docx", "documents/CASE_0955/TP-103420.png", "documents/CASE_0955/TP-99955.jpg"], "file_formats": ["pdf", "docx", "png", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'TP-103420' and 'TP-99955' bill $6555.79 against single receipt 'GRN-90507' / PO 'PO-2026-46690'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"TP-103420\", \"duplicate_invoice_number\": \"TP-99955\", \"duplicate_billed_amount\": 6555.79, \"variance_amount\": 6555.79, \"note\": \"Duplicate billing detected: both 'TP-103420' and 'TP-99955' bill $6555.79 against single receipt 'GRN-90507' / PO 'PO-2026-46690'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46690\", \"order_date\": \"09-Aug-2026\", \"expected_delivery\": \"19-Aug-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 135.0, \"line_total\": 4050.0}], \"subtotal\": 6066.0, \"tax_rate\": 0.0725, \"tax\": 439.79, \"freight\": 50.0, \"total\": 6555.79, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90507\", \"po_number\": \"PO-2026-46690\", \"received_date\": \"2026-08-22\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-970511\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-970511\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-103420\", \"po_number\": \"PO-2026-46690\", \"grn_ref\": \"GRN-90507\", \"invoice_date\": \"Aug 23, 2026\", \"due_date\": \"Sep 22, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 135.0, \"line_total\": 4050.0}], \"subtotal\": 6066.0, \"tax_rate\": 0.0725, \"tax\": 439.79, \"freight\": 50.0, \"total\": 6555.79, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46690 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"TP-99955\", \"po_number\": \"PO-2026-46690\", \"grn_ref\": \"GRN-90507\", \"invoice_date\": \"Sep 03, 2026\", \"due_date\": \"Oct 03, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 135.0, \"line_total\": 4050.0}], \"subtotal\": 6066.0, \"tax_rate\": 0.0725, \"tax\": 439.79, \"freight\": 50.0, \"total\": 6555.79, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-970511. Please remit to lockbox.\"}}"} {"case_id": "CASE_0960", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-46723", "grn_number": "GRN-90566", "invoice_number": "NSI-103486", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 23620.0, "po_tax": 1712.45, "po_freight": 0.0, "po_total": 25332.45, "invoice_subtotal": 24845.0, "invoice_tax": 1801.26, "invoice_freight": 0.0, "invoice_total": 26646.26, "total_variance": 1313.81, "num_documents": 3, "po_file": "documents/CASE_0960/PO-2026-46723.docx", "grn_file": "documents/CASE_0960/GRN-90566.jpg", "invoice_file": "documents/CASE_0960/NSI-103486.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0960/PO-2026-46723.docx", "documents/CASE_0960/GRN-90566.jpg", "documents/CASE_0960/NSI-103486.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IT-8829 ($1225.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 6, \"sku\": \"IT-8829\", \"invoiced_qty\": 5, \"invoice_unit_price\": 245.0, \"variance_amount\": 1225.0, \"note\": \"Invoice includes line item IT-8829 ($1225.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46723\", \"order_date\": \"2026-01-24\", \"expected_delivery\": \"2026-02-03\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 520.0, \"line_total\": 7800.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}], \"subtotal\": 23620.0, \"tax_rate\": 0.0725, \"tax\": 1712.45, \"freight\": 0.0, \"total\": 25332.45, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90566\", \"po_number\": \"PO-2026-46723\", \"received_date\": \"Feb 04, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-660276\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-660276\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-103486\", \"po_number\": \"PO-2026-46723\", \"grn_ref\": \"GRN-90566\", \"invoice_date\": \"02/09/2026\", \"due_date\": \"03/11/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 520.0, \"line_total\": 7800.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}, {\"line_no\": 6, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}], \"subtotal\": 24845.0, \"tax_rate\": 0.0725, \"tax\": 1801.26, \"freight\": 0.0, \"total\": 26646.26, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46723 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0964", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-46753", "grn_number": "GRN-90610", "invoice_number": "INV-APX-103534", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 9560.0, "po_tax": 788.7, "po_freight": 75.0, "po_total": 10423.7, "invoice_subtotal": 11330.0, "invoice_tax": 934.73, "invoice_freight": 75.0, "invoice_total": 12339.73, "total_variance": 1916.03, "num_documents": 3, "po_file": "documents/CASE_0964/PO-2026-46753.pdf", "grn_file": "documents/CASE_0964/GRN-90610.jpg", "invoice_file": "documents/CASE_0964/INV-APX-103534.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0964/PO-2026-46753.pdf", "documents/CASE_0964/GRN-90610.jpg", "documents/CASE_0964/INV-APX-103534.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IND-4503 ($1770.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"IND-4503\", \"invoiced_qty\": 6, \"invoice_unit_price\": 295.0, \"variance_amount\": 1770.0, \"note\": \"Invoice includes line item IND-4503 ($1770.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46753\", \"order_date\": \"2026-10-04\", \"expected_delivery\": \"2026-10-14\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}], \"subtotal\": 9560.0, \"tax_rate\": 0.0825, \"tax\": 788.7, \"freight\": 75.0, \"total\": 10423.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90610\", \"po_number\": \"PO-2026-46753\", \"received_date\": \"Oct 09, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-653063\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-653063\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-103534\", \"po_number\": \"PO-2026-46753\", \"grn_ref\": \"GRN-90610\", \"invoice_date\": \"10/12/2026\", \"due_date\": \"10/27/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 5, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 6, \"unit_price\": 295.0, \"line_total\": 1770.0}], \"subtotal\": 11330.0, \"tax_rate\": 0.0825, \"tax\": 934.73, \"freight\": 75.0, \"total\": 12339.73, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46753 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0966", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-46765", "grn_number": "GRN-90627", "invoice_number": "NSI-103565", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 30164.0, "po_tax": 2413.12, "po_freight": 0.0, "po_total": 32577.12, "invoice_subtotal": 32185.7, "invoice_tax": 2574.86, "invoice_freight": 0.0, "invoice_total": 34760.56, "total_variance": 2183.44, "num_documents": 3, "po_file": "documents/CASE_0966/PO-2026-46765.docx", "grn_file": "documents/CASE_0966/GRN-90627.jpg", "invoice_file": "documents/CASE_0966/NSI-103565.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0966/PO-2026-46765.docx", "documents/CASE_0966/GRN-90627.jpg", "documents/CASE_0966/NSI-103565.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $587.39 exceeds contracted PO unit price $520.00 for IT-8814.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"IT-8814\", \"po_unit_price\": 520.0, \"invoice_unit_price\": 587.39, \"qty\": 30, \"variance_amount\": 2021.7, \"note\": \"Invoice unit price $587.39 exceeds contracted PO unit price $520.00 for IT-8814.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46765\", \"order_date\": \"02/19/2026\", \"expected_delivery\": \"03/01/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}], \"subtotal\": 30164.0, \"tax_rate\": 0.08, \"tax\": 2413.12, \"freight\": 0.0, \"total\": 32577.12, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90627\", \"po_number\": \"PO-2026-46765\", \"received_date\": \"27-Feb-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-497324\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-497324\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-103565\", \"po_number\": \"PO-2026-46765\", \"grn_ref\": \"GRN-90627\", \"invoice_date\": \"2026-03-02\", \"due_date\": \"2026-03-17\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 587.39, \"line_total\": 17621.7}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}], \"subtotal\": 32185.7, \"tax_rate\": 0.08, \"tax\": 2574.86, \"freight\": 0.0, \"total\": 34760.56, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46765 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0969", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-46784", "grn_number": "GRN-90663", "invoice_number": "SSP-103602", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 16727.5, "po_tax": 0.0, "po_freight": 35.0, "po_total": 16762.5, "invoice_subtotal": 15252.5, "invoice_tax": 0.0, "invoice_freight": 35.0, "invoice_total": 15287.5, "total_variance": -1475.0, "num_documents": 3, "po_file": "documents/CASE_0969/PO-2026-46784.docx", "grn_file": "documents/CASE_0969/GRN-90663.pdf", "invoice_file": "documents/CASE_0969/SSP-103602.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0969/PO-2026-46784.docx", "documents/CASE_0969/GRN-90663.pdf", "documents/CASE_0969/SSP-103602.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 7/12 units received and accurately billed; keep PO open for remaining 5 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"IND-4503\", \"po_qty\": 12, \"received_qty\": 7, \"invoiced_qty\": 7, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 7/12 units received and accurately billed; keep PO open for remaining 5 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46784\", \"order_date\": \"Jul 22, 2026\", \"expected_delivery\": \"Aug 01, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 16727.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 16762.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90663\", \"po_number\": \"PO-2026-46784\", \"received_date\": \"07/27/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-360812\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 7, \"qty_accepted\": 7, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (5 EA remaining)\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (7/12 IND-4503). Balance on BO. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-360812\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-103602\", \"po_number\": \"PO-2026-46784\", \"grn_ref\": \"GRN-90663\", \"invoice_date\": \"30-Jul-2026\", \"due_date\": \"29-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 7, \"unit_price\": 295.0, \"line_total\": 2065.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 15252.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 15287.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46784 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0970", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-46792", "grn_number": "GRN-90673", "invoice_number": "VEP-103616", "duplicate_invoice_number": "VEP-103616-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 5582.5, "po_tax": 0.0, "po_freight": 50.0, "po_total": 5632.5, "invoice_subtotal": 5582.5, "invoice_tax": 0.0, "invoice_freight": 50.0, "invoice_total": 5632.5, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_0970/PO-2026-46792.pdf", "grn_file": "documents/CASE_0970/GRN-90673.jpg", "invoice_file": "documents/CASE_0970/VEP-103616.docx", "duplicate_invoice_file": "documents/CASE_0970/VEP-103616-R1.jpg", "file_paths": ["documents/CASE_0970/PO-2026-46792.pdf", "documents/CASE_0970/GRN-90673.jpg", "documents/CASE_0970/VEP-103616.docx", "documents/CASE_0970/VEP-103616-R1.jpg"], "file_formats": ["pdf", "jpg", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'VEP-103616' and 'VEP-103616-R1' bill $5632.50 against single receipt 'GRN-90673' / PO 'PO-2026-46792'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"VEP-103616\", \"duplicate_invoice_number\": \"VEP-103616-R1\", \"duplicate_billed_amount\": 5632.5, \"variance_amount\": 5632.5, \"note\": \"Duplicate billing detected: both 'VEP-103616' and 'VEP-103616-R1' bill $5632.50 against single receipt 'GRN-90673' / PO 'PO-2026-46792'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46792\", \"order_date\": \"04/19/2026\", \"expected_delivery\": \"04/29/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}], \"subtotal\": 5582.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 5632.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90673\", \"po_number\": \"PO-2026-46792\", \"received_date\": \"28-Apr-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-262742\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-262742\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-103616\", \"po_number\": \"PO-2026-46792\", \"grn_ref\": \"GRN-90673\", \"invoice_date\": \"2026-04-28\", \"due_date\": \"2026-05-13\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}], \"subtotal\": 5582.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 5632.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46792 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"VEP-103616-R1\", \"po_number\": \"PO-2026-46792\", \"grn_ref\": \"GRN-90673\", \"invoice_date\": \"2026-05-03\", \"due_date\": \"2026-05-18\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}], \"subtotal\": 5582.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 5632.5, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-262742. Please remit to lockbox.\"}}"} {"case_id": "CASE_0978", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-46850", "grn_number": "GRN-90760", "invoice_number": "KWS-103715", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 13670.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 13670.0, "invoice_subtotal": 14705.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 14705.0, "total_variance": 1035.0, "num_documents": 3, "po_file": "documents/CASE_0978/PO-2026-46850.docx", "grn_file": "documents/CASE_0978/GRN-90760.jpg", "invoice_file": "documents/CASE_0978/KWS-103715.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0978/PO-2026-46850.docx", "documents/CASE_0978/GRN-90760.jpg", "documents/CASE_0978/KWS-103715.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 39 units vs 30 ordered (+9 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"FRN-6159\", \"po_qty\": 30, \"received_qty\": 39, \"invoiced_qty\": 39, \"over_qty\": 9, \"variance_amount\": 1035.0, \"note\": \"Shipped and billed 39 units vs 30 ordered (+9 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46850\", \"order_date\": \"09/06/2026\", \"expected_delivery\": \"09/16/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 115.0, \"line_total\": 3450.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}], \"subtotal\": 13670.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13670.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90760\", \"po_number\": \"PO-2026-46850\", \"received_date\": \"10-Sep-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-156158\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 39, \"qty_accepted\": 39, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+9 EA over PO)\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 39 (9 extra over PO) on FRN-6159. Held in quarantine. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-156158\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-103715\", \"po_number\": \"PO-2026-46850\", \"grn_ref\": \"GRN-90760\", \"invoice_date\": \"2026-09-15\", \"due_date\": \"2026-10-15\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 39, \"unit_price\": 115.0, \"line_total\": 4485.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}], \"subtotal\": 14705.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 14705.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46850 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0979", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-46855", "grn_number": "GRN-90771", "invoice_number": "PPS-103732", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 8865.0, "po_tax": 642.71, "po_freight": 0.0, "po_total": 9507.71, "invoice_subtotal": 8865.0, "invoice_tax": 642.71, "invoice_freight": 6.24, "invoice_total": 9513.95, "total_variance": 6.24, "num_documents": 3, "po_file": "documents/CASE_0979/PO-2026-46855.pdf", "grn_file": "documents/CASE_0979/GRN-90771.docx", "invoice_file": "documents/CASE_0979/PPS-103732.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0979/PO-2026-46855.pdf", "documents/CASE_0979/GRN-90771.docx", "documents/CASE_0979/PPS-103732.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $6.24 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 6.24, \"variance_amount\": 6.24, \"note\": \"Prepaid & Add shipping fee of $6.24 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46855\", \"order_date\": \"28-Jan-2026\", \"expected_delivery\": \"07-Feb-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}], \"subtotal\": 8865.0, \"tax_rate\": 0.0725, \"tax\": 642.71, \"freight\": 0.0, \"total\": 9507.71, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90771\", \"po_number\": \"PO-2026-46855\", \"received_date\": \"2026-02-05\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-400536\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-400536\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-103732\", \"po_number\": \"PO-2026-46855\", \"grn_ref\": \"GRN-90771\", \"invoice_date\": \"Feb 09, 2026\", \"due_date\": \"Mar 11, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}], \"subtotal\": 8865.0, \"tax_rate\": 0.0725, \"tax\": 642.71, \"freight\": 6.24, \"total\": 9513.95, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46855 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0983", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-46886", "grn_number": "GRN-90817", "invoice_number": "INV-APX-103784", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 9032.0, "po_tax": 745.14, "po_freight": 0.0, "po_total": 9777.14, "invoice_subtotal": 9032.0, "invoice_tax": 745.14, "invoice_freight": 0.0, "invoice_total": 9777.14, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0983/PO-2026-46886.png", "grn_file": "documents/CASE_0983/GRN-90817.docx", "invoice_file": "documents/CASE_0983/INV-APX-103784.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0983/PO-2026-46886.png", "documents/CASE_0983/GRN-90817.docx", "documents/CASE_0983/INV-APX-103784.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46886\", \"order_date\": \"13-Jul-2026\", \"expected_delivery\": \"23-Jul-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 148.0, \"line_total\": 7400.0}], \"subtotal\": 9032.0, \"tax_rate\": 0.0825, \"tax\": 745.14, \"freight\": 0.0, \"total\": 9777.14, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90817\", \"po_number\": \"PO-2026-46886\", \"received_date\": \"2026-07-24\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-793540\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-793540\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-103784\", \"po_number\": \"PO-2026-46886\", \"grn_ref\": \"GRN-90817\", \"invoice_date\": \"Jul 24, 2026\", \"due_date\": \"Aug 23, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 148.0, \"line_total\": 7400.0}], \"subtotal\": 9032.0, \"tax_rate\": 0.0825, \"tax\": 745.14, \"freight\": 0.0, \"total\": 9777.14, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46886 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0985", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-46896", "grn_number": "GRN-90836", "invoice_number": "KWS-103810", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 30960.0, "po_tax": 2476.8, "po_freight": 0.0, "po_total": 33436.8, "invoice_subtotal": 31503.6, "invoice_tax": 2520.29, "invoice_freight": 0.0, "invoice_total": 34023.89, "total_variance": 587.09, "num_documents": 3, "po_file": "documents/CASE_0985/PO-2026-46896.pdf", "grn_file": "documents/CASE_0985/GRN-90836.docx", "invoice_file": "documents/CASE_0985/KWS-103810.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0985/PO-2026-46896.pdf", "documents/CASE_0985/GRN-90836.docx", "documents/CASE_0985/KWS-103810.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $255.30 exceeds contracted PO unit price $210.00 for FRN-6135.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"FRN-6135\", \"po_unit_price\": 210.0, \"invoice_unit_price\": 255.3, \"qty\": 12, \"variance_amount\": 543.6, \"note\": \"Invoice unit price $255.30 exceeds contracted PO unit price $210.00 for FRN-6135.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46896\", \"order_date\": \"Mar 16, 2026\", \"expected_delivery\": \"Mar 26, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}], \"subtotal\": 30960.0, \"tax_rate\": 0.08, \"tax\": 2476.8, \"freight\": 0.0, \"total\": 33436.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90836\", \"po_number\": \"PO-2026-46896\", \"received_date\": \"03/23/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-797628\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-797628\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-103810\", \"po_number\": \"PO-2026-46896\", \"grn_ref\": \"GRN-90836\", \"invoice_date\": \"28-Mar-2026\", \"due_date\": \"27-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 255.3, \"line_total\": 3063.6}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}], \"subtotal\": 31503.6, \"tax_rate\": 0.08, \"tax\": 2520.29, \"freight\": 0.0, \"total\": 34023.89, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46896 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0986", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-46903", "grn_number": "GRN-90854", "invoice_number": "TP-103825", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 7604.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 7699.0, "invoice_subtotal": 7604.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 7699.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0986/PO-2026-46903.jpg", "grn_file": "documents/CASE_0986/GRN-90854.pdf", "invoice_file": "documents/CASE_0986/TP-103825.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0986/PO-2026-46903.jpg", "documents/CASE_0986/GRN-90854.pdf", "documents/CASE_0986/TP-103825.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46903\", \"order_date\": \"10/06/2026\", \"expected_delivery\": \"10/16/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}], \"subtotal\": 7604.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 7699.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90854\", \"po_number\": \"PO-2026-46903\", \"received_date\": \"16-Oct-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-166197\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-166197\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-103825\", \"po_number\": \"PO-2026-46903\", \"grn_ref\": \"GRN-90854\", \"invoice_date\": \"2026-10-22\", \"due_date\": \"2026-12-06\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}], \"subtotal\": 7604.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 7699.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46903 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0989", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-46925", "grn_number": "GRN-90880", "invoice_number": "TP-103862", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 14548.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 14548.0, "invoice_subtotal": 14548.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 14728.0, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_0989/PO-2026-46925.png", "grn_file": "documents/CASE_0989/GRN-90880.docx", "invoice_file": "documents/CASE_0989/TP-103862.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0989/PO-2026-46925.png", "documents/CASE_0989/GRN-90880.docx", "documents/CASE_0989/TP-103862.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($14548.00) + Tax ($0.00) + Freight ($0.00) = $14548.00, but Invoice Total Due states $14728.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 14548.0, \"invoice_stated_total\": 14728.0, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($14548.00) + Tax ($0.00) + Freight ($0.00) = $14548.00, but Invoice Total Due states $14728.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46925\", \"order_date\": \"Apr 07, 2026\", \"expected_delivery\": \"Apr 17, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 14548.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 14548.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90880\", \"po_number\": \"PO-2026-46925\", \"received_date\": \"04/16/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-509126\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-509126\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-103862\", \"po_number\": \"PO-2026-46925\", \"grn_ref\": \"GRN-90880\", \"invoice_date\": \"20-Apr-2026\", \"due_date\": \"20-May-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 14548.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 14728.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46925 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_0998", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-46990", "grn_number": "GRN-90983", "invoice_number": "VEP-103983", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 13600.0, "po_tax": 986.0, "po_freight": 0.0, "po_total": 14586.0, "invoice_subtotal": 13600.0, "invoice_tax": 986.0, "invoice_freight": 0.0, "invoice_total": 14586.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_0998/PO-2026-46990.jpg", "grn_file": "documents/CASE_0998/GRN-90983.pdf", "invoice_file": "documents/CASE_0998/VEP-103983.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_0998/PO-2026-46990.jpg", "documents/CASE_0998/GRN-90983.pdf", "documents/CASE_0998/VEP-103983.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-46990\", \"order_date\": \"08/03/2026\", \"expected_delivery\": \"08/13/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 13600.0, \"tax_rate\": 0.0725, \"tax\": 986.0, \"freight\": 0.0, \"total\": 14586.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-90983\", \"po_number\": \"PO-2026-46990\", \"received_date\": \"07-Aug-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-716102\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-716102\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-103983\", \"po_number\": \"PO-2026-46990\", \"grn_ref\": \"GRN-90983\", \"invoice_date\": \"2026-08-08\", \"due_date\": \"2026-09-07\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}], \"subtotal\": 13600.0, \"tax_rate\": 0.0725, \"tax\": 986.0, \"freight\": 0.0, \"total\": 14586.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-46990 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1019", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-47135", "grn_number": "GRN-91212", "invoice_number": "KWS-104252", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 11190.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 11190.0, "invoice_subtotal": 11190.0, "invoice_tax": 0.0, "invoice_freight": 9.75, "invoice_total": 11199.75, "total_variance": 9.75, "num_documents": 3, "po_file": "documents/CASE_1019/PO-2026-47135.png", "grn_file": "documents/CASE_1019/GRN-91212.docx", "invoice_file": "documents/CASE_1019/KWS-104252.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1019/PO-2026-47135.png", "documents/CASE_1019/GRN-91212.docx", "documents/CASE_1019/KWS-104252.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $9.75 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 9.75, \"variance_amount\": 9.75, \"note\": \"Prepaid & Add shipping fee of $9.75 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47135\", \"order_date\": \"13-Jun-2026\", \"expected_delivery\": \"23-Jun-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}], \"subtotal\": 11190.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 11190.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91212\", \"po_number\": \"PO-2026-47135\", \"received_date\": \"2026-06-24\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-683784\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-683784\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-104252\", \"po_number\": \"PO-2026-47135\", \"grn_ref\": \"GRN-91212\", \"invoice_date\": \"Jun 27, 2026\", \"due_date\": \"Jul 12, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}], \"subtotal\": 11190.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 9.75, \"total\": 11199.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47135 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1021", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-47151", "grn_number": "GRN-91238", "invoice_number": "SSP-104281", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 1076.0, "po_tax": 88.77, "po_freight": 0.0, "po_total": 1164.77, "invoice_subtotal": 1076.0, "invoice_tax": 88.77, "invoice_freight": 240.0, "invoice_total": 1404.77, "total_variance": 240.0, "num_documents": 3, "po_file": "documents/CASE_1021/PO-2026-47151.pdf", "grn_file": "documents/CASE_1021/GRN-91238.docx", "invoice_file": "documents/CASE_1021/SSP-104281.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1021/PO-2026-47151.pdf", "documents/CASE_1021/GRN-91238.docx", "documents/CASE_1021/SSP-104281.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 240.0, \"variance_amount\": 240.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47151\", \"order_date\": \"Sep 03, 2026\", \"expected_delivery\": \"Sep 13, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 8, \"unit_price\": 92.0, \"line_total\": 736.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}], \"subtotal\": 1076.0, \"tax_rate\": 0.0825, \"tax\": 88.77, \"freight\": 0.0, \"total\": 1164.77, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91238\", \"po_number\": \"PO-2026-47151\", \"received_date\": \"09/11/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-282557\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-282557\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-104281\", \"po_number\": \"PO-2026-47151\", \"grn_ref\": \"GRN-91238\", \"invoice_date\": \"16-Sep-2026\", \"due_date\": \"16-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 8, \"unit_price\": 92.0, \"line_total\": 736.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}], \"subtotal\": 1076.0, \"tax_rate\": 0.0825, \"tax\": 88.77, \"freight\": 240.0, \"total\": 1404.77, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47151 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1025", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-47179", "grn_number": "GRN-91278", "invoice_number": "KWS-104331", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 19350.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 19425.0, "invoice_subtotal": 19350.0, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 19425.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1025/PO-2026-47179.png", "grn_file": "documents/CASE_1025/GRN-91278.docx", "invoice_file": "documents/CASE_1025/KWS-104331.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1025/PO-2026-47179.png", "documents/CASE_1025/GRN-91278.docx", "documents/CASE_1025/KWS-104331.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47179\", \"order_date\": \"Jun 13, 2026\", \"expected_delivery\": \"Jun 23, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 640.0, \"line_total\": 3200.0}], \"subtotal\": 19350.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 19425.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91278\", \"po_number\": \"PO-2026-47179\", \"received_date\": \"06/18/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-335095\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-335095\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-104331\", \"po_number\": \"PO-2026-47179\", \"grn_ref\": \"GRN-91278\", \"invoice_date\": \"24-Jun-2026\", \"due_date\": \"08-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 640.0, \"line_total\": 3200.0}], \"subtotal\": 19350.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 19425.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47179 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1035", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-47248", "grn_number": "GRN-91389", "invoice_number": "TP-104456", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 17216.0, "po_tax": 1032.96, "po_freight": 0.0, "po_total": 18248.96, "invoice_subtotal": 17486.0, "invoice_tax": 1049.16, "invoice_freight": 0.0, "invoice_total": 18535.16, "total_variance": 286.2, "num_documents": 3, "po_file": "documents/CASE_1035/PO-2026-47248.docx", "grn_file": "documents/CASE_1035/GRN-91389.pdf", "invoice_file": "documents/CASE_1035/TP-104456.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1035/PO-2026-47248.docx", "documents/CASE_1035/GRN-91389.pdf", "documents/CASE_1035/TP-104456.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item LAB-2104 ($270.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"LAB-2104\", \"invoiced_qty\": 2, \"invoice_unit_price\": 135.0, \"variance_amount\": 270.0, \"note\": \"Invoice includes line item LAB-2104 ($270.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47248\", \"order_date\": \"06-Oct-2026\", \"expected_delivery\": \"16-Oct-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 88.0, \"line_total\": 880.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 164.0, \"line_total\": 1640.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}], \"subtotal\": 17216.0, \"tax_rate\": 0.06, \"tax\": 1032.96, \"freight\": 0.0, \"total\": 18248.96, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91389\", \"po_number\": \"PO-2026-47248\", \"received_date\": \"2026-10-12\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-416272\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-416272\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-104456\", \"po_number\": \"PO-2026-47248\", \"grn_ref\": \"GRN-91389\", \"invoice_date\": \"Oct 17, 2026\", \"due_date\": \"Nov 01, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 88.0, \"line_total\": 880.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 164.0, \"line_total\": 1640.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 5, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 2, \"unit_price\": 135.0, \"line_total\": 270.0}], \"subtotal\": 17486.0, \"tax_rate\": 0.06, \"tax\": 1049.16, \"freight\": 0.0, \"total\": 18535.16, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47248 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1036", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-47255", "grn_number": "GRN-91405", "invoice_number": "NSI-104477", "duplicate_invoice_number": "NSI-104477-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 22206.0, "po_tax": 1776.48, "po_freight": 0.0, "po_total": 23982.48, "invoice_subtotal": 22206.0, "invoice_tax": 1776.48, "invoice_freight": 0.0, "invoice_total": 23982.48, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1036/PO-2026-47255.pdf", "grn_file": "documents/CASE_1036/GRN-91405.jpg", "invoice_file": "documents/CASE_1036/NSI-104477.docx", "duplicate_invoice_file": "documents/CASE_1036/NSI-104477-R1.jpg", "file_paths": ["documents/CASE_1036/PO-2026-47255.pdf", "documents/CASE_1036/GRN-91405.jpg", "documents/CASE_1036/NSI-104477.docx", "documents/CASE_1036/NSI-104477-R1.jpg"], "file_formats": ["pdf", "jpg", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'NSI-104477' and 'NSI-104477-R1' bill $23982.48 against single receipt 'GRN-91405' / PO 'PO-2026-47255'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"NSI-104477\", \"duplicate_invoice_number\": \"NSI-104477-R1\", \"duplicate_billed_amount\": 23982.48, \"variance_amount\": 23982.48, \"note\": \"Duplicate billing detected: both 'NSI-104477' and 'NSI-104477-R1' bill $23982.48 against single receipt 'GRN-91405' / PO 'PO-2026-47255'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47255\", \"order_date\": \"2026-08-01\", \"expected_delivery\": \"2026-08-11\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 690.0, \"line_total\": 8280.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}], \"subtotal\": 22206.0, \"tax_rate\": 0.08, \"tax\": 1776.48, \"freight\": 0.0, \"total\": 23982.48, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91405\", \"po_number\": \"PO-2026-47255\", \"received_date\": \"Aug 15, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-134994\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-134994\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-104477\", \"po_number\": \"PO-2026-47255\", \"grn_ref\": \"GRN-91405\", \"invoice_date\": \"08/15/2026\", \"due_date\": \"09/14/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 690.0, \"line_total\": 8280.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}], \"subtotal\": 22206.0, \"tax_rate\": 0.08, \"tax\": 1776.48, \"freight\": 0.0, \"total\": 23982.48, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47255 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"NSI-104477-R1\", \"po_number\": \"PO-2026-47255\", \"grn_ref\": \"GRN-91405\", \"invoice_date\": \"08/26/2026\", \"due_date\": \"09/25/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 690.0, \"line_total\": 8280.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}], \"subtotal\": 22206.0, \"tax_rate\": 0.08, \"tax\": 1776.48, \"freight\": 0.0, \"total\": 23982.48, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-134994. Please remit to lockbox.\"}}"} {"case_id": "CASE_1048", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-47341", "grn_number": "GRN-91531", "invoice_number": "NSI-104629", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 55850.0, "po_tax": 4607.63, "po_freight": 0.0, "po_total": 60457.63, "invoice_subtotal": 55850.0, "invoice_tax": 4607.63, "invoice_freight": 0.0, "invoice_total": 60457.63, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1048/PO-2026-47341.pdf", "grn_file": "documents/CASE_1048/GRN-91531.jpg", "invoice_file": "documents/CASE_1048/NSI-104629.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1048/PO-2026-47341.pdf", "documents/CASE_1048/GRN-91531.jpg", "documents/CASE_1048/NSI-104629.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47341\", \"order_date\": \"2026-05-08\", \"expected_delivery\": \"2026-05-18\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 1180.0, \"line_total\": 35400.0}], \"subtotal\": 55850.0, \"tax_rate\": 0.0825, \"tax\": 4607.63, \"freight\": 0.0, \"total\": 60457.63, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91531\", \"po_number\": \"PO-2026-47341\", \"received_date\": \"May 17, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-118322\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-118322\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-104629\", \"po_number\": \"PO-2026-47341\", \"grn_ref\": \"GRN-91531\", \"invoice_date\": \"05/18/2026\", \"due_date\": \"06/17/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 1180.0, \"line_total\": 35400.0}], \"subtotal\": 55850.0, \"tax_rate\": 0.0825, \"tax\": 4607.63, \"freight\": 0.0, \"total\": 60457.63, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47341 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1055", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-47390", "grn_number": "GRN-91606", "invoice_number": "INV-APX-104716", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 4582.0, "po_tax": 378.02, "po_freight": 0.0, "po_total": 4960.02, "invoice_subtotal": 3697.0, "invoice_tax": 305.0, "invoice_freight": 0.0, "invoice_total": 4002.0, "total_variance": -958.02, "num_documents": 3, "po_file": "documents/CASE_1055/PO-2026-47390.png", "grn_file": "documents/CASE_1055/GRN-91606.docx", "invoice_file": "documents/CASE_1055/INV-APX-104716.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1055/PO-2026-47390.png", "documents/CASE_1055/GRN-91606.docx", "documents/CASE_1055/INV-APX-104716.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 7/10 units received and accurately billed; keep PO open for remaining 3 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"IND-4503\", \"po_qty\": 10, \"received_qty\": 7, \"invoiced_qty\": 7, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 7/10 units received and accurately billed; keep PO open for remaining 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47390\", \"order_date\": \"25-May-2026\", \"expected_delivery\": \"04-Jun-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}], \"subtotal\": 4582.0, \"tax_rate\": 0.0825, \"tax\": 378.02, \"freight\": 0.0, \"total\": 4960.02, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91606\", \"po_number\": \"PO-2026-47390\", \"received_date\": \"2026-05-31\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-329598\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 7, \"qty_accepted\": 7, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (3 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (7/10 IND-4503). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-329598\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-104716\", \"po_number\": \"PO-2026-47390\", \"grn_ref\": \"GRN-91606\", \"invoice_date\": \"Jun 04, 2026\", \"due_date\": \"Jul 04, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 7, \"unit_price\": 295.0, \"line_total\": 2065.0}], \"subtotal\": 3697.0, \"tax_rate\": 0.0825, \"tax\": 305.0, \"freight\": 0.0, \"total\": 4002.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47390 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1060", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-47423", "grn_number": "GRN-91661", "invoice_number": "VEP-104783", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 21360.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 21360.0, "invoice_subtotal": 21360.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 21360.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1060/PO-2026-47423.pdf", "grn_file": "documents/CASE_1060/GRN-91661.jpg", "invoice_file": "documents/CASE_1060/VEP-104783.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1060/PO-2026-47423.pdf", "documents/CASE_1060/GRN-91661.jpg", "documents/CASE_1060/VEP-104783.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47423\", \"order_date\": \"2026-07-02\", \"expected_delivery\": \"2026-07-12\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}], \"subtotal\": 21360.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 21360.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91661\", \"po_number\": \"PO-2026-47423\", \"received_date\": \"Jul 16, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-504105\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-504105\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-104783\", \"po_number\": \"PO-2026-47423\", \"grn_ref\": \"GRN-91661\", \"invoice_date\": \"07/18/2026\", \"due_date\": \"09/01/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}], \"subtotal\": 21360.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 21360.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47423 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1072", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-47506", "grn_number": "GRN-91797", "invoice_number": "VEP-104943", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 26585.0, "po_tax": 2126.8, "po_freight": 95.0, "po_total": 28806.8, "invoice_subtotal": 31326.2, "invoice_tax": 2506.1, "invoice_freight": 95.0, "invoice_total": 33927.3, "total_variance": 5120.5, "num_documents": 3, "po_file": "documents/CASE_1072/PO-2026-47506.pdf", "grn_file": "documents/CASE_1072/GRN-91797.jpg", "invoice_file": "documents/CASE_1072/VEP-104943.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1072/PO-2026-47506.pdf", "documents/CASE_1072/GRN-91797.jpg", "documents/CASE_1072/VEP-104943.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $658.53 exceeds contracted PO unit price $540.00 for ELC-7244.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"ELC-7244\", \"po_unit_price\": 540.0, \"invoice_unit_price\": 658.53, \"qty\": 40, \"variance_amount\": 4741.2, \"note\": \"Invoice unit price $658.53 exceeds contracted PO unit price $540.00 for ELC-7244.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47506\", \"order_date\": \"2026-08-30\", \"expected_delivery\": \"2026-09-09\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 26585.0, \"tax_rate\": 0.08, \"tax\": 2126.8, \"freight\": 95.0, \"total\": 28806.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91797\", \"po_number\": \"PO-2026-47506\", \"received_date\": \"Sep 10, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-534664\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-534664\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-104943\", \"po_number\": \"PO-2026-47506\", \"grn_ref\": \"GRN-91797\", \"invoice_date\": \"09/10/2026\", \"due_date\": \"10/25/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 658.53, \"line_total\": 26341.2}], \"subtotal\": 31326.2, \"tax_rate\": 0.08, \"tax\": 2506.1, \"freight\": 95.0, \"total\": 33927.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47506 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1076", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-47534", "grn_number": "", "invoice_number": "PPS-104993", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 10415.0, "po_tax": 833.2, "po_freight": 0.0, "po_total": 11248.2, "invoice_subtotal": 10415.0, "invoice_tax": 833.2, "invoice_freight": 0.0, "invoice_total": 11248.2, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1076/PO-2026-47534.jpg", "grn_file": "", "invoice_file": "documents/CASE_1076/PPS-104993.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1076/PO-2026-47534.jpg", "documents/CASE_1076/PPS-104993.docx"], "file_formats": ["jpg", "docx"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-47534\", \"invoice_number\": \"PPS-104993\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47534\", \"order_date\": \"2026-01-20\", \"expected_delivery\": \"2026-01-30\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 10415.0, \"tax_rate\": 0.08, \"tax\": 833.2, \"freight\": 0.0, \"total\": 11248.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-104993\", \"po_number\": \"PO-2026-47534\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"01/30/2026\", \"due_date\": \"02/14/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 10415.0, \"tax_rate\": 0.08, \"tax\": 833.2, \"freight\": 0.0, \"total\": 11248.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47534 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1079", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-47558", "grn_number": "GRN-91877", "invoice_number": "PPS-105028", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 19982.5, "po_tax": 0.0, "po_freight": 50.0, "po_total": 20032.5, "invoice_subtotal": 19982.5, "invoice_tax": 0.0, "invoice_freight": 50.0, "invoice_total": 20032.5, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1079/PO-2026-47558.png", "grn_file": "documents/CASE_1079/GRN-91877.docx", "invoice_file": "documents/CASE_1079/PPS-105028.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1079/PO-2026-47558.png", "documents/CASE_1079/GRN-91877.docx", "documents/CASE_1079/PPS-105028.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47558\", \"order_date\": \"23-Jan-2026\", \"expected_delivery\": \"02-Feb-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 19982.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 20032.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91877\", \"po_number\": \"PO-2026-47558\", \"received_date\": \"2026-02-04\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-858313\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-858313\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-105028\", \"po_number\": \"PO-2026-47558\", \"grn_ref\": \"GRN-91877\", \"invoice_date\": \"Feb 04, 2026\", \"due_date\": \"Mar 06, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 19982.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 20032.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47558 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1086", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-47603", "grn_number": "GRN-91955", "invoice_number": "PKR-105124", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3796.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 3796.0, "invoice_subtotal": 3796.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 3796.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1086/PO-2026-47603.docx", "grn_file": "documents/CASE_1086/GRN-91955.jpg", "invoice_file": "documents/CASE_1086/PKR-105124.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1086/PO-2026-47603.docx", "documents/CASE_1086/GRN-91955.jpg", "documents/CASE_1086/PKR-105124.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47603\", \"order_date\": \"09/13/2026\", \"expected_delivery\": \"09/23/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}], \"subtotal\": 3796.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 3796.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91955\", \"po_number\": \"PO-2026-47603\", \"received_date\": \"22-Sep-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-356967\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-356967\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-105124\", \"po_number\": \"PO-2026-47603\", \"grn_ref\": \"GRN-91955\", \"invoice_date\": \"2026-09-22\", \"due_date\": \"2026-10-22\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}], \"subtotal\": 3796.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 3796.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47603 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1087", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-47612", "grn_number": "GRN-91964", "invoice_number": "TP-105140", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 8000.0, "po_tax": 660.0, "po_freight": 0.0, "po_total": 8660.0, "invoice_subtotal": 8000.0, "invoice_tax": 660.0, "invoice_freight": 0.0, "invoice_total": 8660.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1087/PO-2026-47612.pdf", "grn_file": "documents/CASE_1087/GRN-91964.docx", "invoice_file": "documents/CASE_1087/TP-105140.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1087/PO-2026-47612.pdf", "documents/CASE_1087/GRN-91964.docx", "documents/CASE_1087/TP-105140.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for LAB-2188, but warehouse only received 29 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"LAB-2188\", \"po_qty\": 40, \"received_qty\": 29, \"invoiced_qty\": 40, \"overbilled_qty\": 11, \"variance_amount\": 1232.0, \"note\": \"Vendor billed 40 units for LAB-2188, but warehouse only received 29 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47612\", \"order_date\": \"05-May-2026\", \"expected_delivery\": \"15-May-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 40, \"unit_price\": 112.0, \"line_total\": 4480.0}], \"subtotal\": 8000.0, \"tax_rate\": 0.0825, \"tax\": 660.0, \"freight\": 0.0, \"total\": 8660.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-91964\", \"po_number\": \"PO-2026-47612\", \"received_date\": \"2026-05-18\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-320291\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 40, \"qty_received\": 29, \"qty_accepted\": 29, \"qty_rejected\": 0, \"condition\": \"Short 11 BAG (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 29 of 40 on LAB-2188 (short 11 BAG). - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-320291\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-105140\", \"po_number\": \"PO-2026-47612\", \"grn_ref\": \"GRN-91964\", \"invoice_date\": \"May 21, 2026\", \"due_date\": \"Jun 20, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 40, \"unit_price\": 112.0, \"line_total\": 4480.0}], \"subtotal\": 8000.0, \"tax_rate\": 0.0825, \"tax\": 660.0, \"freight\": 0.0, \"total\": 8660.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47612 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1094", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-47661", "grn_number": "GRN-92041", "invoice_number": "KWS-105231", "duplicate_invoice_number": "KWS-105231-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 16320.0, "po_tax": 1346.4, "po_freight": 0.0, "po_total": 17666.4, "invoice_subtotal": 16320.0, "invoice_tax": 1346.4, "invoice_freight": 0.0, "invoice_total": 17666.4, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1094/PO-2026-47661.jpg", "grn_file": "documents/CASE_1094/GRN-92041.pdf", "invoice_file": "documents/CASE_1094/KWS-105231.docx", "duplicate_invoice_file": "documents/CASE_1094/KWS-105231-R1.jpg", "file_paths": ["documents/CASE_1094/PO-2026-47661.jpg", "documents/CASE_1094/GRN-92041.pdf", "documents/CASE_1094/KWS-105231.docx", "documents/CASE_1094/KWS-105231-R1.jpg"], "file_formats": ["jpg", "pdf", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'KWS-105231' and 'KWS-105231-R1' bill $17666.40 against single receipt 'GRN-92041' / PO 'PO-2026-47661'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"KWS-105231\", \"duplicate_invoice_number\": \"KWS-105231-R1\", \"duplicate_billed_amount\": 17666.4, \"variance_amount\": 17666.4, \"note\": \"Duplicate billing detected: both 'KWS-105231' and 'KWS-105231-R1' bill $17666.40 against single receipt 'GRN-92041' / PO 'PO-2026-47661'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47661\", \"order_date\": \"02/23/2026\", \"expected_delivery\": \"03/05/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 385.0, \"line_total\": 15400.0}], \"subtotal\": 16320.0, \"tax_rate\": 0.0825, \"tax\": 1346.4, \"freight\": 0.0, \"total\": 17666.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92041\", \"po_number\": \"PO-2026-47661\", \"received_date\": \"09-Mar-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-112705\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-112705\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-105231\", \"po_number\": \"PO-2026-47661\", \"grn_ref\": \"GRN-92041\", \"invoice_date\": \"2026-03-12\", \"due_date\": \"2026-03-27\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 385.0, \"line_total\": 15400.0}], \"subtotal\": 16320.0, \"tax_rate\": 0.0825, \"tax\": 1346.4, \"freight\": 0.0, \"total\": 17666.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47661 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"KWS-105231-R1\", \"po_number\": \"PO-2026-47661\", \"grn_ref\": \"GRN-92041\", \"invoice_date\": \"2026-03-19\", \"due_date\": \"2026-04-03\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 385.0, \"line_total\": 15400.0}], \"subtotal\": 16320.0, \"tax_rate\": 0.0825, \"tax\": 1346.4, \"freight\": 0.0, \"total\": 17666.4, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-112705. Please remit to lockbox.\"}}"} {"case_id": "CASE_1096", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-47673", "grn_number": "GRN-92063", "invoice_number": "NSI-105254", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 84990.0, "po_tax": 6161.78, "po_freight": 35.0, "po_total": 91186.78, "invoice_subtotal": 86215.0, "invoice_tax": 6250.59, "invoice_freight": 35.0, "invoice_total": 92500.59, "total_variance": 1313.81, "num_documents": 3, "po_file": "documents/CASE_1096/PO-2026-47673.pdf", "grn_file": "documents/CASE_1096/GRN-92063.jpg", "invoice_file": "documents/CASE_1096/NSI-105254.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1096/PO-2026-47673.pdf", "documents/CASE_1096/GRN-92063.jpg", "documents/CASE_1096/NSI-105254.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IT-8829 ($1225.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 6, \"sku\": \"IT-8829\", \"invoiced_qty\": 5, \"invoice_unit_price\": 245.0, \"variance_amount\": 1225.0, \"note\": \"Invoice includes line item IT-8829 ($1225.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47673\", \"order_date\": \"2026-04-19\", \"expected_delivery\": \"2026-04-29\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 10, \"unit_price\": 58.0, \"line_total\": 580.0}], \"subtotal\": 84990.0, \"tax_rate\": 0.0725, \"tax\": 6161.78, \"freight\": 35.0, \"total\": 91186.78, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92063\", \"po_number\": \"PO-2026-47673\", \"received_date\": \"Apr 29, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-555595\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-555595\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-105254\", \"po_number\": \"PO-2026-47673\", \"grn_ref\": \"GRN-92063\", \"invoice_date\": \"05/04/2026\", \"due_date\": \"05/19/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}, {\"line_no\": 5, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 10, \"unit_price\": 58.0, \"line_total\": 580.0}, {\"line_no\": 6, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}], \"subtotal\": 86215.0, \"tax_rate\": 0.0725, \"tax\": 6250.59, \"freight\": 35.0, \"total\": 92500.59, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47673 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1103", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-47725", "grn_number": "GRN-92135", "invoice_number": "KWS-105340", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 20580.0, "po_tax": 1646.4, "po_freight": 0.0, "po_total": 22226.4, "invoice_subtotal": 20580.0, "invoice_tax": 1646.4, "invoice_freight": 0.0, "invoice_total": 22226.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1103/PO-2026-47725.png", "grn_file": "documents/CASE_1103/GRN-92135.docx", "invoice_file": "documents/CASE_1103/KWS-105340.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1103/PO-2026-47725.png", "documents/CASE_1103/GRN-92135.docx", "documents/CASE_1103/KWS-105340.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023), but Invoice billed by 'Corrugated & PackRight Materials' (Tax ID 62-4481029).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-47725\", \"invoice_po_ref\": \"PO-2026-47725\", \"po_vendor\": \"Kestrel Workspace & Ergonomics\", \"invoice_vendor\": \"Corrugated & PackRight Materials\", \"note\": \"Vendor entity mismatch: PO issued to 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023), but Invoice billed by 'Corrugated & PackRight Materials' (Tax ID 62-4481029).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47725\", \"order_date\": \"25-Jun-2026\", \"expected_delivery\": \"05-Jul-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 115.0, \"line_total\": 1380.0}], \"subtotal\": 20580.0, \"tax_rate\": 0.08, \"tax\": 1646.4, \"freight\": 0.0, \"total\": 22226.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92135\", \"po_number\": \"PO-2026-47725\", \"received_date\": \"2026-07-09\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-573112\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-573112\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-105340\", \"po_number\": \"PO-2026-47725\", \"grn_ref\": \"GRN-92135\", \"invoice_date\": \"Jul 15, 2026\", \"due_date\": \"Aug 29, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 115.0, \"line_total\": 1380.0}], \"subtotal\": 20580.0, \"tax_rate\": 0.08, \"tax\": 1646.4, \"freight\": 0.0, \"total\": 22226.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47725 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1106", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-47744", "grn_number": "GRN-92167", "invoice_number": "SSP-105380", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 18737.5, "po_tax": 1124.25, "po_freight": 50.0, "po_total": 19911.75, "invoice_subtotal": 18737.5, "invoice_tax": 1124.25, "invoice_freight": 50.0, "invoice_total": 19911.75, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1106/PO-2026-47744.jpg", "grn_file": "documents/CASE_1106/GRN-92167.pdf", "invoice_file": "documents/CASE_1106/SSP-105380.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1106/PO-2026-47744.jpg", "documents/CASE_1106/GRN-92167.pdf", "documents/CASE_1106/SSP-105380.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47744\", \"order_date\": \"04/26/2026\", \"expected_delivery\": \"05/06/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}], \"subtotal\": 18737.5, \"tax_rate\": 0.06, \"tax\": 1124.25, \"freight\": 50.0, \"total\": 19911.75, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92167\", \"po_number\": \"PO-2026-47744\", \"received_date\": \"02-May-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-928541\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-928541\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-105380\", \"po_number\": \"PO-2026-47744\", \"grn_ref\": \"GRN-92167\", \"invoice_date\": \"2026-05-02\", \"due_date\": \"2026-06-01\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}], \"subtotal\": 18737.5, \"tax_rate\": 0.06, \"tax\": 1124.25, \"freight\": 50.0, \"total\": 19911.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47744 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1113", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-47793", "grn_number": "GRN-92250", "invoice_number": "SSP-105475", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 8135.0, "po_tax": 650.8, "po_freight": 120.0, "po_total": 8905.8, "invoice_subtotal": 8135.0, "invoice_tax": 650.8, "invoice_freight": 120.0, "invoice_total": 8905.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1113/PO-2026-47793.docx", "grn_file": "documents/CASE_1113/GRN-92250.pdf", "invoice_file": "documents/CASE_1113/SSP-105475.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1113/PO-2026-47793.docx", "documents/CASE_1113/GRN-92250.pdf", "documents/CASE_1113/SSP-105475.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 30 units for IND-4418, but warehouse only received 23 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"IND-4418\", \"po_qty\": 30, \"received_qty\": 23, \"invoiced_qty\": 30, \"overbilled_qty\": 7, \"variance_amount\": 297.5, \"note\": \"Vendor billed 30 units for IND-4418, but warehouse only received 23 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47793\", \"order_date\": \"Feb 25, 2026\", \"expected_delivery\": \"Mar 07, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}], \"subtotal\": 8135.0, \"tax_rate\": 0.08, \"tax\": 650.8, \"freight\": 120.0, \"total\": 8905.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92250\", \"po_number\": \"PO-2026-47793\", \"received_date\": \"03/06/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-505347\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 30, \"qty_received\": 23, \"qty_accepted\": 23, \"qty_rejected\": 0, \"condition\": \"Short 7 BOX (Backordered)\"}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 23 of 30 on IND-4418 (short 7 BOX). - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-505347\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-105475\", \"po_number\": \"PO-2026-47793\", \"grn_ref\": \"GRN-92250\", \"invoice_date\": \"12-Mar-2026\", \"due_date\": \"27-Mar-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}], \"subtotal\": 8135.0, \"tax_rate\": 0.08, \"tax\": 650.8, \"freight\": 120.0, \"total\": 8905.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47793 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1119", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-47836", "grn_number": "GRN-92310", "invoice_number": "NSI-105552", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 48070.0, "po_tax": 3485.08, "po_freight": 50.0, "po_total": 51605.08, "invoice_subtotal": 58206.0, "invoice_tax": 4219.94, "invoice_freight": 50.0, "invoice_total": 62475.94, "total_variance": 10870.86, "num_documents": 3, "po_file": "documents/CASE_1119/PO-2026-47836.docx", "grn_file": "documents/CASE_1119/GRN-92310.pdf", "invoice_file": "documents/CASE_1119/NSI-105552.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1119/PO-2026-47836.docx", "documents/CASE_1119/GRN-92310.pdf", "documents/CASE_1119/NSI-105552.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $1433.40 exceeds contracted PO unit price $1180.00 for IT-8801.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"IT-8801\", \"po_unit_price\": 1180.0, \"invoice_unit_price\": 1433.4, \"qty\": 40, \"variance_amount\": 10136.0, \"note\": \"Invoice unit price $1433.40 exceeds contracted PO unit price $1180.00 for IT-8801.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47836\", \"order_date\": \"05-Apr-2026\", \"expected_delivery\": \"15-Apr-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}], \"subtotal\": 48070.0, \"tax_rate\": 0.0725, \"tax\": 3485.08, \"freight\": 50.0, \"total\": 51605.08, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92310\", \"po_number\": \"PO-2026-47836\", \"received_date\": \"2026-04-17\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-558965\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-558965\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-105552\", \"po_number\": \"PO-2026-47836\", \"grn_ref\": \"GRN-92310\", \"invoice_date\": \"Apr 19, 2026\", \"due_date\": \"Jun 03, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1433.4, \"line_total\": 57336.0}], \"subtotal\": 58206.0, \"tax_rate\": 0.0725, \"tax\": 4219.94, \"freight\": 50.0, \"total\": 62475.94, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47836 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1128", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-47898", "grn_number": "GRN-92413", "invoice_number": "KWS-105667", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 8600.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 8600.0, "invoice_subtotal": 6710.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 6710.0, "total_variance": -1890.0, "num_documents": 3, "po_file": "documents/CASE_1128/PO-2026-47898.docx", "grn_file": "documents/CASE_1128/GRN-92413.jpg", "invoice_file": "documents/CASE_1128/KWS-105667.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1128/PO-2026-47898.docx", "documents/CASE_1128/GRN-92413.jpg", "documents/CASE_1128/KWS-105667.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 21/30 units received and accurately billed; keep PO open for remaining 9 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"FRN-6135\", \"po_qty\": 30, \"received_qty\": 21, \"invoiced_qty\": 21, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 21/30 units received and accurately billed; keep PO open for remaining 9 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47898\", \"order_date\": \"2026-08-29\", \"expected_delivery\": \"2026-09-08\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 210.0, \"line_total\": 6300.0}], \"subtotal\": 8600.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8600.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92413\", \"po_number\": \"PO-2026-47898\", \"received_date\": \"Sep 09, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-600298\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 21, \"qty_accepted\": 21, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (9 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (21/30 FRN-6135). Balance on BO. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-600298\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-105667\", \"po_number\": \"PO-2026-47898\", \"grn_ref\": \"GRN-92413\", \"invoice_date\": \"09/11/2026\", \"due_date\": \"09/26/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 21, \"unit_price\": 210.0, \"line_total\": 4410.0}], \"subtotal\": 6710.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 6710.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47898 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1134", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-47939", "grn_number": "GRN-92482", "invoice_number": "VEP-105747", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 12140.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 12215.0, "invoice_subtotal": 12140.0, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 12215.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1134/PO-2026-47939.docx", "grn_file": "documents/CASE_1134/GRN-92482.jpg", "invoice_file": "documents/CASE_1134/VEP-105747.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1134/PO-2026-47939.docx", "documents/CASE_1134/GRN-92482.jpg", "documents/CASE_1134/VEP-105747.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "wrong_po_reference", "primary_discrepancy_note": "Invoice references non-matching PO 'PO-2026-901134' instead of packet PO 'PO-2026-47939'.", "discrepancies_json": "[{\"type\": \"wrong_po_reference\", \"expected_po\": \"PO-2026-47939\", \"invoice_po_ref\": \"PO-2026-901134\", \"po_vendor\": \"VoltEdge Power & Automation Ltd.\", \"invoice_vendor\": \"VoltEdge Power & Automation Ltd.\", \"note\": \"Invoice references non-matching PO 'PO-2026-901134' instead of packet PO 'PO-2026-47939'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47939\", \"order_date\": \"03/07/2026\", \"expected_delivery\": \"03/17/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}], \"subtotal\": 12140.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 12215.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92482\", \"po_number\": \"PO-2026-47939\", \"received_date\": \"19-Mar-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-256725\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-256725\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-105747\", \"po_number\": \"PO-2026-901134\", \"grn_ref\": \"GRN-92482\", \"invoice_date\": \"2026-03-23\", \"due_date\": \"2026-04-22\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}], \"subtotal\": 12140.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 12215.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-901134 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1138", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-47967", "grn_number": "GRN-92522", "invoice_number": "PPS-105795", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 26305.0, "po_tax": 1907.11, "po_freight": 0.0, "po_total": 28212.11, "invoice_subtotal": 26305.0, "invoice_tax": 1907.11, "invoice_freight": 0.0, "invoice_total": 28212.11, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1138/PO-2026-47967.pdf", "grn_file": "documents/CASE_1138/GRN-92522.jpg", "invoice_file": "documents/CASE_1138/PPS-105795.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1138/PO-2026-47967.pdf", "documents/CASE_1138/GRN-92522.jpg", "documents/CASE_1138/PPS-105795.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for ELC-7244, but warehouse only received 26 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"ELC-7244\", \"po_qty\": 40, \"received_qty\": 26, \"invoiced_qty\": 40, \"overbilled_qty\": 14, \"variance_amount\": 7560.0, \"note\": \"Vendor billed 40 units for ELC-7244, but warehouse only received 26 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-47967\", \"order_date\": \"05/02/2026\", \"expected_delivery\": \"05/12/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 26305.0, \"tax_rate\": 0.0725, \"tax\": 1907.11, \"freight\": 0.0, \"total\": 28212.11, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92522\", \"po_number\": \"PO-2026-47967\", \"received_date\": \"08-May-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-495088\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 26, \"qty_accepted\": 26, \"qty_rejected\": 0, \"condition\": \"Short 14 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 26 of 40 on ELC-7244 (short 14 EA). - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-495088\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-105795\", \"po_number\": \"PO-2026-47967\", \"grn_ref\": \"GRN-92522\", \"invoice_date\": \"2026-05-13\", \"due_date\": \"2026-06-12\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 26305.0, \"tax_rate\": 0.0725, \"tax\": 1907.11, \"freight\": 0.0, \"total\": 28212.11, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-47967 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1143", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-48006", "grn_number": "GRN-92579", "invoice_number": "PPS-105862", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 15330.5, "po_tax": 919.83, "po_freight": 35.0, "po_total": 16285.33, "invoice_subtotal": 15330.5, "invoice_tax": 919.83, "invoice_freight": 35.0, "invoice_total": 16375.33, "total_variance": 90.0, "num_documents": 3, "po_file": "documents/CASE_1143/PO-2026-48006.docx", "grn_file": "documents/CASE_1143/GRN-92579.pdf", "invoice_file": "documents/CASE_1143/PPS-105862.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1143/PO-2026-48006.docx", "documents/CASE_1143/GRN-92579.pdf", "documents/CASE_1143/PPS-105862.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($15330.50) + Tax ($919.83) + Freight ($35.00) = $16285.33, but Invoice Total Due states $16375.33.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 16285.33, \"invoice_stated_total\": 16375.33, \"variance_amount\": 90.0, \"note\": \"Invoice total summation error: Subtotal ($15330.50) + Tax ($919.83) + Freight ($35.00) = $16285.33, but Invoice Total Due states $16375.33.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48006\", \"order_date\": \"09-Sep-2026\", \"expected_delivery\": \"19-Sep-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}], \"subtotal\": 15330.5, \"tax_rate\": 0.06, \"tax\": 919.83, \"freight\": 35.0, \"total\": 16285.33, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92579\", \"po_number\": \"PO-2026-48006\", \"received_date\": \"2026-09-23\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-428588\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-428588\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-105862\", \"po_number\": \"PO-2026-48006\", \"grn_ref\": \"GRN-92579\", \"invoice_date\": \"Sep 23, 2026\", \"due_date\": \"Nov 07, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 172.0, \"line_total\": 1720.0}], \"subtotal\": 15330.5, \"tax_rate\": 0.06, \"tax\": 919.83, \"freight\": 35.0, \"total\": 16375.33, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48006 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1149", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-48044", "grn_number": "GRN-92643", "invoice_number": "SSP-105941", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 10153.0, "po_tax": 812.24, "po_freight": 0.0, "po_total": 10965.24, "invoice_subtotal": 10153.0, "invoice_tax": 812.24, "invoice_freight": 0.0, "invoice_total": 11145.24, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_1149/PO-2026-48044.docx", "grn_file": "documents/CASE_1149/GRN-92643.pdf", "invoice_file": "documents/CASE_1149/SSP-105941.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1149/PO-2026-48044.docx", "documents/CASE_1149/GRN-92643.pdf", "documents/CASE_1149/SSP-105941.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($10153.00) + Tax ($812.24) + Freight ($0.00) = $10965.24, but Invoice Total Due states $11145.24.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 10965.24, \"invoice_stated_total\": 11145.24, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($10153.00) + Tax ($812.24) + Freight ($0.00) = $10965.24, but Invoice Total Due states $11145.24.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48044\", \"order_date\": \"Mar 20, 2026\", \"expected_delivery\": \"Mar 30, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}, {\"line_no\": 5, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 295.0, \"line_total\": 4425.0}], \"subtotal\": 10153.0, \"tax_rate\": 0.08, \"tax\": 812.24, \"freight\": 0.0, \"total\": 10965.24, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92643\", \"po_number\": \"PO-2026-48044\", \"received_date\": \"03/31/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-425095\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-425095\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-105941\", \"po_number\": \"PO-2026-48044\", \"grn_ref\": \"GRN-92643\", \"invoice_date\": \"06-Apr-2026\", \"due_date\": \"21-May-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}, {\"line_no\": 5, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 295.0, \"line_total\": 4425.0}], \"subtotal\": 10153.0, \"tax_rate\": 0.08, \"tax\": 812.24, \"freight\": 0.0, \"total\": 11145.24, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48044 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1154", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-48081", "grn_number": "GRN-92702", "invoice_number": "KWS-106010", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 20350.0, "po_tax": 1628.0, "po_freight": 75.0, "po_total": 22053.0, "invoice_subtotal": 22262.5, "invoice_tax": 1781.0, "invoice_freight": 75.0, "invoice_total": 24118.5, "total_variance": 2065.5, "num_documents": 3, "po_file": "documents/CASE_1154/PO-2026-48081.jpg", "grn_file": "documents/CASE_1154/GRN-92702.pdf", "invoice_file": "documents/CASE_1154/KWS-106010.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1154/PO-2026-48081.jpg", "documents/CASE_1154/GRN-92702.pdf", "documents/CASE_1154/KWS-106010.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $703.75 exceeds contracted PO unit price $640.00 for FRN-6102.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"FRN-6102\", \"po_unit_price\": 640.0, \"invoice_unit_price\": 703.75, \"qty\": 30, \"variance_amount\": 1912.5, \"note\": \"Invoice unit price $703.75 exceeds contracted PO unit price $640.00 for FRN-6102.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48081\", \"order_date\": \"03/17/2026\", \"expected_delivery\": \"03/27/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 115.0, \"line_total\": 1150.0}], \"subtotal\": 20350.0, \"tax_rate\": 0.08, \"tax\": 1628.0, \"freight\": 75.0, \"total\": 22053.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92702\", \"po_number\": \"PO-2026-48081\", \"received_date\": \"26-Mar-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-718027\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-718027\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-106010\", \"po_number\": \"PO-2026-48081\", \"grn_ref\": \"GRN-92702\", \"invoice_date\": \"2026-03-26\", \"due_date\": \"2026-04-25\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 703.75, \"line_total\": 21112.5}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 115.0, \"line_total\": 1150.0}], \"subtotal\": 22262.5, \"tax_rate\": 0.08, \"tax\": 1781.0, \"freight\": 75.0, \"total\": 24118.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48081 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1158", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-48107", "grn_number": "GRN-92739", "invoice_number": "SSP-106058", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 8310.0, "po_tax": 685.58, "po_freight": 0.0, "po_total": 8995.58, "invoice_subtotal": 8242.0, "invoice_tax": 679.97, "invoice_freight": 0.0, "invoice_total": 8921.97, "total_variance": -73.61, "num_documents": 3, "po_file": "documents/CASE_1158/PO-2026-48107.docx", "grn_file": "documents/CASE_1158/GRN-92739.jpg", "invoice_file": "documents/CASE_1158/SSP-106058.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1158/PO-2026-48107.docx", "documents/CASE_1158/GRN-92739.jpg", "documents/CASE_1158/SSP-106058.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 3/5 units received and accurately billed; keep PO open for remaining 2 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"IND-4479\", \"po_qty\": 5, \"received_qty\": 3, \"invoiced_qty\": 3, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 3/5 units received and accurately billed; keep PO open for remaining 2 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48107\", \"order_date\": \"07/05/2026\", \"expected_delivery\": \"07/15/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}], \"subtotal\": 8310.0, \"tax_rate\": 0.0825, \"tax\": 685.58, \"freight\": 0.0, \"total\": 8995.58, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92739\", \"po_number\": \"PO-2026-48107\", \"received_date\": \"10-Jul-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-623960\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 3, \"qty_accepted\": 3, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (2 KIT remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (3/5 IND-4479). Balance on BO. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-623960\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-106058\", \"po_number\": \"PO-2026-48107\", \"grn_ref\": \"GRN-92739\", \"invoice_date\": \"2026-07-15\", \"due_date\": \"2026-08-29\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 3, \"unit_price\": 34.0, \"line_total\": 102.0}], \"subtotal\": 8242.0, \"tax_rate\": 0.0825, \"tax\": 679.97, \"freight\": 0.0, \"total\": 8921.97, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48107 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1160", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48125", "grn_number": "GRN-92764", "invoice_number": "TP-106084", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 16736.0, "po_tax": 1004.16, "po_freight": 0.0, "po_total": 17740.16, "invoice_subtotal": 16736.0, "invoice_tax": 1004.16, "invoice_freight": 0.0, "invoice_total": 17740.16, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1160/PO-2026-48125.jpg", "grn_file": "documents/CASE_1160/GRN-92764.pdf", "invoice_file": "documents/CASE_1160/TP-106084.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1160/PO-2026-48125.jpg", "documents/CASE_1160/GRN-92764.pdf", "documents/CASE_1160/TP-106084.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48125\", \"order_date\": \"2026-08-12\", \"expected_delivery\": \"2026-08-22\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 460.0, \"line_total\": 5520.0}], \"subtotal\": 16736.0, \"tax_rate\": 0.06, \"tax\": 1004.16, \"freight\": 0.0, \"total\": 17740.16, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92764\", \"po_number\": \"PO-2026-48125\", \"received_date\": \"Aug 25, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-435384\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-435384\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-106084\", \"po_number\": \"PO-2026-48125\", \"grn_ref\": \"GRN-92764\", \"invoice_date\": \"08/26/2026\", \"due_date\": \"09/10/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 460.0, \"line_total\": 5520.0}], \"subtotal\": 16736.0, \"tax_rate\": 0.06, \"tax\": 1004.16, \"freight\": 0.0, \"total\": 17740.16, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48125 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1172", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-48207", "grn_number": "GRN-92893", "invoice_number": "VEP-106240", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 30346.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 30346.0, "invoice_subtotal": 31147.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 31147.0, "total_variance": 801.0, "num_documents": 3, "po_file": "documents/CASE_1172/PO-2026-48207.jpg", "grn_file": "documents/CASE_1172/GRN-92893.pdf", "invoice_file": "documents/CASE_1172/VEP-106240.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1172/PO-2026-48207.jpg", "documents/CASE_1172/GRN-92893.pdf", "documents/CASE_1172/VEP-106240.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 39 units vs 30 ordered (+9 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_qty\": 30, \"received_qty\": 39, \"invoiced_qty\": 39, \"over_qty\": 9, \"variance_amount\": 801.0, \"note\": \"Shipped and billed 39 units vs 30 ordered (+9 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48207\", \"order_date\": \"2026-02-17\", \"expected_delivery\": \"2026-02-27\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 30346.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 30346.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92893\", \"po_number\": \"PO-2026-48207\", \"received_date\": \"Feb 27, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-781212\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 39, \"qty_accepted\": 39, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+9 EA over PO)\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 39 (9 extra over PO) on ELC-7218. Held in quarantine. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-781212\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-106240\", \"po_number\": \"PO-2026-48207\", \"grn_ref\": \"GRN-92893\", \"invoice_date\": \"03/02/2026\", \"due_date\": \"04/01/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 39, \"unit_price\": 89.0, \"line_total\": 3471.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 31147.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 31147.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48207 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1175", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-48229", "grn_number": "GRN-92931", "invoice_number": "SSP-106282", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 9657.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 9657.0, "invoice_subtotal": 10000.84, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 10000.84, "total_variance": 343.84, "num_documents": 3, "po_file": "documents/CASE_1175/PO-2026-48229.png", "grn_file": "documents/CASE_1175/GRN-92931.docx", "invoice_file": "documents/CASE_1175/SSP-106282.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1175/PO-2026-48229.png", "documents/CASE_1175/GRN-92931.docx", "documents/CASE_1175/SSP-106282.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $337.98 exceeds contracted PO unit price $295.00 for IND-4503.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"IND-4503\", \"po_unit_price\": 295.0, \"invoice_unit_price\": 337.98, \"qty\": 8, \"variance_amount\": 343.84, \"note\": \"Invoice unit price $337.98 exceeds contracted PO unit price $295.00 for IND-4503.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48229\", \"order_date\": \"03-Aug-2026\", \"expected_delivery\": \"13-Aug-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 9657.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9657.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92931\", \"po_number\": \"PO-2026-48229\", \"received_date\": \"2026-08-14\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-530208\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-530208\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-106282\", \"po_number\": \"PO-2026-48229\", \"grn_ref\": \"GRN-92931\", \"invoice_date\": \"Aug 17, 2026\", \"due_date\": \"Oct 01, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 337.98, \"line_total\": 2703.84}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 5, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 10000.84, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 10000.84, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48229 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1178", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-48250", "grn_number": "GRN-92963", "invoice_number": "PPS-106319", "duplicate_invoice_number": "PPS-106319-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 7785.0, "po_tax": 564.41, "po_freight": 0.0, "po_total": 8349.41, "invoice_subtotal": 7785.0, "invoice_tax": 564.41, "invoice_freight": 0.0, "invoice_total": 8349.41, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1178/PO-2026-48250.jpg", "grn_file": "documents/CASE_1178/GRN-92963.pdf", "invoice_file": "documents/CASE_1178/PPS-106319.docx", "duplicate_invoice_file": "documents/CASE_1178/PPS-106319-R1.jpg", "file_paths": ["documents/CASE_1178/PO-2026-48250.jpg", "documents/CASE_1178/GRN-92963.pdf", "documents/CASE_1178/PPS-106319.docx", "documents/CASE_1178/PPS-106319-R1.jpg"], "file_formats": ["jpg", "pdf", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PPS-106319' and 'PPS-106319-R1' bill $8349.41 against single receipt 'GRN-92963' / PO 'PO-2026-48250'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PPS-106319\", \"duplicate_invoice_number\": \"PPS-106319-R1\", \"duplicate_billed_amount\": 8349.41, \"variance_amount\": 8349.41, \"note\": \"Duplicate billing detected: both 'PPS-106319' and 'PPS-106319-R1' bill $8349.41 against single receipt 'GRN-92963' / PO 'PO-2026-48250'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48250\", \"order_date\": \"05/24/2026\", \"expected_delivery\": \"06/03/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 7785.0, \"tax_rate\": 0.0725, \"tax\": 564.41, \"freight\": 0.0, \"total\": 8349.41, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92963\", \"po_number\": \"PO-2026-48250\", \"received_date\": \"30-May-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-785766\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-785766\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-106319\", \"po_number\": \"PO-2026-48250\", \"grn_ref\": \"GRN-92963\", \"invoice_date\": \"2026-06-05\", \"due_date\": \"2026-07-05\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 7785.0, \"tax_rate\": 0.0725, \"tax\": 564.41, \"freight\": 0.0, \"total\": 8349.41, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48250 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PPS-106319-R1\", \"po_number\": \"PO-2026-48250\", \"grn_ref\": \"GRN-92963\", \"invoice_date\": \"2026-06-14\", \"due_date\": \"2026-07-14\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 7785.0, \"tax_rate\": 0.0725, \"tax\": 564.41, \"freight\": 0.0, \"total\": 8349.41, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-785766. Please remit to lockbox.\"}}"} {"case_id": "CASE_1180", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48262", "grn_number": "GRN-92986", "invoice_number": "NSI-106349", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 34520.0, "po_tax": 2502.7, "po_freight": 0.0, "po_total": 37022.7, "invoice_subtotal": 34520.0, "invoice_tax": 2502.7, "invoice_freight": 0.0, "invoice_total": 37022.7, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1180/PO-2026-48262.pdf", "grn_file": "documents/CASE_1180/GRN-92986.jpg", "invoice_file": "documents/CASE_1180/NSI-106349.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1180/PO-2026-48262.pdf", "documents/CASE_1180/GRN-92986.jpg", "documents/CASE_1180/NSI-106349.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48262\", \"order_date\": \"2026-06-01\", \"expected_delivery\": \"2026-06-11\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 690.0, \"line_total\": 27600.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}], \"subtotal\": 34520.0, \"tax_rate\": 0.0725, \"tax\": 2502.7, \"freight\": 0.0, \"total\": 37022.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-92986\", \"po_number\": \"PO-2026-48262\", \"received_date\": \"Jun 07, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-137884\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-137884\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-106349\", \"po_number\": \"PO-2026-48262\", \"grn_ref\": \"GRN-92986\", \"invoice_date\": \"06/09/2026\", \"due_date\": \"06/24/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 690.0, \"line_total\": 27600.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}], \"subtotal\": 34520.0, \"tax_rate\": 0.0725, \"tax\": 2502.7, \"freight\": 0.0, \"total\": 37022.7, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48262 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1181", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48268", "grn_number": "GRN-93000", "invoice_number": "TP-106361", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 13580.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 13580.0, "invoice_subtotal": 13580.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 13580.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1181/PO-2026-48268.png", "grn_file": "documents/CASE_1181/GRN-93000.docx", "invoice_file": "documents/CASE_1181/TP-106361.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1181/PO-2026-48268.png", "documents/CASE_1181/GRN-93000.docx", "documents/CASE_1181/TP-106361.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48268\", \"order_date\": \"Jun 24, 2026\", \"expected_delivery\": \"Jul 04, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 50, \"unit_price\": 112.0, \"line_total\": 5600.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 135.0, \"line_total\": 1080.0}], \"subtotal\": 13580.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13580.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93000\", \"po_number\": \"PO-2026-48268\", \"received_date\": \"06/28/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-580046\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-580046\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-106361\", \"po_number\": \"PO-2026-48268\", \"grn_ref\": \"GRN-93000\", \"invoice_date\": \"28-Jun-2026\", \"due_date\": \"12-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 50, \"unit_price\": 112.0, \"line_total\": 5600.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 460.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 135.0, \"line_total\": 1080.0}], \"subtotal\": 13580.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13580.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48268 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1190", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48335", "grn_number": "GRN-93092", "invoice_number": "VEP-106475", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 19742.0, "po_tax": 1184.52, "po_freight": 0.0, "po_total": 20926.52, "invoice_subtotal": 19742.0, "invoice_tax": 1184.52, "invoice_freight": 0.0, "invoice_total": 20926.52, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1190/PO-2026-48335.jpg", "grn_file": "documents/CASE_1190/GRN-93092.pdf", "invoice_file": "documents/CASE_1190/VEP-106475.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1190/PO-2026-48335.jpg", "documents/CASE_1190/GRN-93092.pdf", "documents/CASE_1190/VEP-106475.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48335\", \"order_date\": \"05/30/2026\", \"expected_delivery\": \"06/09/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 19742.0, \"tax_rate\": 0.06, \"tax\": 1184.52, \"freight\": 0.0, \"total\": 20926.52, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93092\", \"po_number\": \"PO-2026-48335\", \"received_date\": \"12-Jun-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-721945\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-721945\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-106475\", \"po_number\": \"PO-2026-48335\", \"grn_ref\": \"GRN-93092\", \"invoice_date\": \"2026-06-13\", \"due_date\": \"2026-07-13\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 19742.0, \"tax_rate\": 0.06, \"tax\": 1184.52, \"freight\": 0.0, \"total\": 20926.52, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48335 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1192", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48348", "grn_number": "GRN-93116", "invoice_number": "PPS-106504", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 16685.0, "po_tax": 1334.8, "po_freight": 0.0, "po_total": 18019.8, "invoice_subtotal": 16685.0, "invoice_tax": 1334.8, "invoice_freight": 0.0, "invoice_total": 18019.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1192/PO-2026-48348.pdf", "grn_file": "documents/CASE_1192/GRN-93116.jpg", "invoice_file": "documents/CASE_1192/PPS-106504.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1192/PO-2026-48348.pdf", "documents/CASE_1192/GRN-93116.jpg", "documents/CASE_1192/PPS-106504.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48348\", \"order_date\": \"2026-03-10\", \"expected_delivery\": \"2026-03-20\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 16685.0, \"tax_rate\": 0.08, \"tax\": 1334.8, \"freight\": 0.0, \"total\": 18019.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93116\", \"po_number\": \"PO-2026-48348\", \"received_date\": \"Mar 16, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-814557\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-814557\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-106504\", \"po_number\": \"PO-2026-48348\", \"grn_ref\": \"GRN-93116\", \"invoice_date\": \"03/22/2026\", \"due_date\": \"04/06/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 16685.0, \"tax_rate\": 0.08, \"tax\": 1334.8, \"freight\": 0.0, \"total\": 18019.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48348 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1196", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-48376", "grn_number": "GRN-93161", "invoice_number": "NSI-106549", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 16736.0, "po_tax": 1004.16, "po_freight": 0.0, "po_total": 17740.16, "invoice_subtotal": 16736.0, "invoice_tax": 1004.16, "invoice_freight": 0.0, "invoice_total": 17740.16, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1196/PO-2026-48376.jpg", "grn_file": "documents/CASE_1196/GRN-93161.pdf", "invoice_file": "documents/CASE_1196/NSI-106549.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1196/PO-2026-48376.jpg", "documents/CASE_1196/GRN-93161.pdf", "documents/CASE_1196/NSI-106549.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 12 units for IT-8814, but warehouse only received 10 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"IT-8814\", \"po_qty\": 12, \"received_qty\": 10, \"invoiced_qty\": 12, \"overbilled_qty\": 2, \"variance_amount\": 1040.0, \"note\": \"Vendor billed 12 units for IT-8814, but warehouse only received 10 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48376\", \"order_date\": \"2026-08-07\", \"expected_delivery\": \"2026-08-17\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}], \"subtotal\": 16736.0, \"tax_rate\": 0.06, \"tax\": 1004.16, \"freight\": 0.0, \"total\": 17740.16, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93161\", \"po_number\": \"PO-2026-48376\", \"received_date\": \"Aug 11, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-795353\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Short 2 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 10 of 12 on IT-8814 (short 2 EA). - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-795353\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-106549\", \"po_number\": \"PO-2026-48376\", \"grn_ref\": \"GRN-93161\", \"invoice_date\": \"08/17/2026\", \"due_date\": \"09/16/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}], \"subtotal\": 16736.0, \"tax_rate\": 0.06, \"tax\": 1004.16, \"freight\": 0.0, \"total\": 17740.16, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48376 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1203", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-48425", "grn_number": "GRN-93239", "invoice_number": "PKR-106647", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3080.0, "po_tax": 246.4, "po_freight": 0.0, "po_total": 3326.4, "invoice_subtotal": 3080.0, "invoice_tax": 246.4, "invoice_freight": 8.6, "invoice_total": 3335.0, "total_variance": 8.6, "num_documents": 3, "po_file": "documents/CASE_1203/PO-2026-48425.docx", "grn_file": "documents/CASE_1203/GRN-93239.pdf", "invoice_file": "documents/CASE_1203/PKR-106647.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1203/PO-2026-48425.docx", "documents/CASE_1203/GRN-93239.pdf", "documents/CASE_1203/PKR-106647.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $8.60 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 8.6, \"variance_amount\": 8.6, \"note\": \"Prepaid & Add shipping fee of $8.60 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48425\", \"order_date\": \"22-Sep-2026\", \"expected_delivery\": \"02-Oct-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}], \"subtotal\": 3080.0, \"tax_rate\": 0.08, \"tax\": 246.4, \"freight\": 0.0, \"total\": 3326.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93239\", \"po_number\": \"PO-2026-48425\", \"received_date\": \"2026-09-27\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-577710\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-577710\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-106647\", \"po_number\": \"PO-2026-48425\", \"grn_ref\": \"GRN-93239\", \"invoice_date\": \"Sep 27, 2026\", \"due_date\": \"Oct 27, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}], \"subtotal\": 3080.0, \"tax_rate\": 0.08, \"tax\": 246.4, \"freight\": 8.6, \"total\": 3335.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48425 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1208", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48459", "grn_number": "GRN-93292", "invoice_number": "NSI-106709", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 19345.0, "po_tax": 1402.51, "po_freight": 35.0, "po_total": 20782.51, "invoice_subtotal": 19345.0, "invoice_tax": 1402.51, "invoice_freight": 35.0, "invoice_total": 20782.51, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1208/PO-2026-48459.jpg", "grn_file": "documents/CASE_1208/GRN-93292.pdf", "invoice_file": "documents/CASE_1208/NSI-106709.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1208/PO-2026-48459.jpg", "documents/CASE_1208/GRN-93292.pdf", "documents/CASE_1208/NSI-106709.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48459\", \"order_date\": \"2026-05-21\", \"expected_delivery\": \"2026-05-31\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 690.0, \"line_total\": 13800.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 40, \"unit_price\": 58.0, \"line_total\": 2320.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}], \"subtotal\": 19345.0, \"tax_rate\": 0.0725, \"tax\": 1402.51, \"freight\": 35.0, \"total\": 20782.51, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93292\", \"po_number\": \"PO-2026-48459\", \"received_date\": \"May 26, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-185860\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-185860\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-106709\", \"po_number\": \"PO-2026-48459\", \"grn_ref\": \"GRN-93292\", \"invoice_date\": \"05/31/2026\", \"due_date\": \"07/15/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 690.0, \"line_total\": 13800.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 40, \"unit_price\": 58.0, \"line_total\": 2320.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}], \"subtotal\": 19345.0, \"tax_rate\": 0.0725, \"tax\": 1402.51, \"freight\": 35.0, \"total\": 20782.51, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48459 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1216", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-48515", "grn_number": "GRN-93383", "invoice_number": "TP-106817", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 16376.0, "po_tax": 1351.02, "po_freight": 0.0, "po_total": 17727.02, "invoice_subtotal": 16376.0, "invoice_tax": 1351.02, "invoice_freight": 550.0, "invoice_total": 18277.02, "total_variance": 550.0, "num_documents": 3, "po_file": "documents/CASE_1216/PO-2026-48515.pdf", "grn_file": "documents/CASE_1216/GRN-93383.jpg", "invoice_file": "documents/CASE_1216/TP-106817.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1216/PO-2026-48515.pdf", "documents/CASE_1216/GRN-93383.jpg", "documents/CASE_1216/TP-106817.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 550.0, \"variance_amount\": 550.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48515\", \"order_date\": \"2026-06-07\", \"expected_delivery\": \"2026-06-17\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}], \"subtotal\": 16376.0, \"tax_rate\": 0.0825, \"tax\": 1351.02, \"freight\": 0.0, \"total\": 17727.02, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93383\", \"po_number\": \"PO-2026-48515\", \"received_date\": \"Jun 19, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-413980\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-413980\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-106817\", \"po_number\": \"PO-2026-48515\", \"grn_ref\": \"GRN-93383\", \"invoice_date\": \"06/21/2026\", \"due_date\": \"07/06/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}], \"subtotal\": 16376.0, \"tax_rate\": 0.0825, \"tax\": 1351.02, \"freight\": 550.0, \"total\": 18277.02, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48515 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1222", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48555", "grn_number": "GRN-93443", "invoice_number": "KWS-106892", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 14200.0, "po_tax": 1136.0, "po_freight": 0.0, "po_total": 15336.0, "invoice_subtotal": 14200.0, "invoice_tax": 1136.0, "invoice_freight": 0.0, "invoice_total": 15336.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1222/PO-2026-48555.pdf", "grn_file": "documents/CASE_1222/GRN-93443.jpg", "invoice_file": "documents/CASE_1222/KWS-106892.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1222/PO-2026-48555.pdf", "documents/CASE_1222/GRN-93443.jpg", "documents/CASE_1222/KWS-106892.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48555\", \"order_date\": \"03/10/2026\", \"expected_delivery\": \"03/20/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}], \"subtotal\": 14200.0, \"tax_rate\": 0.08, \"tax\": 1136.0, \"freight\": 0.0, \"total\": 15336.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93443\", \"po_number\": \"PO-2026-48555\", \"received_date\": \"18-Mar-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-161096\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-161096\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-106892\", \"po_number\": \"PO-2026-48555\", \"grn_ref\": \"GRN-93443\", \"invoice_date\": \"2026-03-20\", \"due_date\": \"2026-04-19\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}], \"subtotal\": 14200.0, \"tax_rate\": 0.08, \"tax\": 1136.0, \"freight\": 0.0, \"total\": 15336.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48555 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1225", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-48580", "grn_number": "GRN-93483", "invoice_number": "SSP-106931", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 20383.0, "po_tax": 1630.64, "po_freight": 50.0, "po_total": 22063.64, "invoice_subtotal": 20938.0, "invoice_tax": 1675.04, "invoice_freight": 50.0, "invoice_total": 22663.04, "total_variance": 599.4, "num_documents": 3, "po_file": "documents/CASE_1225/PO-2026-48580.pdf", "grn_file": "documents/CASE_1225/GRN-93483.docx", "invoice_file": "documents/CASE_1225/SSP-106931.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1225/PO-2026-48580.pdf", "documents/CASE_1225/GRN-93483.docx", "documents/CASE_1225/SSP-106931.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 8 units vs 5 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"IND-4401\", \"po_qty\": 5, \"received_qty\": 8, \"invoiced_qty\": 8, \"over_qty\": 3, \"variance_amount\": 555.0, \"note\": \"Shipped and billed 8 units vs 5 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48580\", \"order_date\": \"Jul 14, 2026\", \"expected_delivery\": \"Jul 24, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}], \"subtotal\": 20383.0, \"tax_rate\": 0.08, \"tax\": 1630.64, \"freight\": 50.0, \"total\": 22063.64, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93483\", \"po_number\": \"PO-2026-48580\", \"received_date\": \"07/18/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-209471\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 8 (3 extra over PO) on IND-4401. Held in quarantine. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-209471\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-106931\", \"po_number\": \"PO-2026-48580\", \"grn_ref\": \"GRN-93483\", \"invoice_date\": \"24-Jul-2026\", \"due_date\": \"08-Aug-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}], \"subtotal\": 20938.0, \"tax_rate\": 0.08, \"tax\": 1675.04, \"freight\": 50.0, \"total\": 22663.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48580 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1230", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-48612", "grn_number": "GRN-93537", "invoice_number": "SSP-106996", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 10270.0, "po_tax": 847.28, "po_freight": 95.0, "po_total": 11212.28, "invoice_subtotal": 11354.5, "invoice_tax": 936.75, "invoice_freight": 95.0, "invoice_total": 12386.25, "total_variance": 1173.97, "num_documents": 3, "po_file": "documents/CASE_1230/PO-2026-48612.docx", "grn_file": "documents/CASE_1230/GRN-93537.jpg", "invoice_file": "documents/CASE_1230/SSP-106996.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1230/PO-2026-48612.docx", "documents/CASE_1230/GRN-93537.jpg", "documents/CASE_1230/SSP-106996.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $206.69 exceeds contracted PO unit price $185.00 for IND-4401.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"IND-4401\", \"po_unit_price\": 185.0, \"invoice_unit_price\": 206.69, \"qty\": 50, \"variance_amount\": 1084.5, \"note\": \"Invoice unit price $206.69 exceeds contracted PO unit price $185.00 for IND-4401.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48612\", \"order_date\": \"02/17/2026\", \"expected_delivery\": \"02/27/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}], \"subtotal\": 10270.0, \"tax_rate\": 0.0825, \"tax\": 847.28, \"freight\": 95.0, \"total\": 11212.28, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93537\", \"po_number\": \"PO-2026-48612\", \"received_date\": \"24-Feb-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-414835\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-414835\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-106996\", \"po_number\": \"PO-2026-48612\", \"grn_ref\": \"GRN-93537\", \"invoice_date\": \"2026-02-27\", \"due_date\": \"2026-04-13\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 206.69, \"line_total\": 10334.5}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}], \"subtotal\": 11354.5, \"tax_rate\": 0.0825, \"tax\": 936.75, \"freight\": 95.0, \"total\": 12386.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48612 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1232", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48626", "grn_number": "GRN-93555", "invoice_number": "SSP-107019", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 13550.0, "po_tax": 1084.0, "po_freight": 0.0, "po_total": 14634.0, "invoice_subtotal": 13550.0, "invoice_tax": 1084.0, "invoice_freight": 0.0, "invoice_total": 14634.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1232/PO-2026-48626.jpg", "grn_file": "documents/CASE_1232/GRN-93555.pdf", "invoice_file": "documents/CASE_1232/SSP-107019.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1232/PO-2026-48626.jpg", "documents/CASE_1232/GRN-93555.pdf", "documents/CASE_1232/SSP-107019.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48626\", \"order_date\": \"2026-01-25\", \"expected_delivery\": \"2026-02-04\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 13550.0, \"tax_rate\": 0.08, \"tax\": 1084.0, \"freight\": 0.0, \"total\": 14634.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93555\", \"po_number\": \"PO-2026-48626\", \"received_date\": \"Feb 01, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-665242\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-665242\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-107019\", \"po_number\": \"PO-2026-48626\", \"grn_ref\": \"GRN-93555\", \"invoice_date\": \"02/01/2026\", \"due_date\": \"02/16/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 13550.0, \"tax_rate\": 0.08, \"tax\": 1084.0, \"freight\": 0.0, \"total\": 14634.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48626 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1233", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48632", "grn_number": "GRN-93570", "invoice_number": "NSI-107037", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 41780.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 41780.0, "invoice_subtotal": 41780.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 41780.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1233/PO-2026-48632.docx", "grn_file": "documents/CASE_1233/GRN-93570.pdf", "invoice_file": "documents/CASE_1233/NSI-107037.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1233/PO-2026-48632.docx", "documents/CASE_1233/GRN-93570.pdf", "documents/CASE_1233/NSI-107037.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48632\", \"order_date\": \"Feb 14, 2026\", \"expected_delivery\": \"Feb 24, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 1180.0, \"line_total\": 23600.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 41780.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 41780.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93570\", \"po_number\": \"PO-2026-48632\", \"received_date\": \"02/23/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-330949\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-330949\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-107037\", \"po_number\": \"PO-2026-48632\", \"grn_ref\": \"GRN-93570\", \"invoice_date\": \"27-Feb-2026\", \"due_date\": \"13-Apr-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 1180.0, \"line_total\": 23600.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 41780.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 41780.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48632 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1235", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-48648", "grn_number": "", "invoice_number": "SSP-107061", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 18406.0, "po_tax": 1104.36, "po_freight": 120.0, "po_total": 19630.36, "invoice_subtotal": 18406.0, "invoice_tax": 1104.36, "invoice_freight": 120.0, "invoice_total": 19630.36, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1235/PO-2026-48648.png", "grn_file": "", "invoice_file": "documents/CASE_1235/SSP-107061.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1235/PO-2026-48648.png", "documents/CASE_1235/SSP-107061.pdf"], "file_formats": ["png", "pdf"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-48648\", \"invoice_number\": \"SSP-107061\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48648\", \"order_date\": \"21-May-2026\", \"expected_delivery\": \"31-May-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}], \"subtotal\": 18406.0, \"tax_rate\": 0.06, \"tax\": 1104.36, \"freight\": 120.0, \"total\": 19630.36, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-107061\", \"po_number\": \"PO-2026-48648\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"Jun 02, 2026\", \"due_date\": \"Jul 02, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}], \"subtotal\": 18406.0, \"tax_rate\": 0.06, \"tax\": 1104.36, \"freight\": 120.0, \"total\": 19630.36, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48648 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1236", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-48657", "grn_number": "", "invoice_number": "SSP-107071", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 7839.0, "po_tax": 568.33, "po_freight": 95.0, "po_total": 8502.33, "invoice_subtotal": 7839.0, "invoice_tax": 568.33, "invoice_freight": 95.0, "invoice_total": 8502.33, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1236/PO-2026-48657.docx", "grn_file": "", "invoice_file": "documents/CASE_1236/SSP-107071.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1236/PO-2026-48657.docx", "documents/CASE_1236/SSP-107071.pdf"], "file_formats": ["docx", "pdf"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-48657\", \"invoice_number\": \"SSP-107071\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48657\", \"order_date\": \"2026-01-10\", \"expected_delivery\": \"2026-01-20\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}], \"subtotal\": 7839.0, \"tax_rate\": 0.0725, \"tax\": 568.33, \"freight\": 95.0, \"total\": 8502.33, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-107071\", \"po_number\": \"PO-2026-48657\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"01/17/2026\", \"due_date\": \"02/16/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}], \"subtotal\": 7839.0, \"tax_rate\": 0.0725, \"tax\": 568.33, \"freight\": 95.0, \"total\": 8502.33, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48657 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1244", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-48709", "grn_number": "GRN-93685", "invoice_number": "TP-107181", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 16635.0, "po_tax": 1330.8, "po_freight": 0.0, "po_total": 17965.8, "invoice_subtotal": 19395.0, "invoice_tax": 1551.6, "invoice_freight": 0.0, "invoice_total": 20946.6, "total_variance": 2980.8, "num_documents": 3, "po_file": "documents/CASE_1244/PO-2026-48709.jpg", "grn_file": "documents/CASE_1244/GRN-93685.pdf", "invoice_file": "documents/CASE_1244/TP-107181.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1244/PO-2026-48709.jpg", "documents/CASE_1244/GRN-93685.pdf", "documents/CASE_1244/TP-107181.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 30 units vs 24 ordered (+6 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 3, \"sku\": \"LAB-2170\", \"po_qty\": 24, \"received_qty\": 30, \"invoiced_qty\": 30, \"over_qty\": 6, \"variance_amount\": 2760.0, \"note\": \"Shipped and billed 30 units vs 24 ordered (+6 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48709\", \"order_date\": \"2026-02-15\", \"expected_delivery\": \"2026-02-25\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}], \"subtotal\": 16635.0, \"tax_rate\": 0.08, \"tax\": 1330.8, \"freight\": 0.0, \"total\": 17965.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93685\", \"po_number\": \"PO-2026-48709\", \"received_date\": \"Mar 01, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-168034\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+6 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 30 (6 extra over PO) on LAB-2170. Held in quarantine. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-168034\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-107181\", \"po_number\": \"PO-2026-48709\", \"grn_ref\": \"GRN-93685\", \"invoice_date\": \"03/05/2026\", \"due_date\": \"03/20/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}], \"subtotal\": 19395.0, \"tax_rate\": 0.08, \"tax\": 1551.6, \"freight\": 0.0, \"total\": 20946.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48709 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1248", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-48738", "grn_number": "GRN-93729", "invoice_number": "NSI-107231", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 47890.0, "po_tax": 3472.03, "po_freight": 0.0, "po_total": 51362.03, "invoice_subtotal": 47890.0, "invoice_tax": 3472.03, "invoice_freight": 7.08, "invoice_total": 51369.11, "total_variance": 7.08, "num_documents": 3, "po_file": "documents/CASE_1248/PO-2026-48738.docx", "grn_file": "documents/CASE_1248/GRN-93729.jpg", "invoice_file": "documents/CASE_1248/NSI-107231.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1248/PO-2026-48738.docx", "documents/CASE_1248/GRN-93729.jpg", "documents/CASE_1248/NSI-107231.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.08 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.08, \"variance_amount\": 7.08, \"note\": \"Prepaid & Add shipping fee of $7.08 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48738\", \"order_date\": \"2026-08-13\", \"expected_delivery\": \"2026-08-23\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 1180.0, \"line_total\": 23600.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 215.0, \"line_total\": 10750.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 245.0, \"line_total\": 4900.0}], \"subtotal\": 47890.0, \"tax_rate\": 0.0725, \"tax\": 3472.03, \"freight\": 0.0, \"total\": 51362.03, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93729\", \"po_number\": \"PO-2026-48738\", \"received_date\": \"Aug 25, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-607369\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-607369\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-107231\", \"po_number\": \"PO-2026-48738\", \"grn_ref\": \"GRN-93729\", \"invoice_date\": \"08/25/2026\", \"due_date\": \"09/09/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 1180.0, \"line_total\": 23600.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 215.0, \"line_total\": 10750.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 30, \"unit_price\": 58.0, \"line_total\": 1740.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 245.0, \"line_total\": 4900.0}], \"subtotal\": 47890.0, \"tax_rate\": 0.0725, \"tax\": 3472.03, \"freight\": 7.08, \"total\": 51369.11, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48738 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1251", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-48762", "grn_number": "GRN-93767", "invoice_number": "SSP-107268", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 12158.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 12158.0, "invoice_subtotal": 12158.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 12408.0, "total_variance": 250.0, "num_documents": 3, "po_file": "documents/CASE_1251/PO-2026-48762.docx", "grn_file": "documents/CASE_1251/GRN-93767.pdf", "invoice_file": "documents/CASE_1251/SSP-107268.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1251/PO-2026-48762.docx", "documents/CASE_1251/GRN-93767.pdf", "documents/CASE_1251/SSP-107268.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($12158.00) + Tax ($0.00) + Freight ($0.00) = $12158.00, but Invoice Total Due states $12408.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 12158.0, \"invoice_stated_total\": 12408.0, \"variance_amount\": 250.0, \"note\": \"Invoice total summation error: Subtotal ($12158.00) + Tax ($0.00) + Freight ($0.00) = $12158.00, but Invoice Total Due states $12408.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48762\", \"order_date\": \"01-Apr-2026\", \"expected_delivery\": \"11-Apr-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 185.0, \"line_total\": 1850.0}], \"subtotal\": 12158.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 12158.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93767\", \"po_number\": \"PO-2026-48762\", \"received_date\": \"2026-04-12\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-272779\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-272779\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-107268\", \"po_number\": \"PO-2026-48762\", \"grn_ref\": \"GRN-93767\", \"invoice_date\": \"Apr 14, 2026\", \"due_date\": \"May 14, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 185.0, \"line_total\": 1850.0}], \"subtotal\": 12158.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 12408.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48762 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1257", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-48804", "grn_number": "GRN-93828", "invoice_number": "NSI-107343", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 67135.0, "po_tax": 4867.29, "po_freight": 0.0, "po_total": 72002.29, "invoice_subtotal": 67135.0, "invoice_tax": 4867.29, "invoice_freight": 0.0, "invoice_total": 72002.29, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1257/PO-2026-48804.docx", "grn_file": "documents/CASE_1257/GRN-93828.pdf", "invoice_file": "documents/CASE_1257/NSI-107343.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1257/PO-2026-48804.docx", "documents/CASE_1257/GRN-93828.pdf", "documents/CASE_1257/NSI-107343.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48804\", \"order_date\": \"Jun 09, 2026\", \"expected_delivery\": \"Jun 19, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}], \"subtotal\": 67135.0, \"tax_rate\": 0.0725, \"tax\": 4867.29, \"freight\": 0.0, \"total\": 72002.29, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93828\", \"po_number\": \"PO-2026-48804\", \"received_date\": \"06/22/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-277431\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-277431\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-107343\", \"po_number\": \"PO-2026-48804\", \"grn_ref\": \"GRN-93828\", \"invoice_date\": \"24-Jun-2026\", \"due_date\": \"24-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}], \"subtotal\": 67135.0, \"tax_rate\": 0.0725, \"tax\": 4867.29, \"freight\": 0.0, \"total\": 72002.29, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48804 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1262", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-48837", "grn_number": "GRN-93891", "invoice_number": "PPS-107414", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 15420.0, "po_tax": 0.0, "po_freight": 50.0, "po_total": 15470.0, "invoice_subtotal": 15865.0, "invoice_tax": 0.0, "invoice_freight": 50.0, "invoice_total": 15915.0, "total_variance": 445.0, "num_documents": 3, "po_file": "documents/CASE_1262/PO-2026-48837.jpg", "grn_file": "documents/CASE_1262/GRN-93891.pdf", "invoice_file": "documents/CASE_1262/PPS-107414.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1262/PO-2026-48837.jpg", "documents/CASE_1262/GRN-93891.pdf", "documents/CASE_1262/PPS-107414.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7218 ($445.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"ELC-7218\", \"invoiced_qty\": 5, \"invoice_unit_price\": 89.0, \"variance_amount\": 445.0, \"note\": \"Invoice includes line item ELC-7218 ($445.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48837\", \"order_date\": \"06/16/2026\", \"expected_delivery\": \"06/26/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}], \"subtotal\": 15420.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 15470.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93891\", \"po_number\": \"PO-2026-48837\", \"received_date\": \"25-Jun-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-404975\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-404975\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-107414\", \"po_number\": \"PO-2026-48837\", \"grn_ref\": \"GRN-93891\", \"invoice_date\": \"2026-06-30\", \"due_date\": \"2026-07-30\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 15865.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 15915.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48837 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1270", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-48895", "grn_number": "GRN-93976", "invoice_number": "KWS-107517", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 27475.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 27475.0, "invoice_subtotal": 27820.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 27820.0, "total_variance": 345.0, "num_documents": 3, "po_file": "documents/CASE_1270/PO-2026-48895.pdf", "grn_file": "documents/CASE_1270/GRN-93976.jpg", "invoice_file": "documents/CASE_1270/KWS-107517.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1270/PO-2026-48895.pdf", "documents/CASE_1270/GRN-93976.jpg", "documents/CASE_1270/KWS-107517.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 8 units vs 5 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"FRN-6159\", \"po_qty\": 5, \"received_qty\": 8, \"invoiced_qty\": 8, \"over_qty\": 3, \"variance_amount\": 345.0, \"note\": \"Shipped and billed 8 units vs 5 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-48895\", \"order_date\": \"03/28/2026\", \"expected_delivery\": \"04/07/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 115.0, \"line_total\": 575.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}], \"subtotal\": 27475.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 27475.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-93976\", \"po_number\": \"PO-2026-48895\", \"received_date\": \"06-Apr-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-334721\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 8 (3 extra over PO) on FRN-6159. Held in quarantine. - M. Okafor\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-334721\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-107517\", \"po_number\": \"PO-2026-48895\", \"grn_ref\": \"GRN-93976\", \"invoice_date\": \"2026-04-06\", \"due_date\": \"2026-05-06\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}], \"subtotal\": 27820.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 27820.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-48895 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1295", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-49067", "grn_number": "GRN-94251", "invoice_number": "TP-107841", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 23616.0, "po_tax": 1712.16, "po_freight": 0.0, "po_total": 25328.16, "invoice_subtotal": 23712.85, "invoice_tax": 1719.18, "invoice_freight": 0.0, "invoice_total": 25432.03, "total_variance": 103.87, "num_documents": 3, "po_file": "documents/CASE_1295/PO-2026-49067.png", "grn_file": "documents/CASE_1295/GRN-94251.docx", "invoice_file": "documents/CASE_1295/TP-107841.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1295/PO-2026-49067.png", "documents/CASE_1295/GRN-94251.docx", "documents/CASE_1295/TP-107841.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $131.37 exceeds contracted PO unit price $112.00 for LAB-2188.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"LAB-2188\", \"po_unit_price\": 112.0, \"invoice_unit_price\": 131.37, \"qty\": 5, \"variance_amount\": 96.85, \"note\": \"Invoice unit price $131.37 exceeds contracted PO unit price $112.00 for LAB-2188.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49067\", \"order_date\": \"05-Mar-2026\", \"expected_delivery\": \"15-Mar-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 23616.0, \"tax_rate\": 0.0725, \"tax\": 1712.16, \"freight\": 0.0, \"total\": 25328.16, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94251\", \"po_number\": \"PO-2026-49067\", \"received_date\": \"2026-03-17\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-494392\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-494392\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-107841\", \"po_number\": \"PO-2026-49067\", \"grn_ref\": \"GRN-94251\", \"invoice_date\": \"Mar 17, 2026\", \"due_date\": \"Apr 16, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 131.37, \"line_total\": 656.85}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 23712.85, \"tax_rate\": 0.0725, \"tax\": 1719.18, \"freight\": 0.0, \"total\": 25432.03, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49067 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1300", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-49101", "grn_number": "GRN-94306", "invoice_number": "TP-107905", "duplicate_invoice_number": "TP-107905-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 33025.0, "po_tax": 2642.0, "po_freight": 75.0, "po_total": 35742.0, "invoice_subtotal": 33025.0, "invoice_tax": 2642.0, "invoice_freight": 75.0, "invoice_total": 35742.0, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1300/PO-2026-49101.pdf", "grn_file": "documents/CASE_1300/GRN-94306.jpg", "invoice_file": "documents/CASE_1300/TP-107905.docx", "duplicate_invoice_file": "documents/CASE_1300/TP-107905-R1.jpg", "file_paths": ["documents/CASE_1300/PO-2026-49101.pdf", "documents/CASE_1300/GRN-94306.jpg", "documents/CASE_1300/TP-107905.docx", "documents/CASE_1300/TP-107905-R1.jpg"], "file_formats": ["pdf", "jpg", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'TP-107905' and 'TP-107905-R1' bill $35742.00 against single receipt 'GRN-94306' / PO 'PO-2026-49101'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"TP-107905\", \"duplicate_invoice_number\": \"TP-107905-R1\", \"duplicate_billed_amount\": 35742.0, \"variance_amount\": 35742.0, \"note\": \"Duplicate billing detected: both 'TP-107905' and 'TP-107905-R1' bill $35742.00 against single receipt 'GRN-94306' / PO 'PO-2026-49101'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49101\", \"order_date\": \"2026-05-20\", \"expected_delivery\": \"2026-05-30\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 88.0, \"line_total\": 4400.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 33025.0, \"tax_rate\": 0.08, \"tax\": 2642.0, \"freight\": 75.0, \"total\": 35742.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94306\", \"po_number\": \"PO-2026-49101\", \"received_date\": \"May 24, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-342617\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-342617\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-107905\", \"po_number\": \"PO-2026-49101\", \"grn_ref\": \"GRN-94306\", \"invoice_date\": \"05/24/2026\", \"due_date\": \"07/08/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 88.0, \"line_total\": 4400.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 33025.0, \"tax_rate\": 0.08, \"tax\": 2642.0, \"freight\": 75.0, \"total\": 35742.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49101 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"TP-107905-R1\", \"po_number\": \"PO-2026-49101\", \"grn_ref\": \"GRN-94306\", \"invoice_date\": \"05/31/2026\", \"due_date\": \"07/15/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 88.0, \"line_total\": 4400.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 33025.0, \"tax_rate\": 0.08, \"tax\": 2642.0, \"freight\": 75.0, \"total\": 35742.0, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-342617. Please remit to lockbox.\"}}"} {"case_id": "CASE_1301", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-49111", "grn_number": "GRN-94318", "invoice_number": "NSI-107914", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 50180.0, "po_tax": 4139.85, "po_freight": 0.0, "po_total": 54319.85, "invoice_subtotal": 50180.0, "invoice_tax": 4139.85, "invoice_freight": 6.93, "invoice_total": 54326.78, "total_variance": 6.93, "num_documents": 3, "po_file": "documents/CASE_1301/PO-2026-49111.png", "grn_file": "documents/CASE_1301/GRN-94318.docx", "invoice_file": "documents/CASE_1301/NSI-107914.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1301/PO-2026-49111.png", "documents/CASE_1301/GRN-94318.docx", "documents/CASE_1301/NSI-107914.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $6.93 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 6.93, \"variance_amount\": 6.93, \"note\": \"Prepaid & Add shipping fee of $6.93 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49111\", \"order_date\": \"Jun 10, 2026\", \"expected_delivery\": \"Jun 20, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 520.0, \"line_total\": 26000.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}], \"subtotal\": 50180.0, \"tax_rate\": 0.0825, \"tax\": 4139.85, \"freight\": 0.0, \"total\": 54319.85, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94318\", \"po_number\": \"PO-2026-49111\", \"received_date\": \"06/24/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-518650\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-518650\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-107914\", \"po_number\": \"PO-2026-49111\", \"grn_ref\": \"GRN-94318\", \"invoice_date\": \"26-Jun-2026\", \"due_date\": \"10-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 520.0, \"line_total\": 26000.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}], \"subtotal\": 50180.0, \"tax_rate\": 0.0825, \"tax\": 4139.85, \"freight\": 6.93, \"total\": 54326.78, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49111 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1304", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-49133", "grn_number": "GRN-94346", "invoice_number": "PPS-107957", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 9528.0, "po_tax": 690.78, "po_freight": 0.0, "po_total": 10218.78, "invoice_subtotal": 9528.0, "invoice_tax": 690.78, "invoice_freight": 0.0, "invoice_total": 10218.78, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1304/PO-2026-49133.jpg", "grn_file": "documents/CASE_1304/GRN-94346.pdf", "invoice_file": "documents/CASE_1304/PPS-107957.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1304/PO-2026-49133.jpg", "documents/CASE_1304/GRN-94346.pdf", "documents/CASE_1304/PPS-107957.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "6 delivered units of ELC-7201 failed dock inspection and were rejected, but vendor billed full 24 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"ELC-7201\", \"po_qty\": 24, \"received_qty\": 24, \"accepted_qty\": 18, \"rejected_qty\": 6, \"invoiced_qty\": 24, \"variance_amount\": 1032.0, \"note\": \"6 delivered units of ELC-7201 failed dock inspection and were rejected, but vendor billed full 24 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49133\", \"order_date\": \"2026-09-15\", \"expected_delivery\": \"2026-09-25\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}], \"subtotal\": 9528.0, \"tax_rate\": 0.0725, \"tax\": 690.78, \"freight\": 0.0, \"total\": 10218.78, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94346\", \"po_number\": \"PO-2026-49133\", \"received_date\": \"Sep 25, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-570578\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 18, \"qty_rejected\": 6, \"condition\": \"6 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"6 units of ELC-7201 water/crush damaged; refused & RMA requested! Accepted 18. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-570578\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-107957\", \"po_number\": \"PO-2026-49133\", \"grn_ref\": \"GRN-94346\", \"invoice_date\": \"09/29/2026\", \"due_date\": \"10/29/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}], \"subtotal\": 9528.0, \"tax_rate\": 0.0725, \"tax\": 690.78, \"freight\": 0.0, \"total\": 10218.78, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49133 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1312", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-49186", "grn_number": "GRN-94433", "invoice_number": "PKR-108064", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 6610.0, "po_tax": 479.23, "po_freight": 50.0, "po_total": 7139.23, "invoice_subtotal": 5830.0, "invoice_tax": 422.68, "invoice_freight": 50.0, "invoice_total": 6302.68, "total_variance": -836.55, "num_documents": 3, "po_file": "documents/CASE_1312/PO-2026-49186.pdf", "grn_file": "documents/CASE_1312/GRN-94433.jpg", "invoice_file": "documents/CASE_1312/PKR-108064.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1312/PO-2026-49186.pdf", "documents/CASE_1312/GRN-94433.jpg", "documents/CASE_1312/PKR-108064.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 35/50 units received and accurately billed; keep PO open for remaining 15 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"PKG-3078\", \"po_qty\": 50, \"received_qty\": 35, \"invoiced_qty\": 35, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 35/50 units received and accurately billed; keep PO open for remaining 15 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49186\", \"order_date\": \"2026-04-05\", \"expected_delivery\": \"2026-04-15\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 50, \"unit_price\": 52.0, \"line_total\": 2600.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 10, \"unit_price\": 145.0, \"line_total\": 1450.0}], \"subtotal\": 6610.0, \"tax_rate\": 0.0725, \"tax\": 479.23, \"freight\": 50.0, \"total\": 7139.23, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94433\", \"po_number\": \"PO-2026-49186\", \"received_date\": \"Apr 13, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-683997\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 50, \"qty_received\": 35, \"qty_accepted\": 35, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (15 ROLL remaining)\"}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (35/50 PKG-3078). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-683997\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-108064\", \"po_number\": \"PO-2026-49186\", \"grn_ref\": \"GRN-94433\", \"invoice_date\": \"04/13/2026\", \"due_date\": \"05/13/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 35, \"unit_price\": 52.0, \"line_total\": 1820.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 10, \"unit_price\": 145.0, \"line_total\": 1450.0}], \"subtotal\": 5830.0, \"tax_rate\": 0.0725, \"tax\": 422.68, \"freight\": 50.0, \"total\": 6302.68, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49186 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1319", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-49235", "grn_number": "GRN-94513", "invoice_number": "PPS-108154", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 14614.0, "po_tax": 1169.12, "po_freight": 0.0, "po_total": 15783.12, "invoice_subtotal": 14614.0, "invoice_tax": 1169.12, "invoice_freight": 7.25, "invoice_total": 15790.37, "total_variance": 7.25, "num_documents": 3, "po_file": "documents/CASE_1319/PO-2026-49235.png", "grn_file": "documents/CASE_1319/GRN-94513.docx", "invoice_file": "documents/CASE_1319/PPS-108154.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1319/PO-2026-49235.png", "documents/CASE_1319/GRN-94513.docx", "documents/CASE_1319/PPS-108154.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.25 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.25, \"variance_amount\": 7.25, \"note\": \"Prepaid & Add shipping fee of $7.25 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49235\", \"order_date\": \"11-Mar-2026\", \"expected_delivery\": \"21-Mar-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}], \"subtotal\": 14614.0, \"tax_rate\": 0.08, \"tax\": 1169.12, \"freight\": 0.0, \"total\": 15783.12, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94513\", \"po_number\": \"PO-2026-49235\", \"received_date\": \"2026-03-19\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-911770\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-911770\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-108154\", \"po_number\": \"PO-2026-49235\", \"grn_ref\": \"GRN-94513\", \"invoice_date\": \"Mar 21, 2026\", \"due_date\": \"Apr 05, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}], \"subtotal\": 14614.0, \"tax_rate\": 0.08, \"tax\": 1169.12, \"freight\": 7.25, \"total\": 15790.37, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49235 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1323", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-49265", "grn_number": "GRN-94561", "invoice_number": "PKR-108205", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 4380.0, "po_tax": 262.8, "po_freight": 0.0, "po_total": 4642.8, "invoice_subtotal": 4380.0, "invoice_tax": 262.8, "invoice_freight": 425.0, "invoice_total": 5067.8, "total_variance": 425.0, "num_documents": 3, "po_file": "documents/CASE_1323/PO-2026-49265.docx", "grn_file": "documents/CASE_1323/GRN-94561.pdf", "invoice_file": "documents/CASE_1323/PKR-108205.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1323/PO-2026-49265.docx", "documents/CASE_1323/GRN-94561.pdf", "documents/CASE_1323/PKR-108205.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 425.0, \"variance_amount\": 425.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49265\", \"order_date\": \"14-Feb-2026\", \"expected_delivery\": \"24-Feb-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 20, \"unit_price\": 145.0, \"line_total\": 2900.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 64.0, \"line_total\": 960.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}], \"subtotal\": 4380.0, \"tax_rate\": 0.06, \"tax\": 262.8, \"freight\": 0.0, \"total\": 4642.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94561\", \"po_number\": \"PO-2026-49265\", \"received_date\": \"2026-02-22\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-496524\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-496524\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-108205\", \"po_number\": \"PO-2026-49265\", \"grn_ref\": \"GRN-94561\", \"invoice_date\": \"Feb 28, 2026\", \"due_date\": \"Mar 30, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 20, \"unit_price\": 145.0, \"line_total\": 2900.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 64.0, \"line_total\": 960.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}], \"subtotal\": 4380.0, \"tax_rate\": 0.06, \"tax\": 262.8, \"freight\": 425.0, \"total\": 5067.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49265 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1328", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-49298", "grn_number": "GRN-94609", "invoice_number": "NSI-108273", "duplicate_invoice_number": "NSI-108273-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 13250.0, "po_tax": 960.63, "po_freight": 75.0, "po_total": 14285.63, "invoice_subtotal": 13250.0, "invoice_tax": 960.63, "invoice_freight": 75.0, "invoice_total": 14285.63, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1328/PO-2026-49298.jpg", "grn_file": "documents/CASE_1328/GRN-94609.pdf", "invoice_file": "documents/CASE_1328/NSI-108273.docx", "duplicate_invoice_file": "documents/CASE_1328/NSI-108273-R1.jpg", "file_paths": ["documents/CASE_1328/PO-2026-49298.jpg", "documents/CASE_1328/GRN-94609.pdf", "documents/CASE_1328/NSI-108273.docx", "documents/CASE_1328/NSI-108273-R1.jpg"], "file_formats": ["jpg", "pdf", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'NSI-108273' and 'NSI-108273-R1' bill $14285.63 against single receipt 'GRN-94609' / PO 'PO-2026-49298'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"NSI-108273\", \"duplicate_invoice_number\": \"NSI-108273-R1\", \"duplicate_billed_amount\": 14285.63, \"variance_amount\": 14285.63, \"note\": \"Duplicate billing detected: both 'NSI-108273' and 'NSI-108273-R1' bill $14285.63 against single receipt 'GRN-94609' / PO 'PO-2026-49298'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49298\", \"order_date\": \"2026-03-04\", \"expected_delivery\": \"2026-03-14\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}], \"subtotal\": 13250.0, \"tax_rate\": 0.0725, \"tax\": 960.63, \"freight\": 75.0, \"total\": 14285.63, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94609\", \"po_number\": \"PO-2026-49298\", \"received_date\": \"Mar 10, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-557494\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-557494\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-108273\", \"po_number\": \"PO-2026-49298\", \"grn_ref\": \"GRN-94609\", \"invoice_date\": \"03/12/2026\", \"due_date\": \"04/26/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}], \"subtotal\": 13250.0, \"tax_rate\": 0.0725, \"tax\": 960.63, \"freight\": 75.0, \"total\": 14285.63, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49298 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"NSI-108273-R1\", \"po_number\": \"PO-2026-49298\", \"grn_ref\": \"GRN-94609\", \"invoice_date\": \"03/24/2026\", \"due_date\": \"05/08/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}], \"subtotal\": 13250.0, \"tax_rate\": 0.0725, \"tax\": 960.63, \"freight\": 75.0, \"total\": 14285.63, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-557494. Please remit to lockbox.\"}}"} {"case_id": "CASE_1329", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-49307", "grn_number": "GRN-94628", "invoice_number": "TP-108284", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 17040.0, "po_tax": 1363.2, "po_freight": 0.0, "po_total": 18403.2, "invoice_subtotal": 17040.0, "invoice_tax": 1363.2, "invoice_freight": 0.0, "invoice_total": 18403.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1329/PO-2026-49307.docx", "grn_file": "documents/CASE_1329/GRN-94628.pdf", "invoice_file": "documents/CASE_1329/TP-108284.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1329/PO-2026-49307.docx", "documents/CASE_1329/GRN-94628.pdf", "documents/CASE_1329/TP-108284.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 24 units for LAB-2104, but warehouse only received 18 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"LAB-2104\", \"po_qty\": 24, \"received_qty\": 18, \"invoiced_qty\": 24, \"overbilled_qty\": 6, \"variance_amount\": 810.0, \"note\": \"Vendor billed 24 units for LAB-2104, but warehouse only received 18 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49307\", \"order_date\": \"Jan 29, 2026\", \"expected_delivery\": \"Feb 08, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 50, \"unit_price\": 112.0, \"line_total\": 5600.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 135.0, \"line_total\": 3240.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 17040.0, \"tax_rate\": 0.08, \"tax\": 1363.2, \"freight\": 0.0, \"total\": 18403.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94628\", \"po_number\": \"PO-2026-49307\", \"received_date\": \"02/10/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-508918\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 18, \"qty_accepted\": 18, \"qty_rejected\": 0, \"condition\": \"Short 6 CS (Backordered)\"}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 18 of 24 on LAB-2104 (short 6 CS). - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-508918\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-108284\", \"po_number\": \"PO-2026-49307\", \"grn_ref\": \"GRN-94628\", \"invoice_date\": \"11-Feb-2026\", \"due_date\": \"13-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 50, \"unit_price\": 112.0, \"line_total\": 5600.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 135.0, \"line_total\": 3240.0}, {\"line_no\": 3, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 17040.0, \"tax_rate\": 0.08, \"tax\": 1363.2, \"freight\": 0.0, \"total\": 18403.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49307 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1330", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-49312", "grn_number": "GRN-94633", "invoice_number": "NSI-108297", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 72510.0, "po_tax": 5800.8, "po_freight": 0.0, "po_total": 78310.8, "invoice_subtotal": 72510.0, "invoice_tax": 5800.8, "invoice_freight": 0.0, "invoice_total": 78310.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1330/PO-2026-49312.pdf", "grn_file": "documents/CASE_1330/GRN-94633.jpg", "invoice_file": "documents/CASE_1330/NSI-108297.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1330/PO-2026-49312.pdf", "documents/CASE_1330/GRN-94633.jpg", "documents/CASE_1330/NSI-108297.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49312\", \"order_date\": \"01/28/2026\", \"expected_delivery\": \"02/07/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 5, \"unit_price\": 58.0, \"line_total\": 290.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 520.0, \"line_total\": 4160.0}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}], \"subtotal\": 72510.0, \"tax_rate\": 0.08, \"tax\": 5800.8, \"freight\": 0.0, \"total\": 78310.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94633\", \"po_number\": \"PO-2026-49312\", \"received_date\": \"03-Feb-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-602038\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-602038\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-108297\", \"po_number\": \"PO-2026-49312\", \"grn_ref\": \"GRN-94633\", \"invoice_date\": \"2026-02-06\", \"due_date\": \"2026-02-21\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 5, \"unit_price\": 58.0, \"line_total\": 290.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}, {\"line_no\": 4, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 520.0, \"line_total\": 4160.0}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}], \"subtotal\": 72510.0, \"tax_rate\": 0.08, \"tax\": 5800.8, \"freight\": 0.0, \"total\": 78310.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49312 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1332", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-49329", "grn_number": "GRN-94660", "invoice_number": "SSP-108323", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 12060.0, "po_tax": 964.8, "po_freight": 0.0, "po_total": 13024.8, "invoice_subtotal": 12060.0, "invoice_tax": 964.8, "invoice_freight": 0.0, "invoice_total": 13024.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1332/PO-2026-49329.docx", "grn_file": "documents/CASE_1332/GRN-94660.jpg", "invoice_file": "documents/CASE_1332/SSP-108323.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1332/PO-2026-49329.docx", "documents/CASE_1332/GRN-94660.jpg", "documents/CASE_1332/SSP-108323.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "6 delivered units of IND-4401 failed dock inspection and were rejected, but vendor billed full 24 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 3, \"sku\": \"IND-4401\", \"po_qty\": 24, \"received_qty\": 24, \"accepted_qty\": 18, \"rejected_qty\": 6, \"invoiced_qty\": 24, \"variance_amount\": 1110.0, \"note\": \"6 delivered units of IND-4401 failed dock inspection and were rejected, but vendor billed full 24 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49329\", \"order_date\": \"2026-01-23\", \"expected_delivery\": \"2026-02-02\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}], \"subtotal\": 12060.0, \"tax_rate\": 0.08, \"tax\": 964.8, \"freight\": 0.0, \"total\": 13024.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94660\", \"po_number\": \"PO-2026-49329\", \"received_date\": \"Feb 03, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-666287\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 18, \"qty_rejected\": 6, \"condition\": \"6 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"6 units of IND-4401 water/crush damaged; refused & RMA requested! Accepted 18. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-666287\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-108323\", \"po_number\": \"PO-2026-49329\", \"grn_ref\": \"GRN-94660\", \"invoice_date\": \"02/07/2026\", \"due_date\": \"03/24/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 295.0, \"line_total\": 3540.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}], \"subtotal\": 12060.0, \"tax_rate\": 0.08, \"tax\": 964.8, \"freight\": 0.0, \"total\": 13024.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49329 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1334", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-49340", "grn_number": "", "invoice_number": "NSI-108348", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 21670.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 21745.0, "invoice_subtotal": 21670.0, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 21745.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1334/PO-2026-49340.jpg", "grn_file": "", "invoice_file": "documents/CASE_1334/NSI-108348.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1334/PO-2026-49340.jpg", "documents/CASE_1334/NSI-108348.docx"], "file_formats": ["jpg", "docx"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-49340\", \"invoice_number\": \"NSI-108348\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49340\", \"order_date\": \"08/12/2026\", \"expected_delivery\": \"08/22/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 520.0, \"line_total\": 20800.0}], \"subtotal\": 21670.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 21745.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-108348\", \"po_number\": \"PO-2026-49340\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"2026-08-25\", \"due_date\": \"2026-09-24\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 520.0, \"line_total\": 20800.0}], \"subtotal\": 21670.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 21745.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49340 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1338", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-49367", "grn_number": "GRN-94727", "invoice_number": "SSP-108400", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 8920.0, "po_tax": 713.6, "po_freight": 75.0, "po_total": 9708.6, "invoice_subtotal": 8184.0, "invoice_tax": 654.72, "invoice_freight": 75.0, "invoice_total": 8913.72, "total_variance": -794.88, "num_documents": 3, "po_file": "documents/CASE_1338/PO-2026-49367.docx", "grn_file": "documents/CASE_1338/GRN-94727.jpg", "invoice_file": "documents/CASE_1338/SSP-108400.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1338/PO-2026-49367.docx", "documents/CASE_1338/GRN-94727.jpg", "documents/CASE_1338/SSP-108400.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 12/20 units received and accurately billed; keep PO open for remaining 8 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"IND-4566\", \"po_qty\": 20, \"received_qty\": 12, \"invoiced_qty\": 12, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 12/20 units received and accurately billed; keep PO open for remaining 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49367\", \"order_date\": \"01/22/2026\", \"expected_delivery\": \"02/01/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}], \"subtotal\": 8920.0, \"tax_rate\": 0.08, \"tax\": 713.6, \"freight\": 75.0, \"total\": 9708.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94727\", \"po_number\": \"PO-2026-49367\", \"received_date\": \"31-Jan-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-374329\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (8 PAIL remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (12/20 IND-4566). Balance on BO. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-374329\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-108400\", \"po_number\": \"PO-2026-49367\", \"grn_ref\": \"GRN-94727\", \"invoice_date\": \"2026-02-06\", \"due_date\": \"2026-02-21\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 12, \"unit_price\": 92.0, \"line_total\": 1104.0}], \"subtotal\": 8184.0, \"tax_rate\": 0.08, \"tax\": 654.72, \"freight\": 75.0, \"total\": 8913.72, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49367 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1340", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-49385", "grn_number": "", "invoice_number": "KWS-108428", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 37480.0, "po_tax": 2248.8, "po_freight": 0.0, "po_total": 39728.8, "invoice_subtotal": 37480.0, "invoice_tax": 2248.8, "invoice_freight": 0.0, "invoice_total": 39728.8, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1340/PO-2026-49385.jpg", "grn_file": "", "invoice_file": "documents/CASE_1340/KWS-108428.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1340/PO-2026-49385.jpg", "documents/CASE_1340/KWS-108428.docx"], "file_formats": ["jpg", "docx"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-49385\", \"invoice_number\": \"KWS-108428\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49385\", \"order_date\": \"2026-04-07\", \"expected_delivery\": \"2026-04-17\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 115.0, \"line_total\": 1380.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 37480.0, \"tax_rate\": 0.06, \"tax\": 2248.8, \"freight\": 0.0, \"total\": 39728.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-108428\", \"po_number\": \"PO-2026-49385\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"04/18/2026\", \"due_date\": \"05/03/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 115.0, \"line_total\": 1380.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 37480.0, \"tax_rate\": 0.06, \"tax\": 2248.8, \"freight\": 0.0, \"total\": 39728.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49385 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1342", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-49395", "grn_number": "GRN-94766", "invoice_number": "NSI-108448", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 53571.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 53571.0, "invoice_subtotal": 53571.0, "invoice_tax": 0.0, "invoice_freight": 7.58, "invoice_total": 53578.58, "total_variance": 7.58, "num_documents": 3, "po_file": "documents/CASE_1342/PO-2026-49395.pdf", "grn_file": "documents/CASE_1342/GRN-94766.jpg", "invoice_file": "documents/CASE_1342/NSI-108448.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1342/PO-2026-49395.pdf", "documents/CASE_1342/GRN-94766.jpg", "documents/CASE_1342/NSI-108448.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.58 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.58, \"variance_amount\": 7.58, \"note\": \"Prepaid & Add shipping fee of $7.58 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49395\", \"order_date\": \"04/26/2026\", \"expected_delivery\": \"05/06/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 1180.0, \"line_total\": 35400.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}], \"subtotal\": 53571.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 53571.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94766\", \"po_number\": \"PO-2026-49395\", \"received_date\": \"10-May-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-406906\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-406906\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-108448\", \"po_number\": \"PO-2026-49395\", \"grn_ref\": \"GRN-94766\", \"invoice_date\": \"2026-05-16\", \"due_date\": \"2026-06-15\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 1180.0, \"line_total\": 35400.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 4, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}], \"subtotal\": 53571.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 7.58, \"total\": 53578.58, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49395 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1344", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-49413", "grn_number": "GRN-94789", "invoice_number": "NSI-108475", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 76786.0, "po_tax": 4607.16, "po_freight": 0.0, "po_total": 81393.16, "invoice_subtotal": 78346.0, "invoice_tax": 4700.76, "invoice_freight": 0.0, "invoice_total": 83046.76, "total_variance": 1653.6, "num_documents": 3, "po_file": "documents/CASE_1344/PO-2026-49413.docx", "grn_file": "documents/CASE_1344/GRN-94789.jpg", "invoice_file": "documents/CASE_1344/NSI-108475.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1344/PO-2026-49413.docx", "documents/CASE_1344/GRN-94789.jpg", "documents/CASE_1344/NSI-108475.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 5, \"sku\": \"IT-8814\", \"po_qty\": 8, \"received_qty\": 11, \"invoiced_qty\": 11, \"over_qty\": 3, \"variance_amount\": 1560.0, \"note\": \"Shipped and billed 11 units vs 8 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49413\", \"order_date\": \"2026-03-09\", \"expected_delivery\": \"2026-03-19\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 520.0, \"line_total\": 4160.0}], \"subtotal\": 76786.0, \"tax_rate\": 0.06, \"tax\": 4607.16, \"freight\": 0.0, \"total\": 81393.16, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94789\", \"po_number\": \"PO-2026-49413\", \"received_date\": \"Mar 21, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-447014\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 11 (3 extra over PO) on IT-8814. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-447014\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-108475\", \"po_number\": \"PO-2026-49413\", \"grn_ref\": \"GRN-94789\", \"invoice_date\": \"03/22/2026\", \"due_date\": \"04/21/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 1180.0, \"line_total\": 59000.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 11, \"unit_price\": 520.0, \"line_total\": 5720.0}], \"subtotal\": 78346.0, \"tax_rate\": 0.06, \"tax\": 4700.76, \"freight\": 0.0, \"total\": 83046.76, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49413 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1345", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-49417", "grn_number": "GRN-94800", "invoice_number": "TP-108490", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 22848.0, "po_tax": 1370.88, "po_freight": 0.0, "po_total": 24218.88, "invoice_subtotal": 22848.0, "invoice_tax": 1370.88, "invoice_freight": 0.0, "invoice_total": 24218.88, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1345/PO-2026-49417.pdf", "grn_file": "documents/CASE_1345/GRN-94800.docx", "invoice_file": "documents/CASE_1345/TP-108490.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1345/PO-2026-49417.pdf", "documents/CASE_1345/GRN-94800.docx", "documents/CASE_1345/TP-108490.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49417\", \"order_date\": \"Mar 01, 2026\", \"expected_delivery\": \"Mar 11, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 164.0, \"line_total\": 1968.0}], \"subtotal\": 22848.0, \"tax_rate\": 0.06, \"tax\": 1370.88, \"freight\": 0.0, \"total\": 24218.88, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94800\", \"po_number\": \"PO-2026-49417\", \"received_date\": \"03/06/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-495202\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-495202\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-108490\", \"po_number\": \"PO-2026-49417\", \"grn_ref\": \"GRN-94800\", \"invoice_date\": \"07-Mar-2026\", \"due_date\": \"06-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 460.0, \"line_total\": 13800.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 135.0, \"line_total\": 5400.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 164.0, \"line_total\": 1968.0}], \"subtotal\": 22848.0, \"tax_rate\": 0.06, \"tax\": 1370.88, \"freight\": 0.0, \"total\": 24218.88, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49417 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1348", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-49440", "grn_number": "GRN-94835", "invoice_number": "INV-APX-108529", "duplicate_invoice_number": "INV-APX-108529-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 1140.0, "po_tax": 91.2, "po_freight": 120.0, "po_total": 1351.2, "invoice_subtotal": 1140.0, "invoice_tax": 91.2, "invoice_freight": 120.0, "invoice_total": 1351.2, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1348/PO-2026-49440.pdf", "grn_file": "documents/CASE_1348/GRN-94835.jpg", "invoice_file": "documents/CASE_1348/INV-APX-108529.docx", "duplicate_invoice_file": "documents/CASE_1348/INV-APX-108529-R1.jpg", "file_paths": ["documents/CASE_1348/PO-2026-49440.pdf", "documents/CASE_1348/GRN-94835.jpg", "documents/CASE_1348/INV-APX-108529.docx", "documents/CASE_1348/INV-APX-108529-R1.jpg"], "file_formats": ["pdf", "jpg", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'INV-APX-108529' and 'INV-APX-108529-R1' bill $1351.20 against single receipt 'GRN-94835' / PO 'PO-2026-49440'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"INV-APX-108529\", \"duplicate_invoice_number\": \"INV-APX-108529-R1\", \"duplicate_billed_amount\": 1351.2, \"variance_amount\": 1351.2, \"note\": \"Duplicate billing detected: both 'INV-APX-108529' and 'INV-APX-108529-R1' bill $1351.20 against single receipt 'GRN-94835' / PO 'PO-2026-49440'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49440\", \"order_date\": \"2026-03-06\", \"expected_delivery\": \"2026-03-16\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}], \"subtotal\": 1140.0, \"tax_rate\": 0.08, \"tax\": 91.2, \"freight\": 120.0, \"total\": 1351.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-94835\", \"po_number\": \"PO-2026-49440\", \"received_date\": \"Mar 10, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-285950\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-285950\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-108529\", \"po_number\": \"PO-2026-49440\", \"grn_ref\": \"GRN-94835\", \"invoice_date\": \"03/11/2026\", \"due_date\": \"04/25/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}], \"subtotal\": 1140.0, \"tax_rate\": 0.08, \"tax\": 91.2, \"freight\": 120.0, \"total\": 1351.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49440 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"INV-APX-108529-R1\", \"po_number\": \"PO-2026-49440\", \"grn_ref\": \"GRN-94835\", \"invoice_date\": \"03/21/2026\", \"due_date\": \"05/05/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}], \"subtotal\": 1140.0, \"tax_rate\": 0.08, \"tax\": 91.2, \"freight\": 120.0, \"total\": 1351.2, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-285950. Please remit to lockbox.\"}}"} {"case_id": "CASE_1363", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-49543", "grn_number": "GRN-95000", "invoice_number": "KWS-108720", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 21720.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 21720.0, "invoice_subtotal": 14040.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 14040.0, "total_variance": -7680.0, "num_documents": 3, "po_file": "documents/CASE_1363/PO-2026-49543.pdf", "grn_file": "documents/CASE_1363/GRN-95000.docx", "invoice_file": "documents/CASE_1363/KWS-108720.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1363/PO-2026-49543.pdf", "documents/CASE_1363/GRN-95000.docx", "documents/CASE_1363/KWS-108720.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 18/30 units received and accurately billed; keep PO open for remaining 12 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"FRN-6102\", \"po_qty\": 30, \"received_qty\": 18, \"invoiced_qty\": 18, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 18/30 units received and accurately billed; keep PO open for remaining 12 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49543\", \"order_date\": \"04-Jun-2026\", \"expected_delivery\": \"14-Jun-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}], \"subtotal\": 21720.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 21720.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95000\", \"po_number\": \"PO-2026-49543\", \"received_date\": \"2026-06-17\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-736554\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 18, \"qty_accepted\": 18, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (12 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (18/30 FRN-6102). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-736554\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-108720\", \"po_number\": \"PO-2026-49543\", \"grn_ref\": \"GRN-95000\", \"invoice_date\": \"Jun 18, 2026\", \"due_date\": \"Jul 03, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 18, \"unit_price\": 640.0, \"line_total\": 11520.0}], \"subtotal\": 14040.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 14040.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49543 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1364", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-49552", "grn_number": "GRN-95012", "invoice_number": "INV-APX-108734", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 12620.0, "po_tax": 1009.6, "po_freight": 0.0, "po_total": 13629.6, "invoice_subtotal": 12902.7, "invoice_tax": 1032.22, "invoice_freight": 0.0, "invoice_total": 13934.92, "total_variance": 305.32, "num_documents": 3, "po_file": "documents/CASE_1364/PO-2026-49552.jpg", "grn_file": "documents/CASE_1364/GRN-95012.pdf", "invoice_file": "documents/CASE_1364/INV-APX-108734.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1364/PO-2026-49552.jpg", "documents/CASE_1364/GRN-95012.pdf", "documents/CASE_1364/INV-APX-108734.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $176.27 exceeds contracted PO unit price $148.00 for IND-4520.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"IND-4520\", \"po_unit_price\": 148.0, \"invoice_unit_price\": 176.27, \"qty\": 10, \"variance_amount\": 282.7, \"note\": \"Invoice unit price $176.27 exceeds contracted PO unit price $148.00 for IND-4520.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49552\", \"order_date\": \"2026-09-29\", \"expected_delivery\": \"2026-10-09\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}], \"subtotal\": 12620.0, \"tax_rate\": 0.08, \"tax\": 1009.6, \"freight\": 0.0, \"total\": 13629.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95012\", \"po_number\": \"PO-2026-49552\", \"received_date\": \"Oct 10, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-242979\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-242979\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-108734\", \"po_number\": \"PO-2026-49552\", \"grn_ref\": \"GRN-95012\", \"invoice_date\": \"10/12/2026\", \"due_date\": \"11/26/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 176.27, \"line_total\": 1762.7}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}], \"subtotal\": 12902.7, \"tax_rate\": 0.08, \"tax\": 1032.22, \"freight\": 0.0, \"total\": 13934.92, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49552 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1365", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-49557", "grn_number": "GRN-95017", "invoice_number": "SSP-108748", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 4320.0, "po_tax": 345.6, "po_freight": 0.0, "po_total": 4665.6, "invoice_subtotal": 4320.0, "invoice_tax": 345.6, "invoice_freight": 240.0, "invoice_total": 4905.6, "total_variance": 240.0, "num_documents": 3, "po_file": "documents/CASE_1365/PO-2026-49557.docx", "grn_file": "documents/CASE_1365/GRN-95017.pdf", "invoice_file": "documents/CASE_1365/SSP-108748.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1365/PO-2026-49557.docx", "documents/CASE_1365/GRN-95017.pdf", "documents/CASE_1365/SSP-108748.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 240.0, \"variance_amount\": 240.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49557\", \"order_date\": \"Feb 01, 2026\", \"expected_delivery\": \"Feb 11, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}], \"subtotal\": 4320.0, \"tax_rate\": 0.08, \"tax\": 345.6, \"freight\": 0.0, \"total\": 4665.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95017\", \"po_number\": \"PO-2026-49557\", \"received_date\": \"02/10/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-698530\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-698530\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-108748\", \"po_number\": \"PO-2026-49557\", \"grn_ref\": \"GRN-95017\", \"invoice_date\": \"11-Feb-2026\", \"due_date\": \"13-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}], \"subtotal\": 4320.0, \"tax_rate\": 0.08, \"tax\": 345.6, \"freight\": 240.0, \"total\": 4905.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49557 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1367", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-49572", "grn_number": "GRN-95044", "invoice_number": "PPS-108775", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 6510.0, "po_tax": 0.0, "po_freight": 95.0, "po_total": 6605.0, "invoice_subtotal": 6510.0, "invoice_tax": 0.0, "invoice_freight": 95.0, "invoice_total": 6605.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1367/PO-2026-49572.png", "grn_file": "documents/CASE_1367/GRN-95044.docx", "invoice_file": "documents/CASE_1367/PPS-108775.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1367/PO-2026-49572.png", "documents/CASE_1367/GRN-95044.docx", "documents/CASE_1367/PPS-108775.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 30 units for ELC-7283, but warehouse only received 20 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"ELC-7283\", \"po_qty\": 30, \"received_qty\": 20, \"invoiced_qty\": 30, \"overbilled_qty\": 10, \"variance_amount\": 285.0, \"note\": \"Vendor billed 30 units for ELC-7283, but warehouse only received 20 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49572\", \"order_date\": \"01-May-2026\", \"expected_delivery\": \"11-May-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 6510.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 6605.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95044\", \"po_number\": \"PO-2026-49572\", \"received_date\": \"2026-05-12\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-932297\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Short 10 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 20 of 30 on ELC-7283 (short 10 EA). - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-932297\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-108775\", \"po_number\": \"PO-2026-49572\", \"grn_ref\": \"GRN-95044\", \"invoice_date\": \"May 12, 2026\", \"due_date\": \"Jun 26, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 6510.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 95.0, \"total\": 6605.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49572 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1369", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-49586", "grn_number": "GRN-95060", "invoice_number": "PPS-108803", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 18834.0, "po_tax": 1365.47, "po_freight": 0.0, "po_total": 20199.47, "invoice_subtotal": 18834.0, "invoice_tax": 1365.47, "invoice_freight": 0.0, "invoice_total": 20199.47, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1369/PO-2026-49586.pdf", "grn_file": "documents/CASE_1369/GRN-95060.docx", "invoice_file": "documents/CASE_1369/PPS-108803.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1369/PO-2026-49586.pdf", "documents/CASE_1369/GRN-95060.docx", "documents/CASE_1369/PPS-108803.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 24 units for ELC-7244, but warehouse only received 16 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"ELC-7244\", \"po_qty\": 24, \"received_qty\": 16, \"invoiced_qty\": 24, \"overbilled_qty\": 8, \"variance_amount\": 4320.0, \"note\": \"Vendor billed 24 units for ELC-7244, but warehouse only received 16 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49586\", \"order_date\": \"May 14, 2026\", \"expected_delivery\": \"May 24, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 18834.0, \"tax_rate\": 0.0725, \"tax\": 1365.47, \"freight\": 0.0, \"total\": 20199.47, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95060\", \"po_number\": \"PO-2026-49586\", \"received_date\": \"05/24/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-498809\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 16, \"qty_accepted\": 16, \"qty_rejected\": 0, \"condition\": \"Short 8 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 16 of 24 on ELC-7244 (short 8 EA). - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-498809\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-108803\", \"po_number\": \"PO-2026-49586\", \"grn_ref\": \"GRN-95060\", \"invoice_date\": \"29-May-2026\", \"due_date\": \"28-Jun-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 18834.0, \"tax_rate\": 0.0725, \"tax\": 1365.47, \"freight\": 0.0, \"total\": 20199.47, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49586 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1372", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-49606", "grn_number": "GRN-95096", "invoice_number": "PPS-108840", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 24210.0, "po_tax": 1936.8, "po_freight": 0.0, "po_total": 26146.8, "invoice_subtotal": 24210.0, "invoice_tax": 1936.8, "invoice_freight": 0.0, "invoice_total": 26146.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1372/PO-2026-49606.pdf", "grn_file": "documents/CASE_1372/GRN-95096.jpg", "invoice_file": "documents/CASE_1372/PPS-108840.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1372/PO-2026-49606.pdf", "documents/CASE_1372/GRN-95096.jpg", "documents/CASE_1372/PPS-108840.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for ELC-7283, but warehouse only received 28 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"ELC-7283\", \"po_qty\": 40, \"received_qty\": 28, \"invoiced_qty\": 40, \"overbilled_qty\": 12, \"variance_amount\": 342.0, \"note\": \"Vendor billed 40 units for ELC-7283, but warehouse only received 28 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49606\", \"order_date\": \"2026-05-28\", \"expected_delivery\": \"2026-06-07\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}], \"subtotal\": 24210.0, \"tax_rate\": 0.08, \"tax\": 1936.8, \"freight\": 0.0, \"total\": 26146.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95096\", \"po_number\": \"PO-2026-49606\", \"received_date\": \"Jun 11, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-911780\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 28, \"qty_accepted\": 28, \"qty_rejected\": 0, \"condition\": \"Short 12 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 28 of 40 on ELC-7283 (short 12 EA). - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-911780\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-108840\", \"po_number\": \"PO-2026-49606\", \"grn_ref\": \"GRN-95096\", \"invoice_date\": \"06/11/2026\", \"due_date\": \"07/26/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}], \"subtotal\": 24210.0, \"tax_rate\": 0.08, \"tax\": 1936.8, \"freight\": 0.0, \"total\": 26146.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49606 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1381", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-49670", "grn_number": "", "invoice_number": "PKR-108961", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3765.0, "po_tax": 225.9, "po_freight": 0.0, "po_total": 3990.9, "invoice_subtotal": 3765.0, "invoice_tax": 225.9, "invoice_freight": 0.0, "invoice_total": 3990.9, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1381/PO-2026-49670.pdf", "grn_file": "", "invoice_file": "documents/CASE_1381/PKR-108961.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1381/PO-2026-49670.pdf", "documents/CASE_1381/PKR-108961.png"], "file_formats": ["pdf", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-49670\", \"invoice_number\": \"PKR-108961\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49670\", \"order_date\": \"Mar 10, 2026\", \"expected_delivery\": \"Mar 20, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 5, \"unit_price\": 145.0, \"line_total\": 725.0}], \"subtotal\": 3765.0, \"tax_rate\": 0.06, \"tax\": 225.9, \"freight\": 0.0, \"total\": 3990.9, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-108961\", \"po_number\": \"PO-2026-49670\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"26-Mar-2026\", \"due_date\": \"25-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 5, \"unit_price\": 145.0, \"line_total\": 725.0}], \"subtotal\": 3765.0, \"tax_rate\": 0.06, \"tax\": 225.9, \"freight\": 0.0, \"total\": 3990.9, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49670 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1383", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-49685", "grn_number": "", "invoice_number": "KWS-108987", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 6370.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 6370.0, "invoice_subtotal": 6370.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 6370.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1383/PO-2026-49685.docx", "grn_file": "", "invoice_file": "documents/CASE_1383/KWS-108987.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1383/PO-2026-49685.docx", "documents/CASE_1383/KWS-108987.png"], "file_formats": ["docx", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-49685\", \"invoice_number\": \"KWS-108987\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49685\", \"order_date\": \"02-Mar-2026\", \"expected_delivery\": \"12-Mar-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}], \"subtotal\": 6370.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 6370.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-108987\", \"po_number\": \"PO-2026-49685\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"Mar 08, 2026\", \"due_date\": \"Mar 23, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}], \"subtotal\": 6370.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 6370.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49685 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1389", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-49726", "grn_number": "GRN-95283", "invoice_number": "INV-APX-109066", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 8076.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 8076.0, "invoice_subtotal": 8076.0, "invoice_tax": 0.0, "invoice_freight": 185.0, "invoice_total": 8261.0, "total_variance": 185.0, "num_documents": 3, "po_file": "documents/CASE_1389/PO-2026-49726.docx", "grn_file": "documents/CASE_1389/GRN-95283.pdf", "invoice_file": "documents/CASE_1389/INV-APX-109066.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1389/PO-2026-49726.docx", "documents/CASE_1389/GRN-95283.pdf", "documents/CASE_1389/INV-APX-109066.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 185.0, \"variance_amount\": 185.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49726\", \"order_date\": \"Jun 19, 2026\", \"expected_delivery\": \"Jun 29, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}], \"subtotal\": 8076.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8076.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95283\", \"po_number\": \"PO-2026-49726\", \"received_date\": \"06/24/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-147828\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-147828\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-109066\", \"po_number\": \"PO-2026-49726\", \"grn_ref\": \"GRN-95283\", \"invoice_date\": \"28-Jun-2026\", \"due_date\": \"12-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 68.0, \"line_total\": 1632.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}], \"subtotal\": 8076.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 185.0, \"total\": 8261.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49726 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1391", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-49739", "grn_number": "GRN-95310", "invoice_number": "SSP-109085", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 4482.0, "po_tax": 358.56, "po_freight": 0.0, "po_total": 4840.56, "invoice_subtotal": 4754.0, "invoice_tax": 380.32, "invoice_freight": 0.0, "invoice_total": 5134.32, "total_variance": 293.76, "num_documents": 3, "po_file": "documents/CASE_1391/PO-2026-49739.png", "grn_file": "documents/CASE_1391/GRN-95310.docx", "invoice_file": "documents/CASE_1391/SSP-109085.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1391/PO-2026-49739.png", "documents/CASE_1391/GRN-95310.docx", "documents/CASE_1391/SSP-109085.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IND-4452 ($272.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"IND-4452\", \"invoiced_qty\": 4, \"invoice_unit_price\": 68.0, \"variance_amount\": 272.0, \"note\": \"Invoice includes line item IND-4452 ($272.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49739\", \"order_date\": \"30-Jul-2026\", \"expected_delivery\": \"09-Aug-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}], \"subtotal\": 4482.0, \"tax_rate\": 0.08, \"tax\": 358.56, \"freight\": 0.0, \"total\": 4840.56, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95310\", \"po_number\": \"PO-2026-49739\", \"received_date\": \"2026-08-12\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-596369\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-596369\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-109085\", \"po_number\": \"PO-2026-49739\", \"grn_ref\": \"GRN-95310\", \"invoice_date\": \"Aug 16, 2026\", \"due_date\": \"Aug 31, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 4, \"unit_price\": 68.0, \"line_total\": 272.0}], \"subtotal\": 4754.0, \"tax_rate\": 0.08, \"tax\": 380.32, \"freight\": 0.0, \"total\": 5134.32, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49739 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1396", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-49776", "grn_number": "GRN-95361", "invoice_number": "SSP-109154", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 10260.0, "po_tax": 743.85, "po_freight": 0.0, "po_total": 11003.85, "invoice_subtotal": 10260.0, "invoice_tax": 743.85, "invoice_freight": 0.0, "invoice_total": 11003.85, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1396/PO-2026-49776.pdf", "grn_file": "documents/CASE_1396/GRN-95361.jpg", "invoice_file": "documents/CASE_1396/SSP-109154.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1396/PO-2026-49776.pdf", "documents/CASE_1396/GRN-95361.jpg", "documents/CASE_1396/SSP-109154.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49776\", \"order_date\": \"2026-03-21\", \"expected_delivery\": \"2026-03-31\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}], \"subtotal\": 10260.0, \"tax_rate\": 0.0725, \"tax\": 743.85, \"freight\": 0.0, \"total\": 11003.85, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95361\", \"po_number\": \"PO-2026-49776\", \"received_date\": \"Apr 02, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-956400\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-956400\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-109154\", \"po_number\": \"PO-2026-49776\", \"grn_ref\": \"GRN-95361\", \"invoice_date\": \"04/04/2026\", \"due_date\": \"04/19/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}], \"subtotal\": 10260.0, \"tax_rate\": 0.0725, \"tax\": 743.85, \"freight\": 0.0, \"total\": 11003.85, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49776 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1397", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-49783", "grn_number": "GRN-95374", "invoice_number": "VEP-109163", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 19805.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 19805.0, "invoice_subtotal": 19805.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 19805.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1397/PO-2026-49783.png", "grn_file": "documents/CASE_1397/GRN-95374.docx", "invoice_file": "documents/CASE_1397/VEP-109163.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1397/PO-2026-49783.png", "documents/CASE_1397/GRN-95374.docx", "documents/CASE_1397/VEP-109163.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49783\", \"order_date\": \"Feb 15, 2026\", \"expected_delivery\": \"Feb 25, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 19805.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 19805.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95374\", \"po_number\": \"PO-2026-49783\", \"received_date\": \"02/28/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-847303\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-847303\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-109163\", \"po_number\": \"PO-2026-49783\", \"grn_ref\": \"GRN-95374\", \"invoice_date\": \"01-Mar-2026\", \"due_date\": \"15-Apr-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 19805.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 19805.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49783 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1399", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-49796", "grn_number": "GRN-95395", "invoice_number": "INV-APX-109188", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 6480.0, "po_tax": 469.8, "po_freight": 0.0, "po_total": 6949.8, "invoice_subtotal": 6480.0, "invoice_tax": 469.8, "invoice_freight": 0.0, "invoice_total": 7129.8, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_1399/PO-2026-49796.pdf", "grn_file": "documents/CASE_1399/GRN-95395.docx", "invoice_file": "documents/CASE_1399/INV-APX-109188.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1399/PO-2026-49796.pdf", "documents/CASE_1399/GRN-95395.docx", "documents/CASE_1399/INV-APX-109188.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($6480.00) + Tax ($469.80) + Freight ($0.00) = $6949.80, but Invoice Total Due states $7129.80.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 6949.8, \"invoice_stated_total\": 7129.8, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($6480.00) + Tax ($469.80) + Freight ($0.00) = $6949.80, but Invoice Total Due states $7129.80.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49796\", \"order_date\": \"14-Feb-2026\", \"expected_delivery\": \"24-Feb-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 148.0, \"line_total\": 4440.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}], \"subtotal\": 6480.0, \"tax_rate\": 0.0725, \"tax\": 469.8, \"freight\": 0.0, \"total\": 6949.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95395\", \"po_number\": \"PO-2026-49796\", \"received_date\": \"2026-02-25\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-702765\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-702765\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-109188\", \"po_number\": \"PO-2026-49796\", \"grn_ref\": \"GRN-95395\", \"invoice_date\": \"Mar 03, 2026\", \"due_date\": \"Apr 02, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 148.0, \"line_total\": 4440.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}], \"subtotal\": 6480.0, \"tax_rate\": 0.0725, \"tax\": 469.8, \"freight\": 0.0, \"total\": 7129.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49796 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1405", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-49837", "grn_number": "GRN-95457", "invoice_number": "NSI-109274", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 41946.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 42021.0, "invoice_subtotal": 41946.0, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 42021.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1405/PO-2026-49837.pdf", "grn_file": "documents/CASE_1405/GRN-95457.docx", "invoice_file": "documents/CASE_1405/NSI-109274.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1405/PO-2026-49837.pdf", "documents/CASE_1405/GRN-95457.docx", "documents/CASE_1405/NSI-109274.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 20 units for IT-8892, but warehouse only received 13 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"IT-8892\", \"po_qty\": 20, \"received_qty\": 13, \"invoiced_qty\": 20, \"overbilled_qty\": 7, \"variance_amount\": 1505.0, \"note\": \"Vendor billed 20 units for IT-8892, but warehouse only received 13 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49837\", \"order_date\": \"Aug 06, 2026\", \"expected_delivery\": \"Aug 16, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 245.0, \"line_total\": 2450.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}], \"subtotal\": 41946.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 42021.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95457\", \"po_number\": \"PO-2026-49837\", \"received_date\": \"08/12/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-793900\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 13, \"qty_accepted\": 13, \"qty_rejected\": 0, \"condition\": \"Short 7 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 13 of 20 on IT-8892 (short 7 EA). - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-793900\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-109274\", \"po_number\": \"PO-2026-49837\", \"grn_ref\": \"GRN-95457\", \"invoice_date\": \"17-Aug-2026\", \"due_date\": \"16-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 245.0, \"line_total\": 2450.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}], \"subtotal\": 41946.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 42021.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49837 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1412", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-49888", "grn_number": "GRN-95539", "invoice_number": "NSI-109361", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 13410.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 13410.0, "invoice_subtotal": 13410.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 13410.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1412/PO-2026-49888.jpg", "grn_file": "documents/CASE_1412/GRN-95539.pdf", "invoice_file": "documents/CASE_1412/NSI-109361.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1412/PO-2026-49888.jpg", "documents/CASE_1412/GRN-95539.pdf", "documents/CASE_1412/NSI-109361.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49888\", \"order_date\": \"2026-02-15\", \"expected_delivery\": \"2026-02-25\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 20, \"unit_price\": 58.0, \"line_total\": 1160.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 245.0, \"line_total\": 12250.0}], \"subtotal\": 13410.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13410.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95539\", \"po_number\": \"PO-2026-49888\", \"received_date\": \"Feb 23, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-326589\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-326589\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-109361\", \"po_number\": \"PO-2026-49888\", \"grn_ref\": \"GRN-95539\", \"invoice_date\": \"02/26/2026\", \"due_date\": \"03/13/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 20, \"unit_price\": 58.0, \"line_total\": 1160.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 245.0, \"line_total\": 12250.0}], \"subtotal\": 13410.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13410.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49888 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1420", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-49943", "grn_number": "GRN-95629", "invoice_number": "KWS-109466", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 35240.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 35240.0, "invoice_subtotal": 35240.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 35240.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1420/PO-2026-49943.pdf", "grn_file": "documents/CASE_1420/GRN-95629.jpg", "invoice_file": "documents/CASE_1420/KWS-109466.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1420/PO-2026-49943.pdf", "documents/CASE_1420/GRN-95629.jpg", "documents/CASE_1420/KWS-109466.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49943\", \"order_date\": \"2026-04-15\", \"expected_delivery\": \"2026-04-25\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 35240.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 35240.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95629\", \"po_number\": \"PO-2026-49943\", \"received_date\": \"Apr 26, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-957240\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-957240\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-109466\", \"po_number\": \"PO-2026-49943\", \"grn_ref\": \"GRN-95629\", \"invoice_date\": \"04/29/2026\", \"due_date\": \"05/14/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 115.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 35240.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 35240.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49943 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1427", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-49993", "grn_number": "GRN-95704", "invoice_number": "INV-APX-109558", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 6070.0, "po_tax": 500.78, "po_freight": 0.0, "po_total": 6570.78, "invoice_subtotal": 6070.0, "invoice_tax": 500.78, "invoice_freight": 0.0, "invoice_total": 6570.78, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1427/PO-2026-49993.png", "grn_file": "documents/CASE_1427/GRN-95704.docx", "invoice_file": "documents/CASE_1427/INV-APX-109558.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1427/PO-2026-49993.png", "documents/CASE_1427/GRN-95704.docx", "documents/CASE_1427/INV-APX-109558.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-49993\", \"order_date\": \"23-Jul-2026\", \"expected_delivery\": \"02-Aug-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}], \"subtotal\": 6070.0, \"tax_rate\": 0.0825, \"tax\": 500.78, \"freight\": 0.0, \"total\": 6570.78, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95704\", \"po_number\": \"PO-2026-49993\", \"received_date\": \"2026-07-27\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-521188\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-521188\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-109558\", \"po_number\": \"PO-2026-49993\", \"grn_ref\": \"GRN-95704\", \"invoice_date\": \"Jul 30, 2026\", \"due_date\": \"Aug 29, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}], \"subtotal\": 6070.0, \"tax_rate\": 0.0825, \"tax\": 500.78, \"freight\": 0.0, \"total\": 6570.78, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-49993 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1430", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-50012", "grn_number": "GRN-95736", "invoice_number": "SSP-109592", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 2160.0, "po_tax": 178.2, "po_freight": 0.0, "po_total": 2338.2, "invoice_subtotal": 2160.0, "invoice_tax": 178.2, "invoice_freight": 4.78, "invoice_total": 2342.98, "total_variance": 4.78, "num_documents": 3, "po_file": "documents/CASE_1430/PO-2026-50012.jpg", "grn_file": "documents/CASE_1430/GRN-95736.pdf", "invoice_file": "documents/CASE_1430/SSP-109592.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1430/PO-2026-50012.jpg", "documents/CASE_1430/GRN-95736.pdf", "documents/CASE_1430/SSP-109592.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $4.78 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 4.78, \"variance_amount\": 4.78, \"note\": \"Prepaid & Add shipping fee of $4.78 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50012\", \"order_date\": \"03/31/2026\", \"expected_delivery\": \"04/10/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}], \"subtotal\": 2160.0, \"tax_rate\": 0.0825, \"tax\": 178.2, \"freight\": 0.0, \"total\": 2338.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95736\", \"po_number\": \"PO-2026-50012\", \"received_date\": \"09-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-389116\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-389116\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-109592\", \"po_number\": \"PO-2026-50012\", \"grn_ref\": \"GRN-95736\", \"invoice_date\": \"2026-04-14\", \"due_date\": \"2026-04-29\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}], \"subtotal\": 2160.0, \"tax_rate\": 0.0825, \"tax\": 178.2, \"freight\": 4.78, \"total\": 2342.98, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50012 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1432", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-50025", "grn_number": "GRN-95755", "invoice_number": "PKR-109622", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 6144.0, "po_tax": 445.44, "po_freight": 75.0, "po_total": 6664.44, "invoice_subtotal": 6256.5, "invoice_tax": 453.6, "invoice_freight": 75.0, "invoice_total": 6785.1, "total_variance": 120.66, "num_documents": 3, "po_file": "documents/CASE_1432/PO-2026-50025.pdf", "grn_file": "documents/CASE_1432/GRN-95755.jpg", "invoice_file": "documents/CASE_1432/PKR-109622.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1432/PO-2026-50025.pdf", "documents/CASE_1432/GRN-95755.jpg", "documents/CASE_1432/PKR-109622.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item PKG-3091 ($112.50) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"PKG-3091\", \"invoiced_qty\": 5, \"invoice_unit_price\": 22.5, \"variance_amount\": 112.5, \"note\": \"Invoice includes line item PKG-3091 ($112.50) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50025\", \"order_date\": \"2026-09-22\", \"expected_delivery\": \"2026-10-02\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 64.0, \"line_total\": 1536.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 24, \"unit_price\": 145.0, \"line_total\": 3480.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 76.0, \"line_total\": 608.0}], \"subtotal\": 6144.0, \"tax_rate\": 0.0725, \"tax\": 445.44, \"freight\": 75.0, \"total\": 6664.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95755\", \"po_number\": \"PO-2026-50025\", \"received_date\": \"Sep 28, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-363097\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-363097\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-109622\", \"po_number\": \"PO-2026-50025\", \"grn_ref\": \"GRN-95755\", \"invoice_date\": \"10/03/2026\", \"due_date\": \"11/02/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 64.0, \"line_total\": 1536.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 24, \"unit_price\": 145.0, \"line_total\": 3480.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 76.0, \"line_total\": 608.0}, {\"line_no\": 5, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 22.5, \"line_total\": 112.5}], \"subtotal\": 6256.5, \"tax_rate\": 0.0725, \"tax\": 453.6, \"freight\": 75.0, \"total\": 6785.1, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50025 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1434", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50039", "grn_number": "GRN-95779", "invoice_number": "KWS-109644", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 35080.0, "po_tax": 2806.4, "po_freight": 95.0, "po_total": 37981.4, "invoice_subtotal": 35080.0, "invoice_tax": 2806.4, "invoice_freight": 95.0, "invoice_total": 37981.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1434/PO-2026-50039.docx", "grn_file": "documents/CASE_1434/GRN-95779.jpg", "invoice_file": "documents/CASE_1434/KWS-109644.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1434/PO-2026-50039.docx", "documents/CASE_1434/GRN-95779.jpg", "documents/CASE_1434/KWS-109644.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50039\", \"order_date\": \"09/22/2026\", \"expected_delivery\": \"10/02/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}], \"subtotal\": 35080.0, \"tax_rate\": 0.08, \"tax\": 2806.4, \"freight\": 95.0, \"total\": 37981.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95779\", \"po_number\": \"PO-2026-50039\", \"received_date\": \"27-Sep-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-920631\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-920631\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-109644\", \"po_number\": \"PO-2026-50039\", \"grn_ref\": \"GRN-95779\", \"invoice_date\": \"2026-10-03\", \"due_date\": \"2026-11-02\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 640.0, \"line_total\": 32000.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}], \"subtotal\": 35080.0, \"tax_rate\": 0.08, \"tax\": 2806.4, \"freight\": 95.0, \"total\": 37981.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50039 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1439", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50077", "grn_number": "GRN-95834", "invoice_number": "PPS-109710", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 34680.0, "po_tax": 2774.4, "po_freight": 35.0, "po_total": 37489.4, "invoice_subtotal": 34680.0, "invoice_tax": 2774.4, "invoice_freight": 35.0, "invoice_total": 37489.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1439/PO-2026-50077.png", "grn_file": "documents/CASE_1439/GRN-95834.docx", "invoice_file": "documents/CASE_1439/PPS-109710.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1439/PO-2026-50077.png", "documents/CASE_1439/GRN-95834.docx", "documents/CASE_1439/PPS-109710.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50077\", \"order_date\": \"17-Mar-2026\", \"expected_delivery\": \"27-Mar-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 34680.0, \"tax_rate\": 0.08, \"tax\": 2774.4, \"freight\": 35.0, \"total\": 37489.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95834\", \"po_number\": \"PO-2026-50077\", \"received_date\": \"2026-03-29\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-450748\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-450748\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-109710\", \"po_number\": \"PO-2026-50077\", \"grn_ref\": \"GRN-95834\", \"invoice_date\": \"Apr 01, 2026\", \"due_date\": \"May 01, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 34680.0, \"tax_rate\": 0.08, \"tax\": 2774.4, \"freight\": 35.0, \"total\": 37489.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50077 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1441", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-50088", "grn_number": "", "invoice_number": "PPS-109736", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 6360.0, "po_tax": 508.8, "po_freight": 95.0, "po_total": 6963.8, "invoice_subtotal": 6360.0, "invoice_tax": 508.8, "invoice_freight": 95.0, "invoice_total": 6963.8, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1441/PO-2026-50088.pdf", "grn_file": "", "invoice_file": "documents/CASE_1441/PPS-109736.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1441/PO-2026-50088.pdf", "documents/CASE_1441/PPS-109736.png"], "file_formats": ["pdf", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-50088\", \"invoice_number\": \"PPS-109736\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50088\", \"order_date\": \"Feb 27, 2026\", \"expected_delivery\": \"Mar 09, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}], \"subtotal\": 6360.0, \"tax_rate\": 0.08, \"tax\": 508.8, \"freight\": 95.0, \"total\": 6963.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-109736\", \"po_number\": \"PO-2026-50088\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"12-Mar-2026\", \"due_date\": \"11-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}], \"subtotal\": 6360.0, \"tax_rate\": 0.08, \"tax\": 508.8, \"freight\": 95.0, \"total\": 6963.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50088 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1445", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-50119", "grn_number": "GRN-95901", "invoice_number": "PKR-109794", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3641.5, "po_tax": 264.01, "po_freight": 0.0, "po_total": 3905.51, "invoice_subtotal": 3680.05, "invoice_tax": 266.8, "invoice_freight": 0.0, "invoice_total": 3946.85, "total_variance": 41.34, "num_documents": 3, "po_file": "documents/CASE_1445/PO-2026-50119.png", "grn_file": "documents/CASE_1445/GRN-95901.docx", "invoice_file": "documents/CASE_1445/PKR-109794.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1445/PO-2026-50119.png", "documents/CASE_1445/GRN-95901.docx", "documents/CASE_1445/PKR-109794.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $25.07 exceeds contracted PO unit price $22.50 for PKG-3091.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 4, \"sku\": \"PKG-3091\", \"po_unit_price\": 22.5, \"invoice_unit_price\": 25.07, \"qty\": 15, \"variance_amount\": 38.55, \"note\": \"Invoice unit price $25.07 exceeds contracted PO unit price $22.50 for PKG-3091.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50119\", \"order_date\": \"Jul 03, 2026\", \"expected_delivery\": \"Jul 13, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 8, \"unit_price\": 145.0, \"line_total\": 1160.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1520.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 12, \"unit_price\": 52.0, \"line_total\": 624.0}, {\"line_no\": 4, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 22.5, \"line_total\": 337.5}], \"subtotal\": 3641.5, \"tax_rate\": 0.0725, \"tax\": 264.01, \"freight\": 0.0, \"total\": 3905.51, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95901\", \"po_number\": \"PO-2026-50119\", \"received_date\": \"07/08/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-544009\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-544009\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-109794\", \"po_number\": \"PO-2026-50119\", \"grn_ref\": \"GRN-95901\", \"invoice_date\": \"13-Jul-2026\", \"due_date\": \"12-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 8, \"unit_price\": 145.0, \"line_total\": 1160.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 76.0, \"line_total\": 1520.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 12, \"unit_price\": 52.0, \"line_total\": 624.0}, {\"line_no\": 4, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 25.07, \"line_total\": 376.05}], \"subtotal\": 3680.05, \"tax_rate\": 0.0725, \"tax\": 266.8, \"freight\": 0.0, \"total\": 3946.85, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50119 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1449", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-50146", "grn_number": "GRN-95942", "invoice_number": "KWS-109843", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 10545.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 10545.0, "invoice_subtotal": 10545.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 10545.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1449/PO-2026-50146.docx", "grn_file": "documents/CASE_1449/GRN-95942.pdf", "invoice_file": "documents/CASE_1449/KWS-109843.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1449/PO-2026-50146.docx", "documents/CASE_1449/GRN-95942.pdf", "documents/CASE_1449/KWS-109843.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 20 units for FRN-6135, but warehouse only received 16 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"FRN-6135\", \"po_qty\": 20, \"received_qty\": 16, \"invoiced_qty\": 20, \"overbilled_qty\": 4, \"variance_amount\": 840.0, \"note\": \"Vendor billed 20 units for FRN-6135, but warehouse only received 16 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50146\", \"order_date\": \"Sep 22, 2026\", \"expected_delivery\": \"Oct 02, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 210.0, \"line_total\": 4200.0}], \"subtotal\": 10545.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 10545.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95942\", \"po_number\": \"PO-2026-50146\", \"received_date\": \"09/28/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-366826\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 16, \"qty_accepted\": 16, \"qty_rejected\": 0, \"condition\": \"Short 4 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 16 of 20 on FRN-6135 (short 4 EA). - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-366826\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-109843\", \"po_number\": \"PO-2026-50146\", \"grn_ref\": \"GRN-95942\", \"invoice_date\": \"01-Oct-2026\", \"due_date\": \"15-Nov-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 210.0, \"line_total\": 4200.0}], \"subtotal\": 10545.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 10545.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50146 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1452", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-50167", "grn_number": "GRN-95976", "invoice_number": "NSI-109881", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 47820.0, "po_tax": 3825.6, "po_freight": 0.0, "po_total": 51645.6, "invoice_subtotal": 48391.68, "invoice_tax": 3871.33, "invoice_freight": 0.0, "invoice_total": 52263.01, "total_variance": 617.41, "num_documents": 3, "po_file": "documents/CASE_1452/PO-2026-50167.docx", "grn_file": "documents/CASE_1452/GRN-95976.jpg", "invoice_file": "documents/CASE_1452/NSI-109881.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1452/PO-2026-50167.docx", "documents/CASE_1452/GRN-95976.jpg", "documents/CASE_1452/NSI-109881.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $292.64 exceeds contracted PO unit price $245.00 for IT-8829.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"IT-8829\", \"po_unit_price\": 245.0, \"invoice_unit_price\": 292.64, \"qty\": 12, \"variance_amount\": 571.68, \"note\": \"Invoice unit price $292.64 exceeds contracted PO unit price $245.00 for IT-8829.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50167\", \"order_date\": \"2026-06-17\", \"expected_delivery\": \"2026-06-27\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}], \"subtotal\": 47820.0, \"tax_rate\": 0.08, \"tax\": 3825.6, \"freight\": 0.0, \"total\": 51645.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-95976\", \"po_number\": \"PO-2026-50167\", \"received_date\": \"Jun 27, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-258310\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-258310\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-109881\", \"po_number\": \"PO-2026-50167\", \"grn_ref\": \"GRN-95976\", \"invoice_date\": \"06/28/2026\", \"due_date\": \"07/28/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 292.64, \"line_total\": 3511.68}], \"subtotal\": 48391.68, \"tax_rate\": 0.08, \"tax\": 3871.33, \"freight\": 0.0, \"total\": 52263.01, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50167 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1456", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-50193", "grn_number": "GRN-96024", "invoice_number": "SSP-109930", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 1614.0, "po_tax": 117.02, "po_freight": 0.0, "po_total": 1731.02, "invoice_subtotal": 1614.0, "invoice_tax": 117.02, "invoice_freight": 0.0, "invoice_total": 1731.02, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1456/PO-2026-50193.pdf", "grn_file": "documents/CASE_1456/GRN-96024.jpg", "invoice_file": "documents/CASE_1456/SSP-109930.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1456/PO-2026-50193.pdf", "documents/CASE_1456/GRN-96024.jpg", "documents/CASE_1456/SSP-109930.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "wrong_po_reference", "primary_discrepancy_note": "Invoice references non-matching PO 'PO-2026-901456' instead of packet PO 'PO-2026-50193'.", "discrepancies_json": "[{\"type\": \"wrong_po_reference\", \"expected_po\": \"PO-2026-50193\", \"invoice_po_ref\": \"PO-2026-901456\", \"po_vendor\": \"Summit Safety & PPE Distributors\", \"invoice_vendor\": \"Summit Safety & PPE Distributors\", \"note\": \"Invoice references non-matching PO 'PO-2026-901456' instead of packet PO 'PO-2026-50193'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50193\", \"order_date\": \"2026-07-20\", \"expected_delivery\": \"2026-07-30\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 12, \"unit_price\": 92.0, \"line_total\": 1104.0}], \"subtotal\": 1614.0, \"tax_rate\": 0.0725, \"tax\": 117.02, \"freight\": 0.0, \"total\": 1731.02, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96024\", \"po_number\": \"PO-2026-50193\", \"received_date\": \"Jul 30, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-457104\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-457104\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-109930\", \"po_number\": \"PO-2026-901456\", \"grn_ref\": \"GRN-96024\", \"invoice_date\": \"08/05/2026\", \"due_date\": \"09/04/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 12, \"unit_price\": 92.0, \"line_total\": 1104.0}], \"subtotal\": 1614.0, \"tax_rate\": 0.0725, \"tax\": 117.02, \"freight\": 0.0, \"total\": 1731.02, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-901456 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1458", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50209", "grn_number": "GRN-96039", "invoice_number": "TP-109958", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 27924.0, "po_tax": 1675.44, "po_freight": 50.0, "po_total": 29649.44, "invoice_subtotal": 27924.0, "invoice_tax": 1675.44, "invoice_freight": 50.0, "invoice_total": 29649.44, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1458/PO-2026-50209.docx", "grn_file": "documents/CASE_1458/GRN-96039.jpg", "invoice_file": "documents/CASE_1458/TP-109958.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1458/PO-2026-50209.docx", "documents/CASE_1458/GRN-96039.jpg", "documents/CASE_1458/TP-109958.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50209\", \"order_date\": \"08/09/2026\", \"expected_delivery\": \"08/19/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 164.0, \"line_total\": 6560.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 135.0, \"line_total\": 1620.0}, {\"line_no\": 4, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 12, \"unit_price\": 112.0, \"line_total\": 1344.0}], \"subtotal\": 27924.0, \"tax_rate\": 0.06, \"tax\": 1675.44, \"freight\": 50.0, \"total\": 29649.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96039\", \"po_number\": \"PO-2026-50209\", \"received_date\": \"23-Aug-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-384445\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-384445\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-109958\", \"po_number\": \"PO-2026-50209\", \"grn_ref\": \"GRN-96039\", \"invoice_date\": \"2026-08-26\", \"due_date\": \"2026-10-10\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 164.0, \"line_total\": 6560.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 135.0, \"line_total\": 1620.0}, {\"line_no\": 4, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 12, \"unit_price\": 112.0, \"line_total\": 1344.0}], \"subtotal\": 27924.0, \"tax_rate\": 0.06, \"tax\": 1675.44, \"freight\": 50.0, \"total\": 29649.44, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50209 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1460", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50224", "grn_number": "GRN-96069", "invoice_number": "KWS-109988", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 12440.0, "po_tax": 746.4, "po_freight": 0.0, "po_total": 13186.4, "invoice_subtotal": 12440.0, "invoice_tax": 746.4, "invoice_freight": 0.0, "invoice_total": 13186.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1460/PO-2026-50224.jpg", "grn_file": "documents/CASE_1460/GRN-96069.pdf", "invoice_file": "documents/CASE_1460/KWS-109988.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1460/PO-2026-50224.jpg", "documents/CASE_1460/GRN-96069.pdf", "documents/CASE_1460/KWS-109988.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50224\", \"order_date\": \"2026-08-06\", \"expected_delivery\": \"2026-08-16\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 640.0, \"line_total\": 3200.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}], \"subtotal\": 12440.0, \"tax_rate\": 0.06, \"tax\": 746.4, \"freight\": 0.0, \"total\": 13186.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96069\", \"po_number\": \"PO-2026-50224\", \"received_date\": \"Aug 19, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-444648\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-444648\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-109988\", \"po_number\": \"PO-2026-50224\", \"grn_ref\": \"GRN-96069\", \"invoice_date\": \"08/20/2026\", \"due_date\": \"09/19/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 640.0, \"line_total\": 3200.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}], \"subtotal\": 12440.0, \"tax_rate\": 0.06, \"tax\": 746.4, \"freight\": 0.0, \"total\": 13186.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50224 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1462", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-50239", "grn_number": "GRN-96091", "invoice_number": "PKR-110013", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 1703.0, "po_tax": 136.24, "po_freight": 0.0, "po_total": 1839.24, "invoice_subtotal": 1775.9, "invoice_tax": 142.07, "invoice_freight": 0.0, "invoice_total": 1917.97, "total_variance": 78.73, "num_documents": 3, "po_file": "documents/CASE_1462/PO-2026-50239.pdf", "grn_file": "documents/CASE_1462/GRN-96091.jpg", "invoice_file": "documents/CASE_1462/PKR-110013.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1462/PO-2026-50239.pdf", "documents/CASE_1462/GRN-96091.jpg", "documents/CASE_1462/PKR-110013.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $24.93 exceeds contracted PO unit price $22.50 for PKG-3091.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"PKG-3091\", \"po_unit_price\": 22.5, \"invoice_unit_price\": 24.93, \"qty\": 30, \"variance_amount\": 72.9, \"note\": \"Invoice unit price $24.93 exceeds contracted PO unit price $22.50 for PKG-3091.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50239\", \"order_date\": \"09/07/2026\", \"expected_delivery\": \"09/17/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 22.5, \"line_total\": 675.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 768.0}], \"subtotal\": 1703.0, \"tax_rate\": 0.08, \"tax\": 136.24, \"freight\": 0.0, \"total\": 1839.24, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96091\", \"po_number\": \"PO-2026-50239\", \"received_date\": \"14-Sep-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-127941\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-127941\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-110013\", \"po_number\": \"PO-2026-50239\", \"grn_ref\": \"GRN-96091\", \"invoice_date\": \"2026-09-20\", \"due_date\": \"2026-10-20\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 24.93, \"line_total\": 747.9}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 768.0}], \"subtotal\": 1775.9, \"tax_rate\": 0.08, \"tax\": 142.07, \"freight\": 0.0, \"total\": 1917.97, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50239 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1466", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-50267", "grn_number": "GRN-96131", "invoice_number": "SSP-110066", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 16930.0, "po_tax": 1015.8, "po_freight": 0.0, "po_total": 17945.8, "invoice_subtotal": 13980.0, "invoice_tax": 838.8, "invoice_freight": 0.0, "invoice_total": 14818.8, "total_variance": -3127.0, "num_documents": 3, "po_file": "documents/CASE_1466/PO-2026-50267.jpg", "grn_file": "documents/CASE_1466/GRN-96131.pdf", "invoice_file": "documents/CASE_1466/SSP-110066.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1466/PO-2026-50267.jpg", "documents/CASE_1466/GRN-96131.pdf", "documents/CASE_1466/SSP-110066.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 20/30 units received and accurately billed; keep PO open for remaining 10 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"IND-4503\", \"po_qty\": 30, \"received_qty\": 20, \"invoiced_qty\": 20, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 20/30 units received and accurately billed; keep PO open for remaining 10 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50267\", \"order_date\": \"05/22/2026\", \"expected_delivery\": \"06/01/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}], \"subtotal\": 16930.0, \"tax_rate\": 0.06, \"tax\": 1015.8, \"freight\": 0.0, \"total\": 17945.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96131\", \"po_number\": \"PO-2026-50267\", \"received_date\": \"28-May-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-841140\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (10 EA remaining)\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (20/30 IND-4503). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-841140\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-110066\", \"po_number\": \"PO-2026-50267\", \"grn_ref\": \"GRN-96131\", \"invoice_date\": \"2026-05-29\", \"due_date\": \"2026-06-28\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 5, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}], \"subtotal\": 13980.0, \"tax_rate\": 0.06, \"tax\": 838.8, \"freight\": 0.0, \"total\": 14818.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50267 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1471", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50301", "grn_number": "GRN-96183", "invoice_number": "VEP-110129", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 5145.0, "po_tax": 424.46, "po_freight": 0.0, "po_total": 5569.46, "invoice_subtotal": 5145.0, "invoice_tax": 424.46, "invoice_freight": 0.0, "invoice_total": 5569.46, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1471/PO-2026-50301.pdf", "grn_file": "documents/CASE_1471/GRN-96183.docx", "invoice_file": "documents/CASE_1471/VEP-110129.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1471/PO-2026-50301.pdf", "documents/CASE_1471/GRN-96183.docx", "documents/CASE_1471/VEP-110129.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50301\", \"order_date\": \"22-Apr-2026\", \"expected_delivery\": \"02-May-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}], \"subtotal\": 5145.0, \"tax_rate\": 0.0825, \"tax\": 424.46, \"freight\": 0.0, \"total\": 5569.46, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96183\", \"po_number\": \"PO-2026-50301\", \"received_date\": \"2026-04-30\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-975839\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-975839\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-110129\", \"po_number\": \"PO-2026-50301\", \"grn_ref\": \"GRN-96183\", \"invoice_date\": \"May 04, 2026\", \"due_date\": \"May 19, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}], \"subtotal\": 5145.0, \"tax_rate\": 0.0825, \"tax\": 424.46, \"freight\": 0.0, \"total\": 5569.46, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50301 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1476", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-50334", "grn_number": "GRN-96241", "invoice_number": "KWS-110189", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 18375.0, "po_tax": 0.0, "po_freight": 50.0, "po_total": 18425.0, "invoice_subtotal": 18950.0, "invoice_tax": 0.0, "invoice_freight": 50.0, "invoice_total": 19000.0, "total_variance": 575.0, "num_documents": 3, "po_file": "documents/CASE_1476/PO-2026-50334.docx", "grn_file": "documents/CASE_1476/GRN-96241.jpg", "invoice_file": "documents/CASE_1476/KWS-110189.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1476/PO-2026-50334.docx", "documents/CASE_1476/GRN-96241.jpg", "documents/CASE_1476/KWS-110189.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 20 units vs 15 ordered (+5 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"FRN-6159\", \"po_qty\": 15, \"received_qty\": 20, \"invoiced_qty\": 20, \"over_qty\": 5, \"variance_amount\": 575.0, \"note\": \"Shipped and billed 20 units vs 15 ordered (+5 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50334\", \"order_date\": \"2026-02-09\", \"expected_delivery\": \"2026-02-19\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}], \"subtotal\": 18375.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 18425.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96241\", \"po_number\": \"PO-2026-50334\", \"received_date\": \"Feb 20, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-322038\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+5 EA over PO)\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 20 (5 extra over PO) on FRN-6159. Held in quarantine. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-322038\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-110189\", \"po_number\": \"PO-2026-50334\", \"grn_ref\": \"GRN-96241\", \"invoice_date\": \"02/23/2026\", \"due_date\": \"03/25/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 385.0, \"line_total\": 3850.0}], \"subtotal\": 18950.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 50.0, \"total\": 19000.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50334 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1477", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-50343", "grn_number": "GRN-96249", "invoice_number": "INV-APX-110207", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 10438.0, "po_tax": 626.28, "po_freight": 0.0, "po_total": 11064.28, "invoice_subtotal": 10846.0, "invoice_tax": 650.76, "invoice_freight": 0.0, "invoice_total": 11496.76, "total_variance": 432.48, "num_documents": 3, "po_file": "documents/CASE_1477/PO-2026-50343.pdf", "grn_file": "documents/CASE_1477/GRN-96249.docx", "invoice_file": "documents/CASE_1477/INV-APX-110207.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1477/PO-2026-50343.pdf", "documents/CASE_1477/GRN-96249.docx", "documents/CASE_1477/INV-APX-110207.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IND-4452 ($408.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"IND-4452\", \"invoiced_qty\": 6, \"invoice_unit_price\": 68.0, \"variance_amount\": 408.0, \"note\": \"Invoice includes line item IND-4452 ($408.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50343\", \"order_date\": \"Mar 17, 2026\", \"expected_delivery\": \"Mar 27, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}], \"subtotal\": 10438.0, \"tax_rate\": 0.06, \"tax\": 626.28, \"freight\": 0.0, \"total\": 11064.28, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96249\", \"po_number\": \"PO-2026-50343\", \"received_date\": \"03/25/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-313128\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-313128\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-110207\", \"po_number\": \"PO-2026-50343\", \"grn_ref\": \"GRN-96249\", \"invoice_date\": \"30-Mar-2026\", \"due_date\": \"29-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 5, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 6, \"unit_price\": 68.0, \"line_total\": 408.0}], \"subtotal\": 10846.0, \"tax_rate\": 0.06, \"tax\": 650.76, \"freight\": 0.0, \"total\": 11496.76, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50343 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1479", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-50356", "grn_number": "GRN-96273", "invoice_number": "TP-110228", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 31200.0, "po_tax": 1872.0, "po_freight": 0.0, "po_total": 33072.0, "invoice_subtotal": 31200.0, "invoice_tax": 1872.0, "invoice_freight": 0.0, "invoice_total": 33072.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1479/PO-2026-50356.docx", "grn_file": "documents/CASE_1479/GRN-96273.pdf", "invoice_file": "documents/CASE_1479/TP-110228.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1479/PO-2026-50356.docx", "documents/CASE_1479/GRN-96273.pdf", "documents/CASE_1479/TP-110228.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 50 units for LAB-2145, but warehouse only received 39 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"LAB-2145\", \"po_qty\": 50, \"received_qty\": 39, \"invoiced_qty\": 50, \"overbilled_qty\": 11, \"variance_amount\": 1804.0, \"note\": \"Vendor billed 50 units for LAB-2145, but warehouse only received 39 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50356\", \"order_date\": \"06-Oct-2026\", \"expected_delivery\": \"16-Oct-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 460.0, \"line_total\": 23000.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 31200.0, \"tax_rate\": 0.06, \"tax\": 1872.0, \"freight\": 0.0, \"total\": 33072.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96273\", \"po_number\": \"PO-2026-50356\", \"received_date\": \"2026-10-10\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-856647\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 39, \"qty_accepted\": 39, \"qty_rejected\": 0, \"condition\": \"Short 11 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 39 of 50 on LAB-2145 (short 11 EA). - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-856647\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-110228\", \"po_number\": \"PO-2026-50356\", \"grn_ref\": \"GRN-96273\", \"invoice_date\": \"Oct 10, 2026\", \"due_date\": \"Nov 24, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 460.0, \"line_total\": 23000.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}], \"subtotal\": 31200.0, \"tax_rate\": 0.06, \"tax\": 1872.0, \"freight\": 0.0, \"total\": 33072.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50356 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1481", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-50371", "grn_number": "GRN-96297", "invoice_number": "PPS-110255", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 7251.0, "po_tax": 598.21, "po_freight": 50.0, "po_total": 7899.21, "invoice_subtotal": 7251.0, "invoice_tax": 598.21, "invoice_freight": 50.0, "invoice_total": 7899.21, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1481/PO-2026-50371.png", "grn_file": "documents/CASE_1481/GRN-96297.docx", "invoice_file": "documents/CASE_1481/PPS-110255.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1481/PO-2026-50371.png", "documents/CASE_1481/GRN-96297.docx", "documents/CASE_1481/PPS-110255.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of ELC-7201 failed dock inspection and were rejected, but vendor billed full 8 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"ELC-7201\", \"po_qty\": 8, \"received_qty\": 8, \"accepted_qty\": 6, \"rejected_qty\": 2, \"invoiced_qty\": 8, \"variance_amount\": 344.0, \"note\": \"2 delivered units of ELC-7201 failed dock inspection and were rejected, but vendor billed full 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50371\", \"order_date\": \"Jan 17, 2026\", \"expected_delivery\": \"Jan 27, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}], \"subtotal\": 7251.0, \"tax_rate\": 0.0825, \"tax\": 598.21, \"freight\": 50.0, \"total\": 7899.21, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96297\", \"po_number\": \"PO-2026-50371\", \"received_date\": \"01/22/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-962453\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 6, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of ELC-7201 water/crush damaged; refused & RMA requested! Accepted 6. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-962453\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-110255\", \"po_number\": \"PO-2026-50371\", \"grn_ref\": \"GRN-96297\", \"invoice_date\": \"27-Jan-2026\", \"due_date\": \"26-Feb-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}], \"subtotal\": 7251.0, \"tax_rate\": 0.0825, \"tax\": 598.21, \"freight\": 50.0, \"total\": 7899.21, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50371 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1482", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-50376", "grn_number": "GRN-96307", "invoice_number": "SSP-110269", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 1614.0, "po_tax": 129.12, "po_freight": 0.0, "po_total": 1743.12, "invoice_subtotal": 1614.0, "invoice_tax": 129.12, "invoice_freight": 0.0, "invoice_total": 1743.12, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1482/PO-2026-50376.docx", "grn_file": "documents/CASE_1482/GRN-96307.jpg", "invoice_file": "documents/CASE_1482/SSP-110269.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1482/PO-2026-50376.docx", "documents/CASE_1482/GRN-96307.jpg", "documents/CASE_1482/SSP-110269.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 12 units for IND-4418, but warehouse only received 9 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"IND-4418\", \"po_qty\": 12, \"received_qty\": 9, \"invoiced_qty\": 12, \"overbilled_qty\": 3, \"variance_amount\": 127.5, \"note\": \"Vendor billed 12 units for IND-4418, but warehouse only received 9 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50376\", \"order_date\": \"03/27/2026\", \"expected_delivery\": \"04/06/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 12, \"unit_price\": 92.0, \"line_total\": 1104.0}], \"subtotal\": 1614.0, \"tax_rate\": 0.08, \"tax\": 129.12, \"freight\": 0.0, \"total\": 1743.12, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96307\", \"po_number\": \"PO-2026-50376\", \"received_date\": \"09-Apr-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-896664\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 12, \"qty_received\": 9, \"qty_accepted\": 9, \"qty_rejected\": 0, \"condition\": \"Short 3 BOX (Backordered)\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 9 of 12 on IND-4418 (short 3 BOX). - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-896664\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-110269\", \"po_number\": \"PO-2026-50376\", \"grn_ref\": \"GRN-96307\", \"invoice_date\": \"2026-04-11\", \"due_date\": \"2026-05-26\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 12, \"unit_price\": 92.0, \"line_total\": 1104.0}], \"subtotal\": 1614.0, \"tax_rate\": 0.08, \"tax\": 129.12, \"freight\": 0.0, \"total\": 1743.12, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50376 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1487", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50411", "grn_number": "GRN-96360", "invoice_number": "NSI-110335", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 16190.0, "po_tax": 1335.68, "po_freight": 50.0, "po_total": 17575.68, "invoice_subtotal": 16190.0, "invoice_tax": 1335.68, "invoice_freight": 50.0, "invoice_total": 17575.68, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1487/PO-2026-50411.png", "grn_file": "documents/CASE_1487/GRN-96360.docx", "invoice_file": "documents/CASE_1487/NSI-110335.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1487/PO-2026-50411.png", "documents/CASE_1487/GRN-96360.docx", "documents/CASE_1487/NSI-110335.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50411\", \"order_date\": \"16-Apr-2026\", \"expected_delivery\": \"26-Apr-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}], \"subtotal\": 16190.0, \"tax_rate\": 0.0825, \"tax\": 1335.68, \"freight\": 50.0, \"total\": 17575.68, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96360\", \"po_number\": \"PO-2026-50411\", \"received_date\": \"2026-04-27\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-304375\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-304375\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-110335\", \"po_number\": \"PO-2026-50411\", \"grn_ref\": \"GRN-96360\", \"invoice_date\": \"May 01, 2026\", \"due_date\": \"May 16, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}], \"subtotal\": 16190.0, \"tax_rate\": 0.0825, \"tax\": 1335.68, \"freight\": 50.0, \"total\": 17575.68, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50411 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1498", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-50487", "grn_number": "GRN-96480", "invoice_number": "PPS-110479", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 16522.0, "po_tax": 1197.85, "po_freight": 35.0, "po_total": 17754.85, "invoice_subtotal": 17426.4, "invoice_tax": 1263.41, "invoice_freight": 35.0, "invoice_total": 18724.81, "total_variance": 969.96, "num_documents": 3, "po_file": "documents/CASE_1498/PO-2026-50487.pdf", "grn_file": "documents/CASE_1498/GRN-96480.jpg", "invoice_file": "documents/CASE_1498/PPS-110479.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1498/PO-2026-50487.pdf", "documents/CASE_1498/GRN-96480.jpg", "documents/CASE_1498/PPS-110479.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $194.61 exceeds contracted PO unit price $172.00 for ELC-7201.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"ELC-7201\", \"po_unit_price\": 172.0, \"invoice_unit_price\": 194.61, \"qty\": 40, \"variance_amount\": 904.4, \"note\": \"Invoice unit price $194.61 exceeds contracted PO unit price $172.00 for ELC-7201.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50487\", \"order_date\": \"04/30/2026\", \"expected_delivery\": \"05/10/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 16522.0, \"tax_rate\": 0.0725, \"tax\": 1197.85, \"freight\": 35.0, \"total\": 17754.85, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96480\", \"po_number\": \"PO-2026-50487\", \"received_date\": \"12-May-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-847747\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-847747\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-110479\", \"po_number\": \"PO-2026-50487\", \"grn_ref\": \"GRN-96480\", \"invoice_date\": \"2026-05-13\", \"due_date\": \"2026-06-12\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 194.61, \"line_total\": 7784.4}], \"subtotal\": 17426.4, \"tax_rate\": 0.0725, \"tax\": 1263.41, \"freight\": 35.0, \"total\": 18724.81, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50487 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1501", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-50510", "grn_number": "GRN-96517", "invoice_number": "NSI-110517", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 57545.0, "po_tax": 4603.6, "po_freight": 95.0, "po_total": 62243.6, "invoice_subtotal": 57903.88, "invoice_tax": 4632.31, "invoice_freight": 95.0, "invoice_total": 62631.19, "total_variance": 387.59, "num_documents": 3, "po_file": "documents/CASE_1501/PO-2026-50510.pdf", "grn_file": "documents/CASE_1501/GRN-96517.docx", "invoice_file": "documents/CASE_1501/NSI-110517.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1501/PO-2026-50510.pdf", "documents/CASE_1501/GRN-96517.docx", "documents/CASE_1501/NSI-110517.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $259.86 exceeds contracted PO unit price $215.00 for IT-8892.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"IT-8892\", \"po_unit_price\": 215.0, \"invoice_unit_price\": 259.86, \"qty\": 8, \"variance_amount\": 358.88, \"note\": \"Invoice unit price $259.86 exceeds contracted PO unit price $215.00 for IT-8892.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50510\", \"order_date\": \"Jun 16, 2026\", \"expected_delivery\": \"Jun 26, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 690.0, \"line_total\": 13800.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}], \"subtotal\": 57545.0, \"tax_rate\": 0.08, \"tax\": 4603.6, \"freight\": 95.0, \"total\": 62243.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96517\", \"po_number\": \"PO-2026-50510\", \"received_date\": \"06/26/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-858657\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-858657\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-110517\", \"po_number\": \"PO-2026-50510\", \"grn_ref\": \"GRN-96517\", \"invoice_date\": \"01-Jul-2026\", \"due_date\": \"31-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 259.86, \"line_total\": 2078.88}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 690.0, \"line_total\": 13800.0}, {\"line_no\": 5, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 245.0, \"line_total\": 1225.0}], \"subtotal\": 57903.88, \"tax_rate\": 0.08, \"tax\": 4632.31, \"freight\": 95.0, \"total\": 62631.19, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50510 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1502", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50516", "grn_number": "GRN-96527", "invoice_number": "KWS-110530", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 12100.0, "po_tax": 998.25, "po_freight": 0.0, "po_total": 13098.25, "invoice_subtotal": 12100.0, "invoice_tax": 998.25, "invoice_freight": 0.0, "invoice_total": 13098.25, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1502/PO-2026-50516.jpg", "grn_file": "documents/CASE_1502/GRN-96527.pdf", "invoice_file": "documents/CASE_1502/KWS-110530.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1502/PO-2026-50516.jpg", "documents/CASE_1502/GRN-96527.pdf", "documents/CASE_1502/KWS-110530.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50516\", \"order_date\": \"01/25/2026\", \"expected_delivery\": \"02/04/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 115.0, \"line_total\": 5750.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 640.0, \"line_total\": 3200.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}], \"subtotal\": 12100.0, \"tax_rate\": 0.0825, \"tax\": 998.25, \"freight\": 0.0, \"total\": 13098.25, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96527\", \"po_number\": \"PO-2026-50516\", \"received_date\": \"30-Jan-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-720944\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-720944\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-110530\", \"po_number\": \"PO-2026-50516\", \"grn_ref\": \"GRN-96527\", \"invoice_date\": \"2026-01-30\", \"due_date\": \"2026-02-14\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 115.0, \"line_total\": 5750.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 640.0, \"line_total\": 3200.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 210.0, \"line_total\": 3150.0}], \"subtotal\": 12100.0, \"tax_rate\": 0.0825, \"tax\": 998.25, \"freight\": 0.0, \"total\": 13098.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50516 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1525", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-50676", "grn_number": "GRN-96780", "invoice_number": "VEP-110834", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 17610.0, "po_tax": 1056.6, "po_freight": 0.0, "po_total": 18666.6, "invoice_subtotal": 20710.0, "invoice_tax": 1242.6, "invoice_freight": 0.0, "invoice_total": 21952.6, "total_variance": 3286.0, "num_documents": 3, "po_file": "documents/CASE_1525/PO-2026-50676.pdf", "grn_file": "documents/CASE_1525/GRN-96780.docx", "invoice_file": "documents/CASE_1525/VEP-110834.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1525/PO-2026-50676.pdf", "documents/CASE_1525/GRN-96780.docx", "documents/CASE_1525/VEP-110834.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 50 units vs 40 ordered (+10 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7260\", \"po_qty\": 40, \"received_qty\": 50, \"invoiced_qty\": 50, \"over_qty\": 10, \"variance_amount\": 3100.0, \"note\": \"Shipped and billed 50 units vs 40 ordered (+10 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50676\", \"order_date\": \"Jul 11, 2026\", \"expected_delivery\": \"Jul 21, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 17610.0, \"tax_rate\": 0.06, \"tax\": 1056.6, \"freight\": 0.0, \"total\": 18666.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96780\", \"po_number\": \"PO-2026-50676\", \"received_date\": \"07/18/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-519029\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+10 SPOOL over PO)\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 50 (10 extra over PO) on ELC-7260. Held in quarantine. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-519029\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-110834\", \"po_number\": \"PO-2026-50676\", \"grn_ref\": \"GRN-96780\", \"invoice_date\": \"21-Jul-2026\", \"due_date\": \"20-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 20710.0, \"tax_rate\": 0.06, \"tax\": 1242.6, \"freight\": 0.0, \"total\": 21952.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50676 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1526", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-50687", "grn_number": "GRN-96788", "invoice_number": "INV-APX-110839", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 13166.0, "po_tax": 1086.2, "po_freight": 0.0, "po_total": 14252.2, "invoice_subtotal": 15201.0, "invoice_tax": 1254.08, "invoice_freight": 0.0, "invoice_total": 16455.08, "total_variance": 2202.88, "num_documents": 3, "po_file": "documents/CASE_1526/PO-2026-50687.jpg", "grn_file": "documents/CASE_1526/GRN-96788.pdf", "invoice_file": "documents/CASE_1526/INV-APX-110839.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1526/PO-2026-50687.jpg", "documents/CASE_1526/GRN-96788.pdf", "documents/CASE_1526/INV-APX-110839.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 51 units vs 40 ordered (+11 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"IND-4401\", \"po_qty\": 40, \"received_qty\": 51, \"invoiced_qty\": 51, \"over_qty\": 11, \"variance_amount\": 2035.0, \"note\": \"Shipped and billed 51 units vs 40 ordered (+11 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50687\", \"order_date\": \"04/24/2026\", \"expected_delivery\": \"05/04/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 185.0, \"line_total\": 7400.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 148.0, \"line_total\": 4440.0}], \"subtotal\": 13166.0, \"tax_rate\": 0.0825, \"tax\": 1086.2, \"freight\": 0.0, \"total\": 14252.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96788\", \"po_number\": \"PO-2026-50687\", \"received_date\": \"29-Apr-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-146177\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 51, \"qty_accepted\": 51, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+11 EA over PO)\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 51 (11 extra over PO) on IND-4401. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-146177\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-110839\", \"po_number\": \"PO-2026-50687\", \"grn_ref\": \"GRN-96788\", \"invoice_date\": \"2026-05-04\", \"due_date\": \"2026-06-18\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 51, \"unit_price\": 185.0, \"line_total\": 9435.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 148.0, \"line_total\": 4440.0}], \"subtotal\": 15201.0, \"tax_rate\": 0.0825, \"tax\": 1254.08, \"freight\": 0.0, \"total\": 16455.08, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50687 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1533", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-50735", "grn_number": "GRN-96868", "invoice_number": "PPS-110934", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 8970.0, "po_tax": 717.6, "po_freight": 120.0, "po_total": 9807.6, "invoice_subtotal": 8970.0, "invoice_tax": 717.6, "invoice_freight": 120.0, "invoice_total": 9807.6, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1533/PO-2026-50735.docx", "grn_file": "documents/CASE_1533/GRN-96868.pdf", "invoice_file": "documents/CASE_1533/PPS-110934.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1533/PO-2026-50735.docx", "documents/CASE_1533/GRN-96868.pdf", "documents/CASE_1533/PPS-110934.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of ELC-7244 failed dock inspection and were rejected, but vendor billed full 8 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"ELC-7244\", \"po_qty\": 8, \"received_qty\": 8, \"accepted_qty\": 6, \"rejected_qty\": 2, \"invoiced_qty\": 8, \"variance_amount\": 1080.0, \"note\": \"2 delivered units of ELC-7244 failed dock inspection and were rejected, but vendor billed full 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50735\", \"order_date\": \"Jun 19, 2026\", \"expected_delivery\": \"Jun 29, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}], \"subtotal\": 8970.0, \"tax_rate\": 0.08, \"tax\": 717.6, \"freight\": 120.0, \"total\": 9807.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96868\", \"po_number\": \"PO-2026-50735\", \"received_date\": \"06/25/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-589040\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 6, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of ELC-7244 water/crush damaged; refused & RMA requested! Accepted 6. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-589040\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-110934\", \"po_number\": \"PO-2026-50735\", \"grn_ref\": \"GRN-96868\", \"invoice_date\": \"29-Jun-2026\", \"due_date\": \"13-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}], \"subtotal\": 8970.0, \"tax_rate\": 0.08, \"tax\": 717.6, \"freight\": 120.0, \"total\": 9807.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50735 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1536", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-50753", "grn_number": "GRN-96902", "invoice_number": "PPS-110975", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 14470.0, "po_tax": 1193.78, "po_freight": 0.0, "po_total": 15663.78, "invoice_subtotal": 15646.8, "invoice_tax": 1290.86, "invoice_freight": 0.0, "invoice_total": 16937.66, "total_variance": 1273.88, "num_documents": 3, "po_file": "documents/CASE_1536/PO-2026-50753.docx", "grn_file": "documents/CASE_1536/GRN-96902.jpg", "invoice_file": "documents/CASE_1536/PPS-110975.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1536/PO-2026-50753.docx", "documents/CASE_1536/GRN-96902.jpg", "documents/CASE_1536/PPS-110975.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $201.42 exceeds contracted PO unit price $172.00 for ELC-7201.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 4, \"sku\": \"ELC-7201\", \"po_unit_price\": 172.0, \"invoice_unit_price\": 201.42, \"qty\": 40, \"variance_amount\": 1176.8, \"note\": \"Invoice unit price $201.42 exceeds contracted PO unit price $172.00 for ELC-7201.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50753\", \"order_date\": \"2026-01-15\", \"expected_delivery\": \"2026-01-25\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 14470.0, \"tax_rate\": 0.0825, \"tax\": 1193.78, \"freight\": 0.0, \"total\": 15663.78, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96902\", \"po_number\": \"PO-2026-50753\", \"received_date\": \"Jan 22, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-104123\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-104123\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-110975\", \"po_number\": \"PO-2026-50753\", \"grn_ref\": \"GRN-96902\", \"invoice_date\": \"01/28/2026\", \"due_date\": \"02/27/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 201.42, \"line_total\": 8056.8}], \"subtotal\": 15646.8, \"tax_rate\": 0.0825, \"tax\": 1290.86, \"freight\": 0.0, \"total\": 16937.66, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50753 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1538", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50767", "grn_number": "GRN-96926", "invoice_number": "PKR-111003", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 1897.5, "po_tax": 113.85, "po_freight": 50.0, "po_total": 2061.35, "invoice_subtotal": 1897.5, "invoice_tax": 113.85, "invoice_freight": 50.0, "invoice_total": 2061.35, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1538/PO-2026-50767.jpg", "grn_file": "documents/CASE_1538/GRN-96926.pdf", "invoice_file": "documents/CASE_1538/PKR-111003.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1538/PO-2026-50767.jpg", "documents/CASE_1538/GRN-96926.pdf", "documents/CASE_1538/PKR-111003.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50767\", \"order_date\": \"08/20/2026\", \"expected_delivery\": \"08/30/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 22.5, \"line_total\": 337.5}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 1897.5, \"tax_rate\": 0.06, \"tax\": 113.85, \"freight\": 50.0, \"total\": 2061.35, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-96926\", \"po_number\": \"PO-2026-50767\", \"received_date\": \"30-Aug-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-645310\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-645310\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-111003\", \"po_number\": \"PO-2026-50767\", \"grn_ref\": \"GRN-96926\", \"invoice_date\": \"2026-09-04\", \"due_date\": \"2026-10-04\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 22.5, \"line_total\": 337.5}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 1897.5, \"tax_rate\": 0.06, \"tax\": 113.85, \"freight\": 50.0, \"total\": 2061.35, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50767 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1547", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50831", "grn_number": "GRN-97020", "invoice_number": "KWS-111119", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 2255.0, "po_tax": 186.04, "po_freight": 0.0, "po_total": 2441.04, "invoice_subtotal": 2255.0, "invoice_tax": 186.04, "invoice_freight": 0.0, "invoice_total": 2441.04, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1547/PO-2026-50831.png", "grn_file": "documents/CASE_1547/GRN-97020.docx", "invoice_file": "documents/CASE_1547/KWS-111119.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1547/PO-2026-50831.png", "documents/CASE_1547/GRN-97020.docx", "documents/CASE_1547/KWS-111119.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50831\", \"order_date\": \"11-Jul-2026\", \"expected_delivery\": \"21-Jul-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 210.0, \"line_total\": 1680.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 115.0, \"line_total\": 575.0}], \"subtotal\": 2255.0, \"tax_rate\": 0.0825, \"tax\": 186.04, \"freight\": 0.0, \"total\": 2441.04, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97020\", \"po_number\": \"PO-2026-50831\", \"received_date\": \"2026-07-21\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-413832\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-413832\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-111119\", \"po_number\": \"PO-2026-50831\", \"grn_ref\": \"GRN-97020\", \"invoice_date\": \"Jul 24, 2026\", \"due_date\": \"Aug 23, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 210.0, \"line_total\": 1680.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 115.0, \"line_total\": 575.0}], \"subtotal\": 2255.0, \"tax_rate\": 0.0825, \"tax\": 186.04, \"freight\": 0.0, \"total\": 2441.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50831 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1553", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-50874", "grn_number": "GRN-97088", "invoice_number": "TP-111190", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 10280.0, "po_tax": 616.8, "po_freight": 0.0, "po_total": 10896.8, "invoice_subtotal": 10280.0, "invoice_tax": 616.8, "invoice_freight": 0.0, "invoice_total": 10896.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1553/PO-2026-50874.png", "grn_file": "documents/CASE_1553/GRN-97088.docx", "invoice_file": "documents/CASE_1553/TP-111190.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1553/PO-2026-50874.png", "documents/CASE_1553/GRN-97088.docx", "documents/CASE_1553/TP-111190.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of LAB-2104 failed dock inspection and were rejected, but vendor billed full 8 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"LAB-2104\", \"po_qty\": 8, \"received_qty\": 8, \"accepted_qty\": 6, \"rejected_qty\": 2, \"invoiced_qty\": 8, \"variance_amount\": 270.0, \"note\": \"2 delivered units of LAB-2104 failed dock inspection and were rejected, but vendor billed full 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50874\", \"order_date\": \"Jul 29, 2026\", \"expected_delivery\": \"Aug 08, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 460.0, \"line_total\": 9200.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 135.0, \"line_total\": 1080.0}], \"subtotal\": 10280.0, \"tax_rate\": 0.06, \"tax\": 616.8, \"freight\": 0.0, \"total\": 10896.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97088\", \"po_number\": \"PO-2026-50874\", \"received_date\": \"08/10/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-856863\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 6, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of LAB-2104 water/crush damaged; refused & RMA requested! Accepted 6. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-856863\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-111190\", \"po_number\": \"PO-2026-50874\", \"grn_ref\": \"GRN-97088\", \"invoice_date\": \"14-Aug-2026\", \"due_date\": \"13-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 460.0, \"line_total\": 9200.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 135.0, \"line_total\": 1080.0}], \"subtotal\": 10280.0, \"tax_rate\": 0.06, \"tax\": 616.8, \"freight\": 0.0, \"total\": 10896.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50874 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1554", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-50883", "grn_number": "GRN-97097", "invoice_number": "TP-111209", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 3120.0, "po_tax": 257.4, "po_freight": 0.0, "po_total": 3377.4, "invoice_subtotal": 3120.0, "invoice_tax": 257.4, "invoice_freight": 7.73, "invoice_total": 3385.13, "total_variance": 7.73, "num_documents": 3, "po_file": "documents/CASE_1554/PO-2026-50883.docx", "grn_file": "documents/CASE_1554/GRN-97097.jpg", "invoice_file": "documents/CASE_1554/TP-111209.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1554/PO-2026-50883.docx", "documents/CASE_1554/GRN-97097.jpg", "documents/CASE_1554/TP-111209.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.73 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.73, \"variance_amount\": 7.73, \"note\": \"Prepaid & Add shipping fee of $7.73 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50883\", \"order_date\": \"08/15/2026\", \"expected_delivery\": \"08/25/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 460.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 3120.0, \"tax_rate\": 0.0825, \"tax\": 257.4, \"freight\": 0.0, \"total\": 3377.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97097\", \"po_number\": \"PO-2026-50883\", \"received_date\": \"23-Aug-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-279701\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-279701\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-111209\", \"po_number\": \"PO-2026-50883\", \"grn_ref\": \"GRN-97097\", \"invoice_date\": \"2026-08-25\", \"due_date\": \"2026-09-24\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 460.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 3120.0, \"tax_rate\": 0.0825, \"tax\": 257.4, \"freight\": 7.73, \"total\": 3385.13, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50883 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1559", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-50914", "grn_number": "GRN-97156", "invoice_number": "TP-111272", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 4540.0, "po_tax": 329.15, "po_freight": 0.0, "po_total": 4869.15, "invoice_subtotal": 4540.0, "invoice_tax": 329.15, "invoice_freight": 0.0, "invoice_total": 4869.15, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1559/PO-2026-50914.png", "grn_file": "documents/CASE_1559/GRN-97156.docx", "invoice_file": "documents/CASE_1559/TP-111272.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1559/PO-2026-50914.png", "documents/CASE_1559/GRN-97156.docx", "documents/CASE_1559/TP-111272.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50914\", \"order_date\": \"30-May-2026\", \"expected_delivery\": \"09-Jun-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 460.0, \"line_total\": 2300.0}], \"subtotal\": 4540.0, \"tax_rate\": 0.0725, \"tax\": 329.15, \"freight\": 0.0, \"total\": 4869.15, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97156\", \"po_number\": \"PO-2026-50914\", \"received_date\": \"2026-06-03\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-810230\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-810230\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-111272\", \"po_number\": \"PO-2026-50914\", \"grn_ref\": \"GRN-97156\", \"invoice_date\": \"Jun 06, 2026\", \"due_date\": \"Jul 06, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 460.0, \"line_total\": 2300.0}], \"subtotal\": 4540.0, \"tax_rate\": 0.0725, \"tax\": 329.15, \"freight\": 0.0, \"total\": 4869.15, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50914 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1561", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-50932", "grn_number": "GRN-97179", "invoice_number": "INV-APX-111297", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 7654.5, "po_tax": 554.95, "po_freight": 35.0, "po_total": 8244.45, "invoice_subtotal": 7654.5, "invoice_tax": 554.95, "invoice_freight": 35.0, "invoice_total": 8244.45, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1561/PO-2026-50932.pdf", "grn_file": "documents/CASE_1561/GRN-97179.docx", "invoice_file": "documents/CASE_1561/INV-APX-111297.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1561/PO-2026-50932.pdf", "documents/CASE_1561/GRN-97179.docx", "documents/CASE_1561/INV-APX-111297.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Apex Industrial Supply Co.' (Tax ID 36-8192031), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-50932\", \"invoice_po_ref\": \"PO-2026-50932\", \"po_vendor\": \"Apex Industrial Supply Co.\", \"invoice_vendor\": \"Kestrel Workspace & Ergonomics\", \"note\": \"Vendor entity mismatch: PO issued to 'Apex Industrial Supply Co.' (Tax ID 36-8192031), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50932\", \"order_date\": \"May 26, 2026\", \"expected_delivery\": \"Jun 05, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 295.0, \"line_total\": 4425.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}], \"subtotal\": 7654.5, \"tax_rate\": 0.0725, \"tax\": 554.95, \"freight\": 35.0, \"total\": 8244.45, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97179\", \"po_number\": \"PO-2026-50932\", \"received_date\": \"05/30/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-372814\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-372814\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-111297\", \"po_number\": \"PO-2026-50932\", \"grn_ref\": \"GRN-97179\", \"invoice_date\": \"02-Jun-2026\", \"due_date\": \"02-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 295.0, \"line_total\": 4425.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}], \"subtotal\": 7654.5, \"tax_rate\": 0.0725, \"tax\": 554.95, \"freight\": 35.0, \"total\": 8244.45, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50932 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1567", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-50971", "grn_number": "GRN-97242", "invoice_number": "NSI-111376", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 23474.0, "po_tax": 1936.61, "po_freight": 0.0, "po_total": 25410.61, "invoice_subtotal": 23474.0, "invoice_tax": 1936.61, "invoice_freight": 0.0, "invoice_total": 25410.61, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1567/PO-2026-50971.pdf", "grn_file": "documents/CASE_1567/GRN-97242.docx", "invoice_file": "documents/CASE_1567/NSI-111376.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1567/PO-2026-50971.pdf", "documents/CASE_1567/GRN-97242.docx", "documents/CASE_1567/NSI-111376.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IT-8840 failed dock inspection and were rejected, but vendor billed full 8 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"IT-8840\", \"po_qty\": 8, \"received_qty\": 8, \"accepted_qty\": 6, \"rejected_qty\": 2, \"invoiced_qty\": 8, \"variance_amount\": 116.0, \"note\": \"2 delivered units of IT-8840 failed dock inspection and were rejected, but vendor billed full 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-50971\", \"order_date\": \"27-May-2026\", \"expected_delivery\": \"06-Jun-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 215.0, \"line_total\": 6450.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}], \"subtotal\": 23474.0, \"tax_rate\": 0.0825, \"tax\": 1936.61, \"freight\": 0.0, \"total\": 25410.61, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97242\", \"po_number\": \"PO-2026-50971\", \"received_date\": \"2026-06-08\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-794151\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 6, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IT-8840 water/crush damaged; refused & RMA requested! Accepted 6. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-794151\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-111376\", \"po_number\": \"PO-2026-50971\", \"grn_ref\": \"GRN-97242\", \"invoice_date\": \"Jun 11, 2026\", \"due_date\": \"Jul 11, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 215.0, \"line_total\": 6450.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 690.0, \"line_total\": 16560.0}], \"subtotal\": 23474.0, \"tax_rate\": 0.0825, \"tax\": 1936.61, \"freight\": 0.0, \"total\": 25410.61, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-50971 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1571", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-51002", "grn_number": "GRN-97287", "invoice_number": "PKR-111432", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2049.0, "po_tax": 169.04, "po_freight": 0.0, "po_total": 2218.04, "invoice_subtotal": 2049.0, "invoice_tax": 169.04, "invoice_freight": 7.24, "invoice_total": 2225.28, "total_variance": 7.24, "num_documents": 3, "po_file": "documents/CASE_1571/PO-2026-51002.png", "grn_file": "documents/CASE_1571/GRN-97287.docx", "invoice_file": "documents/CASE_1571/PKR-111432.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1571/PO-2026-51002.png", "documents/CASE_1571/GRN-97287.docx", "documents/CASE_1571/PKR-111432.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.24 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.24, \"variance_amount\": 7.24, \"note\": \"Prepaid & Add shipping fee of $7.24 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51002\", \"order_date\": \"30-May-2026\", \"expected_delivery\": \"09-Jun-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 22.5, \"line_total\": 225.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 76.0, \"line_total\": 1824.0}], \"subtotal\": 2049.0, \"tax_rate\": 0.0825, \"tax\": 169.04, \"freight\": 0.0, \"total\": 2218.04, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97287\", \"po_number\": \"PO-2026-51002\", \"received_date\": \"2026-06-11\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-348842\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-348842\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-111432\", \"po_number\": \"PO-2026-51002\", \"grn_ref\": \"GRN-97287\", \"invoice_date\": \"Jun 14, 2026\", \"due_date\": \"Jul 14, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 22.5, \"line_total\": 225.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 76.0, \"line_total\": 1824.0}], \"subtotal\": 2049.0, \"tax_rate\": 0.0825, \"tax\": 169.04, \"freight\": 7.24, \"total\": 2225.28, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51002 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1577", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-51040", "grn_number": "GRN-97351", "invoice_number": "VEP-111506", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 12350.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 12350.0, "invoice_subtotal": 12795.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 12795.0, "total_variance": 445.0, "num_documents": 3, "po_file": "documents/CASE_1577/PO-2026-51040.png", "grn_file": "documents/CASE_1577/GRN-97351.docx", "invoice_file": "documents/CASE_1577/VEP-111506.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1577/PO-2026-51040.png", "documents/CASE_1577/GRN-97351.docx", "documents/CASE_1577/VEP-111506.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7218 ($445.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"ELC-7218\", \"invoiced_qty\": 5, \"invoice_unit_price\": 89.0, \"variance_amount\": 445.0, \"note\": \"Invoice includes line item ELC-7218 ($445.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51040\", \"order_date\": \"Jul 19, 2026\", \"expected_delivery\": \"Jul 29, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}], \"subtotal\": 12350.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 12350.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97351\", \"po_number\": \"PO-2026-51040\", \"received_date\": \"07/31/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-889566\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-889566\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-111506\", \"po_number\": \"PO-2026-51040\", \"grn_ref\": \"GRN-97351\", \"invoice_date\": \"31-Jul-2026\", \"due_date\": \"30-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}, {\"line_no\": 5, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 12795.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 12795.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51040 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1587", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-51110", "grn_number": "GRN-97466", "invoice_number": "PPS-111639", "duplicate_invoice_number": "PPS-901587", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 11776.0, "po_tax": 942.08, "po_freight": 95.0, "po_total": 12813.08, "invoice_subtotal": 11776.0, "invoice_tax": 942.08, "invoice_freight": 95.0, "invoice_total": 12813.08, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1587/PO-2026-51110.docx", "grn_file": "documents/CASE_1587/GRN-97466.pdf", "invoice_file": "documents/CASE_1587/PPS-111639.png", "duplicate_invoice_file": "documents/CASE_1587/PPS-901587.jpg", "file_paths": ["documents/CASE_1587/PO-2026-51110.docx", "documents/CASE_1587/GRN-97466.pdf", "documents/CASE_1587/PPS-111639.png", "documents/CASE_1587/PPS-901587.jpg"], "file_formats": ["docx", "pdf", "png", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PPS-111639' and 'PPS-901587' bill $12813.08 against single receipt 'GRN-97466' / PO 'PO-2026-51110'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PPS-111639\", \"duplicate_invoice_number\": \"PPS-901587\", \"duplicate_billed_amount\": 12813.08, \"variance_amount\": 12813.08, \"note\": \"Duplicate billing detected: both 'PPS-111639' and 'PPS-901587' bill $12813.08 against single receipt 'GRN-97466' / PO 'PO-2026-51110'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51110\", \"order_date\": \"25-Aug-2026\", \"expected_delivery\": \"04-Sep-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 89.0, \"line_total\": 2136.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 11776.0, \"tax_rate\": 0.08, \"tax\": 942.08, \"freight\": 95.0, \"total\": 12813.08, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97466\", \"po_number\": \"PO-2026-51110\", \"received_date\": \"2026-09-08\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-212194\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-212194\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-111639\", \"po_number\": \"PO-2026-51110\", \"grn_ref\": \"GRN-97466\", \"invoice_date\": \"Sep 12, 2026\", \"due_date\": \"Oct 12, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 89.0, \"line_total\": 2136.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 11776.0, \"tax_rate\": 0.08, \"tax\": 942.08, \"freight\": 95.0, \"total\": 12813.08, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51110 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PPS-901587\", \"po_number\": \"PO-2026-51110\", \"grn_ref\": \"GRN-97466\", \"invoice_date\": \"Sep 21, 2026\", \"due_date\": \"Oct 21, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 89.0, \"line_total\": 2136.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 11776.0, \"tax_rate\": 0.08, \"tax\": 942.08, \"freight\": 95.0, \"total\": 12813.08, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-212194. Please remit to lockbox.\"}}"} {"case_id": "CASE_1589", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-51125", "grn_number": "GRN-97480", "invoice_number": "VEP-111660", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 28460.0, "po_tax": 2276.8, "po_freight": 120.0, "po_total": 30856.8, "invoice_subtotal": 30418.88, "invoice_tax": 2433.51, "invoice_freight": 120.0, "invoice_total": 32972.39, "total_variance": 2115.59, "num_documents": 3, "po_file": "documents/CASE_1589/PO-2026-51125.png", "grn_file": "documents/CASE_1589/GRN-97480.docx", "invoice_file": "documents/CASE_1589/VEP-111660.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1589/PO-2026-51125.png", "documents/CASE_1589/GRN-97480.docx", "documents/CASE_1589/VEP-111660.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $621.62 exceeds contracted PO unit price $540.00 for ELC-7244.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"ELC-7244\", \"po_unit_price\": 540.0, \"invoice_unit_price\": 621.62, \"qty\": 24, \"variance_amount\": 1958.88, \"note\": \"Invoice unit price $621.62 exceeds contracted PO unit price $540.00 for ELC-7244.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51125\", \"order_date\": \"Jul 15, 2026\", \"expected_delivery\": \"Jul 25, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 28460.0, \"tax_rate\": 0.08, \"tax\": 2276.8, \"freight\": 120.0, \"total\": 30856.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97480\", \"po_number\": \"PO-2026-51125\", \"received_date\": \"07/27/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-965566\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-965566\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-111660\", \"po_number\": \"PO-2026-51125\", \"grn_ref\": \"GRN-97480\", \"invoice_date\": \"27-Jul-2026\", \"due_date\": \"11-Aug-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 621.62, \"line_total\": 14918.88}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 30418.88, \"tax_rate\": 0.08, \"tax\": 2433.51, \"freight\": 120.0, \"total\": 32972.39, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51125 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1592", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-51145", "grn_number": "GRN-97514", "invoice_number": "PPS-111702", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 16094.0, "po_tax": 1287.52, "po_freight": 0.0, "po_total": 17381.52, "invoice_subtotal": 17024.0, "invoice_tax": 1361.92, "invoice_freight": 0.0, "invoice_total": 18385.92, "total_variance": 1004.4, "num_documents": 3, "po_file": "documents/CASE_1592/PO-2026-51145.jpg", "grn_file": "documents/CASE_1592/GRN-97514.pdf", "invoice_file": "documents/CASE_1592/PPS-111702.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1592/PO-2026-51145.jpg", "documents/CASE_1592/GRN-97514.pdf", "documents/CASE_1592/PPS-111702.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7260\", \"po_qty\": 10, \"received_qty\": 13, \"invoiced_qty\": 13, \"over_qty\": 3, \"variance_amount\": 930.0, \"note\": \"Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51145\", \"order_date\": \"2026-04-03\", \"expected_delivery\": \"2026-04-13\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}], \"subtotal\": 16094.0, \"tax_rate\": 0.08, \"tax\": 1287.52, \"freight\": 0.0, \"total\": 17381.52, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97514\", \"po_number\": \"PO-2026-51145\", \"received_date\": \"Apr 11, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-243552\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 13, \"qty_accepted\": 13, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 SPOOL over PO)\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 13 (3 extra over PO) on ELC-7260. Held in quarantine. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-243552\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-111702\", \"po_number\": \"PO-2026-51145\", \"grn_ref\": \"GRN-97514\", \"invoice_date\": \"04/17/2026\", \"due_date\": \"05/17/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 13, \"unit_price\": 310.0, \"line_total\": 4030.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}], \"subtotal\": 17024.0, \"tax_rate\": 0.08, \"tax\": 1361.92, \"freight\": 0.0, \"total\": 18385.92, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51145 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1605", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-51239", "grn_number": "GRN-97656", "invoice_number": "PPS-111868", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 10190.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 10190.0, "invoice_subtotal": 10190.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 10190.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1605/PO-2026-51239.docx", "grn_file": "documents/CASE_1605/GRN-97656.pdf", "invoice_file": "documents/CASE_1605/PPS-111868.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1605/PO-2026-51239.docx", "documents/CASE_1605/GRN-97656.pdf", "documents/CASE_1605/PPS-111868.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 10 units for ELC-7218, but warehouse only received 7 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_qty\": 10, \"received_qty\": 7, \"invoiced_qty\": 10, \"overbilled_qty\": 3, \"variance_amount\": 267.0, \"note\": \"Vendor billed 10 units for ELC-7218, but warehouse only received 7 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51239\", \"order_date\": \"Jun 09, 2026\", \"expected_delivery\": \"Jun 19, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 10190.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 10190.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97656\", \"po_number\": \"PO-2026-51239\", \"received_date\": \"06/15/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-243444\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 7, \"qty_accepted\": 7, \"qty_rejected\": 0, \"condition\": \"Short 3 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 7 of 10 on ELC-7218 (short 3 EA). - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-243444\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-111868\", \"po_number\": \"PO-2026-51239\", \"grn_ref\": \"GRN-97656\", \"invoice_date\": \"20-Jun-2026\", \"due_date\": \"20-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 10190.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 10190.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51239 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1609", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-51264", "grn_number": "GRN-97701", "invoice_number": "VEP-111919", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 13972.0, "po_tax": 1152.69, "po_freight": 0.0, "po_total": 15124.69, "invoice_subtotal": 13972.0, "invoice_tax": 1152.69, "invoice_freight": 0.0, "invoice_total": 15214.69, "total_variance": 90.0, "num_documents": 3, "po_file": "documents/CASE_1609/PO-2026-51264.pdf", "grn_file": "documents/CASE_1609/GRN-97701.docx", "invoice_file": "documents/CASE_1609/VEP-111919.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1609/PO-2026-51264.pdf", "documents/CASE_1609/GRN-97701.docx", "documents/CASE_1609/VEP-111919.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($13972.00) + Tax ($1152.69) + Freight ($0.00) = $15124.69, but Invoice Total Due states $15214.69.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 15124.69, \"invoice_stated_total\": 15214.69, \"variance_amount\": 90.0, \"note\": \"Invoice total summation error: Subtotal ($13972.00) + Tax ($1152.69) + Freight ($0.00) = $15124.69, but Invoice Total Due states $15214.69.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51264\", \"order_date\": \"May 29, 2026\", \"expected_delivery\": \"Jun 08, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}], \"subtotal\": 13972.0, \"tax_rate\": 0.0825, \"tax\": 1152.69, \"freight\": 0.0, \"total\": 15124.69, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97701\", \"po_number\": \"PO-2026-51264\", \"received_date\": \"06/11/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-449651\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-449651\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-111919\", \"po_number\": \"PO-2026-51264\", \"grn_ref\": \"GRN-97701\", \"invoice_date\": \"12-Jun-2026\", \"due_date\": \"27-Jul-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}], \"subtotal\": 13972.0, \"tax_rate\": 0.0825, \"tax\": 1152.69, \"freight\": 0.0, \"total\": 15214.69, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51264 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1625", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-51380", "grn_number": "GRN-97880", "invoice_number": "KWS-112130", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 17625.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 17625.0, "invoice_subtotal": 17625.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 17625.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1625/PO-2026-51380.png", "grn_file": "documents/CASE_1625/GRN-97880.docx", "invoice_file": "documents/CASE_1625/KWS-112130.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1625/PO-2026-51380.png", "documents/CASE_1625/GRN-97880.docx", "documents/CASE_1625/KWS-112130.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023), but Invoice billed by 'Apex Industrial Supply Co.' (Tax ID 36-8192031).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-51380\", \"invoice_po_ref\": \"PO-2026-51380\", \"po_vendor\": \"Kestrel Workspace & Ergonomics\", \"invoice_vendor\": \"Apex Industrial Supply Co.\", \"note\": \"Vendor entity mismatch: PO issued to 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023), but Invoice billed by 'Apex Industrial Supply Co.' (Tax ID 36-8192031).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51380\", \"order_date\": \"Aug 15, 2026\", \"expected_delivery\": \"Aug 25, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 210.0, \"line_total\": 6300.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}], \"subtotal\": 17625.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 17625.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97880\", \"po_number\": \"PO-2026-51380\", \"received_date\": \"08/24/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-506661\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-506661\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-112130\", \"po_number\": \"PO-2026-51380\", \"grn_ref\": \"GRN-97880\", \"invoice_date\": \"27-Aug-2026\", \"due_date\": \"26-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 210.0, \"line_total\": 6300.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}], \"subtotal\": 17625.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 17625.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51380 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1628", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-51398", "grn_number": "GRN-97911", "invoice_number": "PPS-112167", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 8742.5, "po_tax": 633.83, "po_freight": 35.0, "po_total": 9411.33, "invoice_subtotal": 11322.5, "invoice_tax": 820.88, "invoice_freight": 35.0, "invoice_total": 12178.38, "total_variance": 2767.05, "num_documents": 3, "po_file": "documents/CASE_1628/PO-2026-51398.jpg", "grn_file": "documents/CASE_1628/GRN-97911.pdf", "invoice_file": "documents/CASE_1628/PPS-112167.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1628/PO-2026-51398.jpg", "documents/CASE_1628/GRN-97911.pdf", "documents/CASE_1628/PPS-112167.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 65 units vs 50 ordered (+15 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"ELC-7201\", \"po_qty\": 50, \"received_qty\": 65, \"invoiced_qty\": 65, \"over_qty\": 15, \"variance_amount\": 2580.0, \"note\": \"Shipped and billed 65 units vs 50 ordered (+15 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51398\", \"order_date\": \"2026-06-10\", \"expected_delivery\": \"2026-06-20\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}], \"subtotal\": 8742.5, \"tax_rate\": 0.0725, \"tax\": 633.83, \"freight\": 35.0, \"total\": 9411.33, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-97911\", \"po_number\": \"PO-2026-51398\", \"received_date\": \"Jun 22, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-443136\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 65, \"qty_accepted\": 65, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+15 EA over PO)\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 65 (15 extra over PO) on ELC-7201. Held in quarantine. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-443136\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-112167\", \"po_number\": \"PO-2026-51398\", \"grn_ref\": \"GRN-97911\", \"invoice_date\": \"06/28/2026\", \"due_date\": \"07/28/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 65, \"unit_price\": 172.0, \"line_total\": 11180.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 28.5, \"line_total\": 142.5}], \"subtotal\": 11322.5, \"tax_rate\": 0.0725, \"tax\": 820.88, \"freight\": 35.0, \"total\": 12178.38, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51398 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1637", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-51461", "grn_number": "GRN-98009", "invoice_number": "SSP-112289", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 4011.0, "po_tax": 240.66, "po_freight": 0.0, "po_total": 4251.66, "invoice_subtotal": 4011.0, "invoice_tax": 240.66, "invoice_freight": 0.0, "invoice_total": 4431.66, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_1637/PO-2026-51461.png", "grn_file": "documents/CASE_1637/GRN-98009.docx", "invoice_file": "documents/CASE_1637/SSP-112289.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1637/PO-2026-51461.png", "documents/CASE_1637/GRN-98009.docx", "documents/CASE_1637/SSP-112289.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($4011.00) + Tax ($240.66) + Freight ($0.00) = $4251.66, but Invoice Total Due states $4431.66.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 4251.66, \"invoice_stated_total\": 4431.66, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($4011.00) + Tax ($240.66) + Freight ($0.00) = $4251.66, but Invoice Total Due states $4431.66.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51461\", \"order_date\": \"Jan 15, 2026\", \"expected_delivery\": \"Jan 25, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}], \"subtotal\": 4011.0, \"tax_rate\": 0.06, \"tax\": 240.66, \"freight\": 0.0, \"total\": 4251.66, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98009\", \"po_number\": \"PO-2026-51461\", \"received_date\": \"01/20/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-253155\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-253155\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-112289\", \"po_number\": \"PO-2026-51461\", \"grn_ref\": \"GRN-98009\", \"invoice_date\": \"25-Jan-2026\", \"due_date\": \"11-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}], \"subtotal\": 4011.0, \"tax_rate\": 0.06, \"tax\": 240.66, \"freight\": 0.0, \"total\": 4431.66, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51461 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1644", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-51509", "grn_number": "GRN-98086", "invoice_number": "SSP-112373", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 11375.0, "po_tax": 682.5, "po_freight": 0.0, "po_total": 12057.5, "invoice_subtotal": 11375.0, "invoice_tax": 682.5, "invoice_freight": 0.0, "invoice_total": 12057.5, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1644/PO-2026-51509.docx", "grn_file": "documents/CASE_1644/GRN-98086.jpg", "invoice_file": "documents/CASE_1644/SSP-112373.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1644/PO-2026-51509.docx", "documents/CASE_1644/GRN-98086.jpg", "documents/CASE_1644/SSP-112373.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 50 units for IND-4418, but warehouse only received 41 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"IND-4418\", \"po_qty\": 50, \"received_qty\": 41, \"invoiced_qty\": 50, \"overbilled_qty\": 9, \"variance_amount\": 382.5, \"note\": \"Vendor billed 50 units for IND-4418, but warehouse only received 41 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51509\", \"order_date\": \"2026-04-15\", \"expected_delivery\": \"2026-04-25\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 50, \"unit_price\": 42.5, \"line_total\": 2125.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 11375.0, \"tax_rate\": 0.06, \"tax\": 682.5, \"freight\": 0.0, \"total\": 12057.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98086\", \"po_number\": \"PO-2026-51509\", \"received_date\": \"Apr 19, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-814271\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 50, \"qty_received\": 41, \"qty_accepted\": 41, \"qty_rejected\": 0, \"condition\": \"Short 9 BOX (Backordered)\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 41 of 50 on IND-4418 (short 9 BOX). - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-814271\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-112373\", \"po_number\": \"PO-2026-51509\", \"grn_ref\": \"GRN-98086\", \"invoice_date\": \"04/22/2026\", \"due_date\": \"05/07/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 50, \"unit_price\": 42.5, \"line_total\": 2125.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 11375.0, \"tax_rate\": 0.06, \"tax\": 682.5, \"freight\": 0.0, \"total\": 12057.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51509 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1645", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-51516", "grn_number": "GRN-98101", "invoice_number": "NSI-112387", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 25730.0, "po_tax": 1865.43, "po_freight": 0.0, "po_total": 27595.43, "invoice_subtotal": 25730.0, "invoice_tax": 1865.43, "invoice_freight": 6.08, "invoice_total": 27601.51, "total_variance": 6.08, "num_documents": 3, "po_file": "documents/CASE_1645/PO-2026-51516.pdf", "grn_file": "documents/CASE_1645/GRN-98101.docx", "invoice_file": "documents/CASE_1645/NSI-112387.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1645/PO-2026-51516.pdf", "documents/CASE_1645/GRN-98101.docx", "documents/CASE_1645/NSI-112387.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $6.08 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 6.08, \"variance_amount\": 6.08, \"note\": \"Prepaid & Add shipping fee of $6.08 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51516\", \"order_date\": \"Sep 24, 2026\", \"expected_delivery\": \"Oct 04, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}], \"subtotal\": 25730.0, \"tax_rate\": 0.0725, \"tax\": 1865.43, \"freight\": 0.0, \"total\": 27595.43, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98101\", \"po_number\": \"PO-2026-51516\", \"received_date\": \"10/06/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-768803\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-768803\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-112387\", \"po_number\": \"PO-2026-51516\", \"grn_ref\": \"GRN-98101\", \"invoice_date\": \"07-Oct-2026\", \"due_date\": \"06-Nov-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}], \"subtotal\": 25730.0, \"tax_rate\": 0.0725, \"tax\": 1865.43, \"freight\": 6.08, \"total\": 27601.51, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51516 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1646", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-51525", "grn_number": "GRN-98114", "invoice_number": "VEP-112407", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 5677.5, "po_tax": 340.65, "po_freight": 50.0, "po_total": 6068.15, "invoice_subtotal": 8917.5, "invoice_tax": 535.05, "invoice_freight": 50.0, "invoice_total": 9502.55, "total_variance": 3434.4, "num_documents": 3, "po_file": "documents/CASE_1646/PO-2026-51525.jpg", "grn_file": "documents/CASE_1646/GRN-98114.pdf", "invoice_file": "documents/CASE_1646/VEP-112407.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1646/PO-2026-51525.jpg", "documents/CASE_1646/GRN-98114.pdf", "documents/CASE_1646/VEP-112407.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7244 ($3240.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"ELC-7244\", \"invoiced_qty\": 6, \"invoice_unit_price\": 540.0, \"variance_amount\": 3240.0, \"note\": \"Invoice includes line item ELC-7244 ($3240.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51525\", \"order_date\": \"05/19/2026\", \"expected_delivery\": \"05/29/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}], \"subtotal\": 5677.5, \"tax_rate\": 0.06, \"tax\": 340.65, \"freight\": 50.0, \"total\": 6068.15, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98114\", \"po_number\": \"PO-2026-51525\", \"received_date\": \"31-May-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-659515\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-659515\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-112407\", \"po_number\": \"PO-2026-51525\", \"grn_ref\": \"GRN-98114\", \"invoice_date\": \"2026-06-06\", \"due_date\": \"2026-07-06\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 6, \"unit_price\": 540.0, \"line_total\": 3240.0}], \"subtotal\": 8917.5, \"tax_rate\": 0.06, \"tax\": 535.05, \"freight\": 50.0, \"total\": 9502.55, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51525 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1649", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-51547", "grn_number": "GRN-98146", "invoice_number": "VEP-112438", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 27855.0, "po_tax": 2019.49, "po_freight": 120.0, "po_total": 29994.49, "invoice_subtotal": 27855.0, "invoice_tax": 2019.49, "invoice_freight": 120.0, "invoice_total": 29994.49, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1649/PO-2026-51547.png", "grn_file": "documents/CASE_1649/GRN-98146.docx", "invoice_file": "documents/CASE_1649/VEP-112438.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1649/PO-2026-51547.png", "documents/CASE_1649/GRN-98146.docx", "documents/CASE_1649/VEP-112438.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'VoltEdge Power & Automation Ltd.' (Tax ID 76-2104982), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-51547\", \"invoice_po_ref\": \"PO-2026-51547\", \"po_vendor\": \"VoltEdge Power & Automation Ltd.\", \"invoice_vendor\": \"Kestrel Workspace & Ergonomics\", \"note\": \"Vendor entity mismatch: PO issued to 'VoltEdge Power & Automation Ltd.' (Tax ID 76-2104982), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51547\", \"order_date\": \"Jun 09, 2026\", \"expected_delivery\": \"Jun 19, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 27855.0, \"tax_rate\": 0.0725, \"tax\": 2019.49, \"freight\": 120.0, \"total\": 29994.49, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98146\", \"po_number\": \"PO-2026-51547\", \"received_date\": \"06/23/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-640228\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-640228\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-112438\", \"po_number\": \"PO-2026-51547\", \"grn_ref\": \"GRN-98146\", \"invoice_date\": \"24-Jun-2026\", \"due_date\": \"09-Jul-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 27855.0, \"tax_rate\": 0.0725, \"tax\": 2019.49, \"freight\": 120.0, \"total\": 29994.49, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51547 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1650", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-51552", "grn_number": "GRN-98151", "invoice_number": "INV-APX-112455", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 3040.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 3115.0, "invoice_subtotal": 3133.6, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 3208.6, "total_variance": 93.6, "num_documents": 3, "po_file": "documents/CASE_1650/PO-2026-51552.docx", "grn_file": "documents/CASE_1650/GRN-98151.jpg", "invoice_file": "documents/CASE_1650/INV-APX-112455.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1650/PO-2026-51552.docx", "documents/CASE_1650/GRN-98151.jpg", "documents/CASE_1650/INV-APX-112455.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $38.68 exceeds contracted PO unit price $34.00 for IND-4479.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"IND-4479\", \"po_unit_price\": 34.0, \"invoice_unit_price\": 38.68, \"qty\": 20, \"variance_amount\": 93.6, \"note\": \"Invoice unit price $38.68 exceeds contracted PO unit price $34.00 for IND-4479.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51552\", \"order_date\": \"01/20/2026\", \"expected_delivery\": \"01/30/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}], \"subtotal\": 3040.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 3115.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98151\", \"po_number\": \"PO-2026-51552\", \"received_date\": \"24-Jan-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-168419\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-168419\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-112455\", \"po_number\": \"PO-2026-51552\", \"grn_ref\": \"GRN-98151\", \"invoice_date\": \"2026-01-29\", \"due_date\": \"2026-02-28\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 38.68, \"line_total\": 773.6}], \"subtotal\": 3133.6, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 3208.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51552 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1651", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-51562", "grn_number": "GRN-98170", "invoice_number": "KWS-112469", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 20940.0, "po_tax": 1256.4, "po_freight": 0.0, "po_total": 22196.4, "invoice_subtotal": 20940.0, "invoice_tax": 1256.4, "invoice_freight": 0.0, "invoice_total": 22196.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1651/PO-2026-51562.pdf", "grn_file": "documents/CASE_1651/GRN-98170.docx", "invoice_file": "documents/CASE_1651/KWS-112469.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1651/PO-2026-51562.pdf", "documents/CASE_1651/GRN-98170.docx", "documents/CASE_1651/KWS-112469.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 24 units for FRN-6159, but warehouse only received 19 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"FRN-6159\", \"po_qty\": 24, \"received_qty\": 19, \"invoiced_qty\": 24, \"overbilled_qty\": 5, \"variance_amount\": 575.0, \"note\": \"Vendor billed 24 units for FRN-6159, but warehouse only received 19 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51562\", \"order_date\": \"07-Sep-2026\", \"expected_delivery\": \"17-Sep-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 115.0, \"line_total\": 2760.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}], \"subtotal\": 20940.0, \"tax_rate\": 0.06, \"tax\": 1256.4, \"freight\": 0.0, \"total\": 22196.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98170\", \"po_number\": \"PO-2026-51562\", \"received_date\": \"2026-09-21\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-342764\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 19, \"qty_accepted\": 19, \"qty_rejected\": 0, \"condition\": \"Short 5 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 19 of 24 on FRN-6159 (short 5 EA). - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-342764\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-112469\", \"po_number\": \"PO-2026-51562\", \"grn_ref\": \"GRN-98170\", \"invoice_date\": \"Sep 21, 2026\", \"due_date\": \"Oct 21, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 115.0, \"line_total\": 2760.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 210.0, \"line_total\": 10500.0}], \"subtotal\": 20940.0, \"tax_rate\": 0.06, \"tax\": 1256.4, \"freight\": 0.0, \"total\": 22196.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51562 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1659", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-51614", "grn_number": "GRN-98253", "invoice_number": "NSI-112570", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 16310.0, "po_tax": 978.6, "po_freight": 0.0, "po_total": 17288.6, "invoice_subtotal": 16310.0, "invoice_tax": 978.6, "invoice_freight": 0.0, "invoice_total": 17288.6, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1659/PO-2026-51614.docx", "grn_file": "documents/CASE_1659/GRN-98253.pdf", "invoice_file": "documents/CASE_1659/NSI-112570.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1659/PO-2026-51614.docx", "documents/CASE_1659/GRN-98253.pdf", "documents/CASE_1659/NSI-112570.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'NorthStar Enterprise IT Solutions' (Tax ID 54-3019284), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-51614\", \"invoice_po_ref\": \"PO-2026-51614\", \"po_vendor\": \"NorthStar Enterprise IT Solutions\", \"invoice_vendor\": \"Kestrel Workspace & Ergonomics\", \"note\": \"Vendor entity mismatch: PO issued to 'NorthStar Enterprise IT Solutions' (Tax ID 54-3019284), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51614\", \"order_date\": \"09-Mar-2026\", \"expected_delivery\": \"19-Mar-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 1180.0, \"line_total\": 14160.0}], \"subtotal\": 16310.0, \"tax_rate\": 0.06, \"tax\": 978.6, \"freight\": 0.0, \"total\": 17288.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98253\", \"po_number\": \"PO-2026-51614\", \"received_date\": \"2026-03-20\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-832330\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-832330\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-112570\", \"po_number\": \"PO-2026-51614\", \"grn_ref\": \"GRN-98253\", \"invoice_date\": \"Mar 23, 2026\", \"due_date\": \"Apr 07, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 1180.0, \"line_total\": 14160.0}], \"subtotal\": 16310.0, \"tax_rate\": 0.06, \"tax\": 978.6, \"freight\": 0.0, \"total\": 17288.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51614 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1662", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-51638", "grn_number": "", "invoice_number": "NSI-112610", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 53760.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 53760.0, "invoice_subtotal": 53760.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 53760.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1662/PO-2026-51638.docx", "grn_file": "", "invoice_file": "documents/CASE_1662/NSI-112610.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1662/PO-2026-51638.docx", "documents/CASE_1662/NSI-112610.pdf"], "file_formats": ["docx", "pdf"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-51638\", \"invoice_number\": \"NSI-112610\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51638\", \"order_date\": \"01/29/2026\", \"expected_delivery\": \"02/08/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}], \"subtotal\": 53760.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 53760.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-112610\", \"po_number\": \"PO-2026-51638\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"2026-02-08\", \"due_date\": \"2026-02-23\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 690.0, \"line_total\": 6900.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}], \"subtotal\": 53760.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 53760.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51638 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1672", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-51705", "grn_number": "GRN-98395", "invoice_number": "KWS-112744", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 24585.0, "po_tax": 1782.41, "po_freight": 50.0, "po_total": 26417.41, "invoice_subtotal": 26977.32, "invoice_tax": 1955.86, "invoice_freight": 50.0, "invoice_total": 28983.18, "total_variance": 2565.77, "num_documents": 3, "po_file": "documents/CASE_1672/PO-2026-51705.pdf", "grn_file": "documents/CASE_1672/GRN-98395.jpg", "invoice_file": "documents/CASE_1672/KWS-112744.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1672/PO-2026-51705.pdf", "documents/CASE_1672/GRN-98395.jpg", "documents/CASE_1672/KWS-112744.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $739.68 exceeds contracted PO unit price $640.00 for FRN-6102.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"FRN-6102\", \"po_unit_price\": 640.0, \"invoice_unit_price\": 739.68, \"qty\": 24, \"variance_amount\": 2392.32, \"note\": \"Invoice unit price $739.68 exceeds contracted PO unit price $640.00 for FRN-6102.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51705\", \"order_date\": \"2026-09-04\", \"expected_delivery\": \"2026-09-14\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 640.0, \"line_total\": 15360.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 115.0, \"line_total\": 3450.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 385.0, \"line_total\": 5775.0}], \"subtotal\": 24585.0, \"tax_rate\": 0.0725, \"tax\": 1782.41, \"freight\": 50.0, \"total\": 26417.41, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98395\", \"po_number\": \"PO-2026-51705\", \"received_date\": \"Sep 08, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-369727\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-369727\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-112744\", \"po_number\": \"PO-2026-51705\", \"grn_ref\": \"GRN-98395\", \"invoice_date\": \"09/14/2026\", \"due_date\": \"09/29/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 739.68, \"line_total\": 17752.32}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 115.0, \"line_total\": 3450.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 385.0, \"line_total\": 5775.0}], \"subtotal\": 26977.32, \"tax_rate\": 0.0725, \"tax\": 1955.86, \"freight\": 50.0, \"total\": 28983.18, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51705 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1675", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-51730", "grn_number": "GRN-98431", "invoice_number": "PPS-112777", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 12808.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 12808.0, "invoice_subtotal": 12808.0, "invoice_tax": 0.0, "invoice_freight": 5.78, "invoice_total": 12813.78, "total_variance": 5.78, "num_documents": 3, "po_file": "documents/CASE_1675/PO-2026-51730.pdf", "grn_file": "documents/CASE_1675/GRN-98431.docx", "invoice_file": "documents/CASE_1675/PPS-112777.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1675/PO-2026-51730.pdf", "documents/CASE_1675/GRN-98431.docx", "documents/CASE_1675/PPS-112777.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $5.78 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 5.78, \"variance_amount\": 5.78, \"note\": \"Prepaid & Add shipping fee of $5.78 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51730\", \"order_date\": \"25-Jul-2026\", \"expected_delivery\": \"04-Aug-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 12808.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 12808.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98431\", \"po_number\": \"PO-2026-51730\", \"received_date\": \"2026-08-06\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-260145\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-260145\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-112777\", \"po_number\": \"PO-2026-51730\", \"grn_ref\": \"GRN-98431\", \"invoice_date\": \"Aug 08, 2026\", \"due_date\": \"Sep 07, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 28.5, \"line_total\": 228.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}], \"subtotal\": 12808.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 5.78, \"total\": 12813.78, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51730 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1679", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-51756", "grn_number": "GRN-98474", "invoice_number": "PKR-112833", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 1288.0, "po_tax": 103.04, "po_freight": 95.0, "po_total": 1486.04, "invoice_subtotal": 1288.0, "invoice_tax": 103.04, "invoice_freight": 95.0, "invoice_total": 1486.04, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1679/PO-2026-51756.png", "grn_file": "documents/CASE_1679/GRN-98474.docx", "invoice_file": "documents/CASE_1679/PKR-112833.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1679/PO-2026-51756.png", "documents/CASE_1679/GRN-98474.docx", "documents/CASE_1679/PKR-112833.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 12 units for PKG-3042, but warehouse only received 9 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"PKG-3042\", \"po_qty\": 12, \"received_qty\": 9, \"invoiced_qty\": 12, \"overbilled_qty\": 3, \"variance_amount\": 192.0, \"note\": \"Vendor billed 12 units for PKG-3042, but warehouse only received 9 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51756\", \"order_date\": \"22-Feb-2026\", \"expected_delivery\": \"04-Mar-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 768.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}], \"subtotal\": 1288.0, \"tax_rate\": 0.08, \"tax\": 103.04, \"freight\": 95.0, \"total\": 1486.04, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98474\", \"po_number\": \"PO-2026-51756\", \"received_date\": \"2026-02-26\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-540325\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 9, \"qty_accepted\": 9, \"qty_rejected\": 0, \"condition\": \"Short 3 CS (Backordered)\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 9 of 12 on PKG-3042 (short 3 CS). - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-540325\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-112833\", \"po_number\": \"PO-2026-51756\", \"grn_ref\": \"GRN-98474\", \"invoice_date\": \"Feb 27, 2026\", \"due_date\": \"Apr 13, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 768.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}], \"subtotal\": 1288.0, \"tax_rate\": 0.08, \"tax\": 103.04, \"freight\": 95.0, \"total\": 1486.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51756 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1684", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-51790", "grn_number": "GRN-98533", "invoice_number": "INV-APX-112901", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 2888.0, "po_tax": 231.04, "po_freight": 0.0, "po_total": 3119.04, "invoice_subtotal": 2888.0, "invoice_tax": 231.04, "invoice_freight": 315.0, "invoice_total": 3434.04, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_1684/PO-2026-51790.pdf", "grn_file": "documents/CASE_1684/GRN-98533.jpg", "invoice_file": "documents/CASE_1684/INV-APX-112901.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1684/PO-2026-51790.pdf", "documents/CASE_1684/GRN-98533.jpg", "documents/CASE_1684/INV-APX-112901.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51790\", \"order_date\": \"2026-02-14\", \"expected_delivery\": \"2026-02-24\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}], \"subtotal\": 2888.0, \"tax_rate\": 0.08, \"tax\": 231.04, \"freight\": 0.0, \"total\": 3119.04, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98533\", \"po_number\": \"PO-2026-51790\", \"received_date\": \"Feb 20, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-861709\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-861709\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-112901\", \"po_number\": \"PO-2026-51790\", \"grn_ref\": \"GRN-98533\", \"invoice_date\": \"02/25/2026\", \"due_date\": \"03/12/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}], \"subtotal\": 2888.0, \"tax_rate\": 0.08, \"tax\": 231.04, \"freight\": 315.0, \"total\": 3434.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51790 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1687", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-51814", "grn_number": "", "invoice_number": "NSI-112933", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 20430.0, "po_tax": 1481.18, "po_freight": 0.0, "po_total": 21911.18, "invoice_subtotal": 20430.0, "invoice_tax": 1481.18, "invoice_freight": 0.0, "invoice_total": 21911.18, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1687/PO-2026-51814.pdf", "grn_file": "", "invoice_file": "documents/CASE_1687/NSI-112933.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1687/PO-2026-51814.pdf", "documents/CASE_1687/NSI-112933.png"], "file_formats": ["pdf", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-51814\", \"invoice_number\": \"NSI-112933\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51814\", \"order_date\": \"19-Aug-2026\", \"expected_delivery\": \"29-Aug-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 215.0, \"line_total\": 10750.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 520.0, \"line_total\": 4160.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}], \"subtotal\": 20430.0, \"tax_rate\": 0.0725, \"tax\": 1481.18, \"freight\": 0.0, \"total\": 21911.18, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-112933\", \"po_number\": \"PO-2026-51814\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"Sep 01, 2026\", \"due_date\": \"Oct 16, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 215.0, \"line_total\": 10750.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 520.0, \"line_total\": 4160.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}], \"subtotal\": 20430.0, \"tax_rate\": 0.0725, \"tax\": 1481.18, \"freight\": 0.0, \"total\": 21911.18, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51814 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1689", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-51828", "grn_number": "GRN-98582", "invoice_number": "VEP-112965", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 10680.0, "po_tax": 881.1, "po_freight": 0.0, "po_total": 11561.1, "invoice_subtotal": 10680.0, "invoice_tax": 881.1, "invoice_freight": 0.0, "invoice_total": 11561.1, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1689/PO-2026-51828.docx", "grn_file": "documents/CASE_1689/GRN-98582.pdf", "invoice_file": "documents/CASE_1689/VEP-112965.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1689/PO-2026-51828.docx", "documents/CASE_1689/GRN-98582.pdf", "documents/CASE_1689/VEP-112965.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51828\", \"order_date\": \"Jun 14, 2026\", \"expected_delivery\": \"Jun 24, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}], \"subtotal\": 10680.0, \"tax_rate\": 0.0825, \"tax\": 881.1, \"freight\": 0.0, \"total\": 11561.1, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98582\", \"po_number\": \"PO-2026-51828\", \"received_date\": \"06/22/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-789455\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-789455\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-112965\", \"po_number\": \"PO-2026-51828\", \"grn_ref\": \"GRN-98582\", \"invoice_date\": \"25-Jun-2026\", \"due_date\": \"10-Jul-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}], \"subtotal\": 10680.0, \"tax_rate\": 0.0825, \"tax\": 881.1, \"freight\": 0.0, \"total\": 11561.1, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51828 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1696", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-51876", "grn_number": "GRN-98662", "invoice_number": "PPS-113052", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 43925.0, "po_tax": 3514.0, "po_freight": 0.0, "po_total": 47439.0, "invoice_subtotal": 43925.0, "invoice_tax": 3514.0, "invoice_freight": 0.0, "invoice_total": 47439.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1696/PO-2026-51876.pdf", "grn_file": "documents/CASE_1696/GRN-98662.jpg", "invoice_file": "documents/CASE_1696/PPS-113052.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1696/PO-2026-51876.pdf", "documents/CASE_1696/GRN-98662.jpg", "documents/CASE_1696/PPS-113052.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51876\", \"order_date\": \"2026-03-17\", \"expected_delivery\": \"2026-03-27\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}], \"subtotal\": 43925.0, \"tax_rate\": 0.08, \"tax\": 3514.0, \"freight\": 0.0, \"total\": 47439.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98662\", \"po_number\": \"PO-2026-51876\", \"received_date\": \"Mar 24, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-680166\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-680166\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-113052\", \"po_number\": \"PO-2026-51876\", \"grn_ref\": \"GRN-98662\", \"invoice_date\": \"03/29/2026\", \"due_date\": \"04/28/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}], \"subtotal\": 43925.0, \"tax_rate\": 0.08, \"tax\": 3514.0, \"freight\": 0.0, \"total\": 47439.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51876 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1709", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-51964", "grn_number": "GRN-98808", "invoice_number": "PKR-113222", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2129.0, "po_tax": 154.35, "po_freight": 0.0, "po_total": 2283.35, "invoice_subtotal": 2129.0, "invoice_tax": 154.35, "invoice_freight": 0.0, "invoice_total": 2533.35, "total_variance": 250.0, "num_documents": 3, "po_file": "documents/CASE_1709/PO-2026-51964.png", "grn_file": "documents/CASE_1709/GRN-98808.docx", "invoice_file": "documents/CASE_1709/PKR-113222.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1709/PO-2026-51964.png", "documents/CASE_1709/GRN-98808.docx", "documents/CASE_1709/PKR-113222.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($2129.00) + Tax ($154.35) + Freight ($0.00) = $2283.35, but Invoice Total Due states $2533.35.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 2283.35, \"invoice_stated_total\": 2533.35, \"variance_amount\": 250.0, \"note\": \"Invoice total summation error: Subtotal ($2129.00) + Tax ($154.35) + Freight ($0.00) = $2283.35, but Invoice Total Due states $2533.35.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-51964\", \"order_date\": \"May 30, 2026\", \"expected_delivery\": \"Jun 09, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 12, \"unit_price\": 52.0, \"line_total\": 624.0}], \"subtotal\": 2129.0, \"tax_rate\": 0.0725, \"tax\": 154.35, \"freight\": 0.0, \"total\": 2283.35, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98808\", \"po_number\": \"PO-2026-51964\", \"received_date\": \"06/11/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-719846\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-719846\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-113222\", \"po_number\": \"PO-2026-51964\", \"grn_ref\": \"GRN-98808\", \"invoice_date\": \"12-Jun-2026\", \"due_date\": \"27-Jun-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 12, \"unit_price\": 52.0, \"line_total\": 624.0}], \"subtotal\": 2129.0, \"tax_rate\": 0.0725, \"tax\": 154.35, \"freight\": 0.0, \"total\": 2533.35, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-51964 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1715", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-52009", "grn_number": "GRN-98866", "invoice_number": "NSI-113303", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 14970.0, "po_tax": 1197.6, "po_freight": 0.0, "po_total": 16167.6, "invoice_subtotal": 14970.0, "invoice_tax": 1197.6, "invoice_freight": 185.0, "invoice_total": 16352.6, "total_variance": 185.0, "num_documents": 3, "po_file": "documents/CASE_1715/PO-2026-52009.png", "grn_file": "documents/CASE_1715/GRN-98866.docx", "invoice_file": "documents/CASE_1715/NSI-113303.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1715/PO-2026-52009.png", "documents/CASE_1715/GRN-98866.docx", "documents/CASE_1715/NSI-113303.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 185.0, \"variance_amount\": 185.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52009\", \"order_date\": \"01-Sep-2026\", \"expected_delivery\": \"11-Sep-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}], \"subtotal\": 14970.0, \"tax_rate\": 0.08, \"tax\": 1197.6, \"freight\": 0.0, \"total\": 16167.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-98866\", \"po_number\": \"PO-2026-52009\", \"received_date\": \"2026-09-06\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-351790\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-351790\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-113303\", \"po_number\": \"PO-2026-52009\", \"grn_ref\": \"GRN-98866\", \"invoice_date\": \"Sep 08, 2026\", \"due_date\": \"Oct 08, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}], \"subtotal\": 14970.0, \"tax_rate\": 0.08, \"tax\": 1197.6, \"freight\": 185.0, \"total\": 16352.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52009 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1730", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-52112", "grn_number": "GRN-99039", "invoice_number": "PPS-113491", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 12329.0, "po_tax": 893.85, "po_freight": 0.0, "po_total": 13222.85, "invoice_subtotal": 13017.0, "invoice_tax": 943.73, "invoice_freight": 0.0, "invoice_total": 13960.73, "total_variance": 737.88, "num_documents": 3, "po_file": "documents/CASE_1730/PO-2026-52112.jpg", "grn_file": "documents/CASE_1730/GRN-99039.pdf", "invoice_file": "documents/CASE_1730/PPS-113491.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1730/PO-2026-52112.jpg", "documents/CASE_1730/GRN-99039.pdf", "documents/CASE_1730/PPS-113491.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7201 ($688.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"ELC-7201\", \"invoiced_qty\": 4, \"invoice_unit_price\": 172.0, \"variance_amount\": 688.0, \"note\": \"Invoice includes line item ELC-7201 ($688.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52112\", \"order_date\": \"05/14/2026\", \"expected_delivery\": \"05/24/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}], \"subtotal\": 12329.0, \"tax_rate\": 0.0725, \"tax\": 893.85, \"freight\": 0.0, \"total\": 13222.85, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99039\", \"po_number\": \"PO-2026-52112\", \"received_date\": \"28-May-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-867417\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-867417\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-113491\", \"po_number\": \"PO-2026-52112\", \"grn_ref\": \"GRN-99039\", \"invoice_date\": \"2026-06-01\", \"due_date\": \"2026-07-01\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 5, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 4, \"unit_price\": 172.0, \"line_total\": 688.0}], \"subtotal\": 13017.0, \"tax_rate\": 0.0725, \"tax\": 943.73, \"freight\": 0.0, \"total\": 13960.73, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52112 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1731", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-52119", "grn_number": "GRN-99046", "invoice_number": "NSI-113510", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 52670.0, "po_tax": 3160.2, "po_freight": 0.0, "po_total": 55830.2, "invoice_subtotal": 52670.0, "invoice_tax": 3160.2, "invoice_freight": 0.0, "invoice_total": 55830.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1731/PO-2026-52119.docx", "grn_file": "documents/CASE_1731/GRN-99046.pdf", "invoice_file": "documents/CASE_1731/NSI-113510.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1731/PO-2026-52119.docx", "documents/CASE_1731/GRN-99046.pdf", "documents/CASE_1731/NSI-113510.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for IT-8840, but warehouse only received 34 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"IT-8840\", \"po_qty\": 40, \"received_qty\": 34, \"invoiced_qty\": 40, \"overbilled_qty\": 6, \"variance_amount\": 348.0, \"note\": \"Vendor billed 40 units for IT-8840, but warehouse only received 34 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52119\", \"order_date\": \"31-Jan-2026\", \"expected_delivery\": \"10-Feb-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 40, \"unit_price\": 58.0, \"line_total\": 2320.0}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}], \"subtotal\": 52670.0, \"tax_rate\": 0.06, \"tax\": 3160.2, \"freight\": 0.0, \"total\": 55830.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99046\", \"po_number\": \"PO-2026-52119\", \"received_date\": \"2026-02-14\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-450920\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 40, \"qty_received\": 34, \"qty_accepted\": 34, \"qty_rejected\": 0, \"condition\": \"Short 6 PK (Backordered)\"}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 34 of 40 on IT-8840 (short 6 PK). - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-450920\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-113510\", \"po_number\": \"PO-2026-52119\", \"grn_ref\": \"GRN-99046\", \"invoice_date\": \"Feb 16, 2026\", \"due_date\": \"Mar 18, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 245.0, \"line_total\": 7350.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 40, \"unit_price\": 58.0, \"line_total\": 2320.0}, {\"line_no\": 5, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}], \"subtotal\": 52670.0, \"tax_rate\": 0.06, \"tax\": 3160.2, \"freight\": 0.0, \"total\": 55830.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52119 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1733", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-52135", "grn_number": "GRN-99071", "invoice_number": "VEP-113536", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 10270.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 10270.0, "invoice_subtotal": 9030.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 9030.0, "total_variance": -1240.0, "num_documents": 3, "po_file": "documents/CASE_1733/PO-2026-52135.png", "grn_file": "documents/CASE_1733/GRN-99071.docx", "invoice_file": "documents/CASE_1733/VEP-113536.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1733/PO-2026-52135.png", "documents/CASE_1733/GRN-99071.docx", "documents/CASE_1733/VEP-113536.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 11/15 units received and accurately billed; keep PO open for remaining 4 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 1, \"sku\": \"ELC-7260\", \"po_qty\": 15, \"received_qty\": 11, \"invoiced_qty\": 11, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 11/15 units received and accurately billed; keep PO open for remaining 4 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52135\", \"order_date\": \"Mar 13, 2026\", \"expected_delivery\": \"Mar 23, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 10270.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 10270.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99071\", \"po_number\": \"PO-2026-52135\", \"received_date\": \"03/21/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-952936\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 15, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (4 SPOOL remaining)\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (11/15 ELC-7260). Balance on BO. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-952936\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-113536\", \"po_number\": \"PO-2026-52135\", \"grn_ref\": \"GRN-99071\", \"invoice_date\": \"26-Mar-2026\", \"due_date\": \"25-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 11, \"unit_price\": 310.0, \"line_total\": 3410.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 9030.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9030.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52135 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1741", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-52191", "grn_number": "GRN-99155", "invoice_number": "INV-APX-113637", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 7252.0, "po_tax": 598.29, "po_freight": 0.0, "po_total": 7850.29, "invoice_subtotal": 7252.0, "invoice_tax": 598.29, "invoice_freight": 7.37, "invoice_total": 7857.66, "total_variance": 7.37, "num_documents": 3, "po_file": "documents/CASE_1741/PO-2026-52191.pdf", "grn_file": "documents/CASE_1741/GRN-99155.docx", "invoice_file": "documents/CASE_1741/INV-APX-113637.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1741/PO-2026-52191.pdf", "documents/CASE_1741/GRN-99155.docx", "documents/CASE_1741/INV-APX-113637.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.37 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.37, \"variance_amount\": 7.37, \"note\": \"Prepaid & Add shipping fee of $7.37 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52191\", \"order_date\": \"Jun 20, 2026\", \"expected_delivery\": \"Jun 30, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}], \"subtotal\": 7252.0, \"tax_rate\": 0.0825, \"tax\": 598.29, \"freight\": 0.0, \"total\": 7850.29, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99155\", \"po_number\": \"PO-2026-52191\", \"received_date\": \"06/27/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-807209\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-807209\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-113637\", \"po_number\": \"PO-2026-52191\", \"grn_ref\": \"GRN-99155\", \"invoice_date\": \"01-Jul-2026\", \"due_date\": \"31-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}], \"subtotal\": 7252.0, \"tax_rate\": 0.0825, \"tax\": 598.29, \"freight\": 7.37, \"total\": 7857.66, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52191 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1747", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-52230", "grn_number": "GRN-99218", "invoice_number": "INV-APX-113715", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 12360.0, "po_tax": 741.6, "po_freight": 0.0, "po_total": 13101.6, "invoice_subtotal": 12360.0, "invoice_tax": 741.6, "invoice_freight": 9.33, "invoice_total": 13110.93, "total_variance": 9.33, "num_documents": 3, "po_file": "documents/CASE_1747/PO-2026-52230.pdf", "grn_file": "documents/CASE_1747/GRN-99218.docx", "invoice_file": "documents/CASE_1747/INV-APX-113715.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1747/PO-2026-52230.pdf", "documents/CASE_1747/GRN-99218.docx", "documents/CASE_1747/INV-APX-113715.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $9.33 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 9.33, \"variance_amount\": 9.33, \"note\": \"Prepaid & Add shipping fee of $9.33 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52230\", \"order_date\": \"25-Sep-2026\", \"expected_delivery\": \"05-Oct-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}], \"subtotal\": 12360.0, \"tax_rate\": 0.06, \"tax\": 741.6, \"freight\": 0.0, \"total\": 13101.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99218\", \"po_number\": \"PO-2026-52230\", \"received_date\": \"2026-10-09\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-104166\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-104166\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-113715\", \"po_number\": \"PO-2026-52230\", \"grn_ref\": \"GRN-99218\", \"invoice_date\": \"Oct 12, 2026\", \"due_date\": \"Nov 11, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 148.0, \"line_total\": 5920.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}], \"subtotal\": 12360.0, \"tax_rate\": 0.06, \"tax\": 741.6, \"freight\": 9.33, \"total\": 13110.93, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52230 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1750", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-52251", "grn_number": "GRN-99257", "invoice_number": "PKR-113754", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2772.0, "po_tax": 221.76, "po_freight": 95.0, "po_total": 3088.76, "invoice_subtotal": 3152.0, "invoice_tax": 252.16, "invoice_freight": 95.0, "invoice_total": 3499.16, "total_variance": 410.4, "num_documents": 3, "po_file": "documents/CASE_1750/PO-2026-52251.pdf", "grn_file": "documents/CASE_1750/GRN-99257.jpg", "invoice_file": "documents/CASE_1750/PKR-113754.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1750/PO-2026-52251.pdf", "documents/CASE_1750/GRN-99257.jpg", "documents/CASE_1750/PKR-113754.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item PKG-3025 ($380.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"PKG-3025\", \"invoiced_qty\": 5, \"invoice_unit_price\": 76.0, \"variance_amount\": 380.0, \"note\": \"Invoice includes line item PKG-3025 ($380.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52251\", \"order_date\": \"03/17/2026\", \"expected_delivery\": \"03/27/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 64.0, \"line_total\": 512.0}], \"subtotal\": 2772.0, \"tax_rate\": 0.08, \"tax\": 221.76, \"freight\": 95.0, \"total\": 3088.76, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99257\", \"po_number\": \"PO-2026-52251\", \"received_date\": \"31-Mar-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-162719\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-162719\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-113754\", \"po_number\": \"PO-2026-52251\", \"grn_ref\": \"GRN-99257\", \"invoice_date\": \"2026-04-04\", \"due_date\": \"2026-04-19\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 22.5, \"line_total\": 180.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 64.0, \"line_total\": 512.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}], \"subtotal\": 3152.0, \"tax_rate\": 0.08, \"tax\": 252.16, \"freight\": 95.0, \"total\": 3499.16, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52251 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1751", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-52260", "grn_number": "GRN-99262", "invoice_number": "TP-113772", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 7600.0, "po_tax": 627.0, "po_freight": 75.0, "po_total": 8302.0, "invoice_subtotal": 7600.0, "invoice_tax": 627.0, "invoice_freight": 75.0, "invoice_total": 8302.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1751/PO-2026-52260.png", "grn_file": "documents/CASE_1751/GRN-99262.docx", "invoice_file": "documents/CASE_1751/TP-113772.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1751/PO-2026-52260.png", "documents/CASE_1751/GRN-99262.docx", "documents/CASE_1751/TP-113772.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'ThermoPure Scientific Instruments' (Tax ID 04-6629180), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-52260\", \"invoice_po_ref\": \"PO-2026-52260\", \"po_vendor\": \"ThermoPure Scientific Instruments\", \"invoice_vendor\": \"Kestrel Workspace & Ergonomics\", \"note\": \"Vendor entity mismatch: PO issued to 'ThermoPure Scientific Instruments' (Tax ID 04-6629180), but Invoice billed by 'Kestrel Workspace & Ergonomics' (Tax ID 38-5591023).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52260\", \"order_date\": \"28-Aug-2026\", \"expected_delivery\": \"07-Sep-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 460.0, \"line_total\": 3680.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 164.0, \"line_total\": 1968.0}], \"subtotal\": 7600.0, \"tax_rate\": 0.0825, \"tax\": 627.0, \"freight\": 75.0, \"total\": 8302.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99262\", \"po_number\": \"PO-2026-52260\", \"received_date\": \"2026-09-08\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-741249\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-741249\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-113772\", \"po_number\": \"PO-2026-52260\", \"grn_ref\": \"GRN-99262\", \"invoice_date\": \"Sep 12, 2026\", \"due_date\": \"Oct 12, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 8, \"unit_price\": 112.0, \"line_total\": 896.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 460.0, \"line_total\": 3680.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 164.0, \"line_total\": 1968.0}], \"subtotal\": 7600.0, \"tax_rate\": 0.0825, \"tax\": 627.0, \"freight\": 75.0, \"total\": 8302.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52260 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1755", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-52286", "grn_number": "GRN-99313", "invoice_number": "PKR-113819", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 6320.0, "po_tax": 379.2, "po_freight": 0.0, "po_total": 6699.2, "invoice_subtotal": 6320.0, "invoice_tax": 379.2, "invoice_freight": 7.78, "invoice_total": 6706.98, "total_variance": 7.78, "num_documents": 3, "po_file": "documents/CASE_1755/PO-2026-52286.docx", "grn_file": "documents/CASE_1755/GRN-99313.pdf", "invoice_file": "documents/CASE_1755/PKR-113819.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1755/PO-2026-52286.docx", "documents/CASE_1755/GRN-99313.pdf", "documents/CASE_1755/PKR-113819.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $7.78 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 7.78, \"variance_amount\": 7.78, \"note\": \"Prepaid & Add shipping fee of $7.78 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52286\", \"order_date\": \"17-Jan-2026\", \"expected_delivery\": \"27-Jan-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 22.5, \"line_total\": 900.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 24, \"unit_price\": 145.0, \"line_total\": 3480.0}, {\"line_no\": 4, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 6320.0, \"tax_rate\": 0.06, \"tax\": 379.2, \"freight\": 0.0, \"total\": 6699.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99313\", \"po_number\": \"PO-2026-52286\", \"received_date\": \"2026-01-22\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-549068\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-549068\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-113819\", \"po_number\": \"PO-2026-52286\", \"grn_ref\": \"GRN-99313\", \"invoice_date\": \"Jan 26, 2026\", \"due_date\": \"Feb 10, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 22.5, \"line_total\": 900.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 3, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 24, \"unit_price\": 145.0, \"line_total\": 3480.0}, {\"line_no\": 4, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 6320.0, \"tax_rate\": 0.06, \"tax\": 379.2, \"freight\": 7.78, \"total\": 6706.98, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52286 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1758", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-52310", "grn_number": "GRN-99342", "invoice_number": "SSP-113857", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 12992.0, "po_tax": 779.52, "po_freight": 0.0, "po_total": 13771.52, "invoice_subtotal": 12992.0, "invoice_tax": 779.52, "invoice_freight": 9.52, "invoice_total": 13781.04, "total_variance": 9.52, "num_documents": 3, "po_file": "documents/CASE_1758/PO-2026-52310.docx", "grn_file": "documents/CASE_1758/GRN-99342.jpg", "invoice_file": "documents/CASE_1758/SSP-113857.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1758/PO-2026-52310.docx", "documents/CASE_1758/GRN-99342.jpg", "documents/CASE_1758/SSP-113857.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $9.52 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 9.52, \"variance_amount\": 9.52, \"note\": \"Prepaid & Add shipping fee of $9.52 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52310\", \"order_date\": \"01/13/2026\", \"expected_delivery\": \"01/23/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}], \"subtotal\": 12992.0, \"tax_rate\": 0.06, \"tax\": 779.52, \"freight\": 0.0, \"total\": 13771.52, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99342\", \"po_number\": \"PO-2026-52310\", \"received_date\": \"26-Jan-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-170193\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-170193\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-113857\", \"po_number\": \"PO-2026-52310\", \"grn_ref\": \"GRN-99342\", \"invoice_date\": \"2026-01-27\", \"due_date\": \"2026-02-26\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 10, \"unit_price\": 34.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}], \"subtotal\": 12992.0, \"tax_rate\": 0.06, \"tax\": 779.52, \"freight\": 9.52, \"total\": 13781.04, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52310 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1759", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-52314", "grn_number": "GRN-99355", "invoice_number": "TP-113873", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 6140.0, "po_tax": 506.55, "po_freight": 0.0, "po_total": 6646.55, "invoice_subtotal": 6140.0, "invoice_tax": 506.55, "invoice_freight": 0.0, "invoice_total": 6646.55, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1759/PO-2026-52314.pdf", "grn_file": "documents/CASE_1759/GRN-99355.docx", "invoice_file": "documents/CASE_1759/TP-113873.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1759/PO-2026-52314.pdf", "documents/CASE_1759/GRN-99355.docx", "documents/CASE_1759/TP-113873.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52314\", \"order_date\": \"22-May-2026\", \"expected_delivery\": \"01-Jun-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 164.0, \"line_total\": 2460.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 460.0, \"line_total\": 3680.0}], \"subtotal\": 6140.0, \"tax_rate\": 0.0825, \"tax\": 506.55, \"freight\": 0.0, \"total\": 6646.55, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99355\", \"po_number\": \"PO-2026-52314\", \"received_date\": \"2026-06-02\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-570511\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-570511\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-113873\", \"po_number\": \"PO-2026-52314\", \"grn_ref\": \"GRN-99355\", \"invoice_date\": \"Jun 04, 2026\", \"due_date\": \"Jul 04, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 164.0, \"line_total\": 2460.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 460.0, \"line_total\": 3680.0}], \"subtotal\": 6140.0, \"tax_rate\": 0.0825, \"tax\": 506.55, \"freight\": 0.0, \"total\": 6646.55, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52314 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1761", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-52332", "grn_number": "GRN-99375", "invoice_number": "VEP-113901", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 12580.0, "po_tax": 754.8, "po_freight": 0.0, "po_total": 13334.8, "invoice_subtotal": 12580.0, "invoice_tax": 754.8, "invoice_freight": 315.0, "invoice_total": 13649.8, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_1761/PO-2026-52332.docx", "grn_file": "documents/CASE_1761/GRN-99375.pdf", "invoice_file": "documents/CASE_1761/VEP-113901.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1761/PO-2026-52332.docx", "documents/CASE_1761/GRN-99375.pdf", "documents/CASE_1761/VEP-113901.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52332\", \"order_date\": \"Aug 11, 2026\", \"expected_delivery\": \"Aug 21, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}], \"subtotal\": 12580.0, \"tax_rate\": 0.06, \"tax\": 754.8, \"freight\": 0.0, \"total\": 13334.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99375\", \"po_number\": \"PO-2026-52332\", \"received_date\": \"08/19/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-648389\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-648389\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-113901\", \"po_number\": \"PO-2026-52332\", \"grn_ref\": \"GRN-99375\", \"invoice_date\": \"20-Aug-2026\", \"due_date\": \"04-Sep-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 540.0, \"line_total\": 4320.0}], \"subtotal\": 12580.0, \"tax_rate\": 0.06, \"tax\": 754.8, \"freight\": 315.0, \"total\": 13649.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52332 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1764", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-52349", "grn_number": "GRN-99406", "invoice_number": "NSI-113937", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 43200.0, "po_tax": 3132.0, "po_freight": 0.0, "po_total": 46332.0, "invoice_subtotal": 43200.0, "invoice_tax": 3132.0, "invoice_freight": 0.0, "invoice_total": 46332.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1764/PO-2026-52349.docx", "grn_file": "documents/CASE_1764/GRN-99406.jpg", "invoice_file": "documents/CASE_1764/NSI-113937.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1764/PO-2026-52349.docx", "documents/CASE_1764/GRN-99406.jpg", "documents/CASE_1764/NSI-113937.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52349\", \"order_date\": \"2026-06-21\", \"expected_delivery\": \"2026-07-01\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 690.0, \"line_total\": 27600.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 43200.0, \"tax_rate\": 0.0725, \"tax\": 3132.0, \"freight\": 0.0, \"total\": 46332.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99406\", \"po_number\": \"PO-2026-52349\", \"received_date\": \"Jul 04, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-570831\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-570831\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-113937\", \"po_number\": \"PO-2026-52349\", \"grn_ref\": \"GRN-99406\", \"invoice_date\": \"07/05/2026\", \"due_date\": \"07/20/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 690.0, \"line_total\": 27600.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 43200.0, \"tax_rate\": 0.0725, \"tax\": 3132.0, \"freight\": 0.0, \"total\": 46332.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52349 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1766", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-52367", "grn_number": "GRN-99430", "invoice_number": "PKR-113964", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3297.5, "po_tax": 272.04, "po_freight": 0.0, "po_total": 3569.54, "invoice_subtotal": 3297.5, "invoice_tax": 272.04, "invoice_freight": 0.0, "invoice_total": 3569.54, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1766/PO-2026-52367.jpg", "grn_file": "documents/CASE_1766/GRN-99430.pdf", "invoice_file": "documents/CASE_1766/PKR-113964.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1766/PO-2026-52367.jpg", "documents/CASE_1766/GRN-99430.pdf", "documents/CASE_1766/PKR-113964.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52367\", \"order_date\": \"05/21/2026\", \"expected_delivery\": \"05/31/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 22.5, \"line_total\": 337.5}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 76.0, \"line_total\": 760.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 64.0, \"line_total\": 640.0}, {\"line_no\": 4, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 3297.5, \"tax_rate\": 0.0825, \"tax\": 272.04, \"freight\": 0.0, \"total\": 3569.54, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99430\", \"po_number\": \"PO-2026-52367\", \"received_date\": \"29-May-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-813077\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-813077\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-113964\", \"po_number\": \"PO-2026-52367\", \"grn_ref\": \"GRN-99430\", \"invoice_date\": \"2026-06-03\", \"due_date\": \"2026-07-03\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 22.5, \"line_total\": 337.5}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 76.0, \"line_total\": 760.0}, {\"line_no\": 3, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 64.0, \"line_total\": 640.0}, {\"line_no\": 4, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}], \"subtotal\": 3297.5, \"tax_rate\": 0.0825, \"tax\": 272.04, \"freight\": 0.0, \"total\": 3569.54, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52367 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1771", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-52399", "grn_number": "GRN-99485", "invoice_number": "NSI-114027", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 50114.0, "po_tax": 4134.41, "po_freight": 0.0, "po_total": 54248.41, "invoice_subtotal": 50114.0, "invoice_tax": 4134.41, "invoice_freight": 0.0, "invoice_total": 54248.41, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1771/PO-2026-52399.pdf", "grn_file": "documents/CASE_1771/GRN-99485.docx", "invoice_file": "documents/CASE_1771/NSI-114027.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1771/PO-2026-52399.pdf", "documents/CASE_1771/GRN-99485.docx", "documents/CASE_1771/NSI-114027.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IT-8829 failed dock inspection and were rejected, but vendor billed full 10 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"IT-8829\", \"po_qty\": 10, \"received_qty\": 10, \"accepted_qty\": 8, \"rejected_qty\": 2, \"invoiced_qty\": 10, \"variance_amount\": 490.0, \"note\": \"2 delivered units of IT-8829 failed dock inspection and were rejected, but vendor billed full 10 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52399\", \"order_date\": \"08-Feb-2026\", \"expected_delivery\": \"18-Feb-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 245.0, \"line_total\": 2450.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}], \"subtotal\": 50114.0, \"tax_rate\": 0.0825, \"tax\": 4134.41, \"freight\": 0.0, \"total\": 54248.41, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99485\", \"po_number\": \"PO-2026-52399\", \"received_date\": \"2026-02-16\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-345087\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 8, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IT-8829 water/crush damaged; refused & RMA requested! Accepted 8. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-345087\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-114027\", \"po_number\": \"PO-2026-52399\", \"grn_ref\": \"GRN-99485\", \"invoice_date\": \"Feb 18, 2026\", \"due_date\": \"Mar 20, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 1180.0, \"line_total\": 47200.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 245.0, \"line_total\": 2450.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}], \"subtotal\": 50114.0, \"tax_rate\": 0.0825, \"tax\": 4134.41, \"freight\": 0.0, \"total\": 54248.41, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52399 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1772", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-52409", "grn_number": "GRN-99494", "invoice_number": "KWS-114038", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 31050.0, "po_tax": 1863.0, "po_freight": 0.0, "po_total": 32913.0, "invoice_subtotal": 30015.0, "invoice_tax": 1800.9, "invoice_freight": 0.0, "invoice_total": 31815.9, "total_variance": -1097.1, "num_documents": 3, "po_file": "documents/CASE_1772/PO-2026-52409.jpg", "grn_file": "documents/CASE_1772/GRN-99494.pdf", "invoice_file": "documents/CASE_1772/KWS-114038.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1772/PO-2026-52409.jpg", "documents/CASE_1772/GRN-99494.pdf", "documents/CASE_1772/KWS-114038.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 21/30 units received and accurately billed; keep PO open for remaining 9 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 1, \"sku\": \"FRN-6159\", \"po_qty\": 30, \"received_qty\": 21, \"invoiced_qty\": 21, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 21/30 units received and accurately billed; keep PO open for remaining 9 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52409\", \"order_date\": \"2026-01-10\", \"expected_delivery\": \"2026-01-20\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 115.0, \"line_total\": 3450.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 210.0, \"line_total\": 8400.0}], \"subtotal\": 31050.0, \"tax_rate\": 0.06, \"tax\": 1863.0, \"freight\": 0.0, \"total\": 32913.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99494\", \"po_number\": \"PO-2026-52409\", \"received_date\": \"Jan 14, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-924789\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 21, \"qty_accepted\": 21, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (9 EA remaining)\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (21/30 FRN-6159). Balance on BO. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-924789\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-114038\", \"po_number\": \"PO-2026-52409\", \"grn_ref\": \"GRN-99494\", \"invoice_date\": \"01/19/2026\", \"due_date\": \"03/05/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 21, \"unit_price\": 115.0, \"line_total\": 2415.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 210.0, \"line_total\": 8400.0}], \"subtotal\": 30015.0, \"tax_rate\": 0.06, \"tax\": 1800.9, \"freight\": 0.0, \"total\": 31815.9, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52409 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1773", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-52415", "grn_number": "", "invoice_number": "VEP-114058", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 36776.0, "po_tax": 3034.02, "po_freight": 0.0, "po_total": 39810.02, "invoice_subtotal": 36776.0, "invoice_tax": 3034.02, "invoice_freight": 0.0, "invoice_total": 39810.02, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1773/PO-2026-52415.docx", "grn_file": "", "invoice_file": "documents/CASE_1773/VEP-114058.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1773/PO-2026-52415.docx", "documents/CASE_1773/VEP-114058.png"], "file_formats": ["docx", "png"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-52415\", \"invoice_number\": \"VEP-114058\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52415\", \"order_date\": \"Jul 17, 2026\", \"expected_delivery\": \"Jul 27, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 89.0, \"line_total\": 2136.0}], \"subtotal\": 36776.0, \"tax_rate\": 0.0825, \"tax\": 3034.02, \"freight\": 0.0, \"total\": 39810.02, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-114058\", \"po_number\": \"PO-2026-52415\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"28-Jul-2026\", \"due_date\": \"27-Aug-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 89.0, \"line_total\": 2136.0}], \"subtotal\": 36776.0, \"tax_rate\": 0.0825, \"tax\": 3034.02, \"freight\": 0.0, \"total\": 39810.02, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52415 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1779", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-52456", "grn_number": "GRN-99571", "invoice_number": "PKR-114131", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 5498.0, "po_tax": 398.61, "po_freight": 0.0, "po_total": 5896.61, "invoice_subtotal": 5498.0, "invoice_tax": 398.61, "invoice_freight": 0.0, "invoice_total": 5896.61, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1779/PO-2026-52456.docx", "grn_file": "documents/CASE_1779/GRN-99571.pdf", "invoice_file": "documents/CASE_1779/PKR-114131.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1779/PO-2026-52456.docx", "documents/CASE_1779/GRN-99571.pdf", "documents/CASE_1779/PKR-114131.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Corrugated & PackRight Materials' (Tax ID 62-4481029), but Invoice billed by 'VoltEdge Power & Automation Ltd.' (Tax ID 76-2104982).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-52456\", \"invoice_po_ref\": \"PO-2026-52456\", \"po_vendor\": \"Corrugated & PackRight Materials\", \"invoice_vendor\": \"VoltEdge Power & Automation Ltd.\", \"note\": \"Vendor entity mismatch: PO issued to 'Corrugated & PackRight Materials' (Tax ID 62-4481029), but Invoice billed by 'VoltEdge Power & Automation Ltd.' (Tax ID 76-2104982).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52456\", \"order_date\": \"20-Jul-2026\", \"expected_delivery\": \"30-Jul-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 22.5, \"line_total\": 540.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 76.0, \"line_total\": 608.0}], \"subtotal\": 5498.0, \"tax_rate\": 0.0725, \"tax\": 398.61, \"freight\": 0.0, \"total\": 5896.61, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99571\", \"po_number\": \"PO-2026-52456\", \"received_date\": \"2026-07-26\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-834812\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-834812\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-114131\", \"po_number\": \"PO-2026-52456\", \"grn_ref\": \"GRN-99571\", \"invoice_date\": \"Jul 30, 2026\", \"due_date\": \"Sep 13, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 22.5, \"line_total\": 540.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 76.0, \"line_total\": 608.0}], \"subtotal\": 5498.0, \"tax_rate\": 0.0725, \"tax\": 398.61, \"freight\": 0.0, \"total\": 5896.61, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52456 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1789", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-52526", "grn_number": "GRN-99680", "invoice_number": "KWS-114261", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 14220.0, "po_tax": 853.2, "po_freight": 0.0, "po_total": 15073.2, "invoice_subtotal": 14220.0, "invoice_tax": 853.2, "invoice_freight": 0.0, "invoice_total": 15073.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1789/PO-2026-52526.pdf", "grn_file": "documents/CASE_1789/GRN-99680.docx", "invoice_file": "documents/CASE_1789/KWS-114261.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1789/PO-2026-52526.pdf", "documents/CASE_1789/GRN-99680.docx", "documents/CASE_1789/KWS-114261.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52526\", \"order_date\": \"Mar 30, 2026\", \"expected_delivery\": \"Apr 09, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}], \"subtotal\": 14220.0, \"tax_rate\": 0.06, \"tax\": 853.2, \"freight\": 0.0, \"total\": 15073.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99680\", \"po_number\": \"PO-2026-52526\", \"received_date\": \"04/10/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-385189\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-385189\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-114261\", \"po_number\": \"PO-2026-52526\", \"grn_ref\": \"GRN-99680\", \"invoice_date\": \"10-Apr-2026\", \"due_date\": \"25-Apr-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 385.0, \"line_total\": 4620.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 640.0, \"line_total\": 9600.0}], \"subtotal\": 14220.0, \"tax_rate\": 0.06, \"tax\": 853.2, \"freight\": 0.0, \"total\": 15073.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52526 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1795", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-52568", "grn_number": "GRN-99747", "invoice_number": "SSP-114342", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 16220.0, "po_tax": 1297.6, "po_freight": 0.0, "po_total": 17517.6, "invoice_subtotal": 16817.6, "invoice_tax": 1345.41, "invoice_freight": 0.0, "invoice_total": 18163.01, "total_variance": 645.41, "num_documents": 3, "po_file": "documents/CASE_1795/PO-2026-52568.pdf", "grn_file": "documents/CASE_1795/GRN-99747.docx", "invoice_file": "documents/CASE_1795/SSP-114342.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1795/PO-2026-52568.pdf", "documents/CASE_1795/GRN-99747.docx", "documents/CASE_1795/SSP-114342.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $82.94 exceeds contracted PO unit price $68.00 for IND-4452.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"IND-4452\", \"po_unit_price\": 68.0, \"invoice_unit_price\": 82.94, \"qty\": 40, \"variance_amount\": 597.6, \"note\": \"Invoice unit price $82.94 exceeds contracted PO unit price $68.00 for IND-4452.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52568\", \"order_date\": \"07-Apr-2026\", \"expected_delivery\": \"17-Apr-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 295.0, \"line_total\": 11800.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}], \"subtotal\": 16220.0, \"tax_rate\": 0.08, \"tax\": 1297.6, \"freight\": 0.0, \"total\": 17517.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99747\", \"po_number\": \"PO-2026-52568\", \"received_date\": \"2026-04-21\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-375805\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-375805\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-114342\", \"po_number\": \"PO-2026-52568\", \"grn_ref\": \"GRN-99747\", \"invoice_date\": \"Apr 27, 2026\", \"due_date\": \"Jun 11, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 295.0, \"line_total\": 11800.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 82.94, \"line_total\": 3317.6}], \"subtotal\": 16817.6, \"tax_rate\": 0.08, \"tax\": 1345.41, \"freight\": 0.0, \"total\": 18163.01, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52568 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1798", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-52588", "grn_number": "GRN-99784", "invoice_number": "NSI-114383", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 21396.0, "po_tax": 1283.76, "po_freight": 0.0, "po_total": 22679.76, "invoice_subtotal": 21396.0, "invoice_tax": 1283.76, "invoice_freight": 4.54, "invoice_total": 22684.3, "total_variance": 4.54, "num_documents": 3, "po_file": "documents/CASE_1798/PO-2026-52588.pdf", "grn_file": "documents/CASE_1798/GRN-99784.jpg", "invoice_file": "documents/CASE_1798/NSI-114383.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1798/PO-2026-52588.pdf", "documents/CASE_1798/GRN-99784.jpg", "documents/CASE_1798/NSI-114383.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $4.54 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 4.54, \"variance_amount\": 4.54, \"note\": \"Prepaid & Add shipping fee of $4.54 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52588\", \"order_date\": \"04/04/2026\", \"expected_delivery\": \"04/14/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 690.0, \"line_total\": 20700.0}], \"subtotal\": 21396.0, \"tax_rate\": 0.06, \"tax\": 1283.76, \"freight\": 0.0, \"total\": 22679.76, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99784\", \"po_number\": \"PO-2026-52588\", \"received_date\": \"14-Apr-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-716365\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-716365\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-114383\", \"po_number\": \"PO-2026-52588\", \"grn_ref\": \"GRN-99784\", \"invoice_date\": \"2026-04-19\", \"due_date\": \"2026-06-03\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 690.0, \"line_total\": 20700.0}], \"subtotal\": 21396.0, \"tax_rate\": 0.06, \"tax\": 1283.76, \"freight\": 4.54, \"total\": 22684.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52588 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1813", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-52693", "grn_number": "GRN-99944", "invoice_number": "PPS-114576", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 11935.0, "po_tax": 984.64, "po_freight": 0.0, "po_total": 12919.64, "invoice_subtotal": 11935.0, "invoice_tax": 984.64, "invoice_freight": 0.0, "invoice_total": 12919.64, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1813/PO-2026-52693.pdf", "grn_file": "documents/CASE_1813/GRN-99944.docx", "invoice_file": "documents/CASE_1813/PPS-114576.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1813/PO-2026-52693.pdf", "documents/CASE_1813/GRN-99944.docx", "documents/CASE_1813/PPS-114576.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52693\", \"order_date\": \"Sep 13, 2026\", \"expected_delivery\": \"Sep 23, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 11935.0, \"tax_rate\": 0.0825, \"tax\": 984.64, \"freight\": 0.0, \"total\": 12919.64, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99944\", \"po_number\": \"PO-2026-52693\", \"received_date\": \"09/17/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-560691\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-560691\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-114576\", \"po_number\": \"PO-2026-52693\", \"grn_ref\": \"GRN-99944\", \"invoice_date\": \"21-Sep-2026\", \"due_date\": \"21-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 30, \"unit_price\": 310.0, \"line_total\": 9300.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 11935.0, \"tax_rate\": 0.0825, \"tax\": 984.64, \"freight\": 0.0, \"total\": 12919.64, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52693 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1814", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-52699", "grn_number": "GRN-99955", "invoice_number": "PKR-114588", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 605.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 605.0, "invoice_subtotal": 833.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 833.0, "total_variance": 228.0, "num_documents": 3, "po_file": "documents/CASE_1814/PO-2026-52699.jpg", "grn_file": "documents/CASE_1814/GRN-99955.pdf", "invoice_file": "documents/CASE_1814/PKR-114588.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1814/PO-2026-52699.jpg", "documents/CASE_1814/GRN-99955.pdf", "documents/CASE_1814/PKR-114588.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 8 units vs 5 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"PKG-3025\", \"po_qty\": 5, \"received_qty\": 8, \"invoiced_qty\": 8, \"over_qty\": 3, \"variance_amount\": 228.0, \"note\": \"Shipped and billed 8 units vs 5 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52699\", \"order_date\": \"01/17/2026\", \"expected_delivery\": \"01/27/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 76.0, \"line_total\": 380.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 22.5, \"line_total\": 225.0}], \"subtotal\": 605.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 605.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-99955\", \"po_number\": \"PO-2026-52699\", \"received_date\": \"24-Jan-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-169759\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 CS over PO)\"}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 8 (3 extra over PO) on PKG-3025. Held in quarantine. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-169759\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-114588\", \"po_number\": \"PO-2026-52699\", \"grn_ref\": \"GRN-99955\", \"invoice_date\": \"2026-01-25\", \"due_date\": \"2026-03-11\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 76.0, \"line_total\": 608.0}, {\"line_no\": 2, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 22.5, \"line_total\": 225.0}], \"subtotal\": 833.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 833.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52699 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1820", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-52741", "grn_number": "GRN-100029", "invoice_number": "INV-APX-114662", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 4500.0, "po_tax": 371.25, "po_freight": 0.0, "po_total": 4871.25, "invoice_subtotal": 4500.0, "invoice_tax": 371.25, "invoice_freight": 0.0, "invoice_total": 4871.25, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1820/PO-2026-52741.jpg", "grn_file": "documents/CASE_1820/GRN-100029.pdf", "invoice_file": "documents/CASE_1820/INV-APX-114662.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1820/PO-2026-52741.jpg", "documents/CASE_1820/GRN-100029.pdf", "documents/CASE_1820/INV-APX-114662.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 40 units for IND-4418, but warehouse only received 31 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"IND-4418\", \"po_qty\": 40, \"received_qty\": 31, \"invoiced_qty\": 40, \"overbilled_qty\": 9, \"variance_amount\": 382.5, \"note\": \"Vendor billed 40 units for IND-4418, but warehouse only received 31 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52741\", \"order_date\": \"2026-04-15\", \"expected_delivery\": \"2026-04-25\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}], \"subtotal\": 4500.0, \"tax_rate\": 0.0825, \"tax\": 371.25, \"freight\": 0.0, \"total\": 4871.25, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100029\", \"po_number\": \"PO-2026-52741\", \"received_date\": \"Apr 19, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-306597\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 31, \"qty_accepted\": 31, \"qty_rejected\": 0, \"condition\": \"Short 9 BOX (Backordered)\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 31 of 40 on IND-4418 (short 9 BOX). - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-306597\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-114662\", \"po_number\": \"PO-2026-52741\", \"grn_ref\": \"GRN-100029\", \"invoice_date\": \"04/23/2026\", \"due_date\": \"05/08/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}], \"subtotal\": 4500.0, \"tax_rate\": 0.0825, \"tax\": 371.25, \"freight\": 0.0, \"total\": 4871.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52741 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1824", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-52771", "grn_number": "GRN-100066", "invoice_number": "NSI-114717", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 28100.0, "po_tax": 2037.25, "po_freight": 0.0, "po_total": 30137.25, "invoice_subtotal": 28100.0, "invoice_tax": 2037.25, "invoice_freight": 0.0, "invoice_total": 30137.25, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1824/PO-2026-52771.docx", "grn_file": "documents/CASE_1824/GRN-100066.jpg", "invoice_file": "documents/CASE_1824/NSI-114717.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1824/PO-2026-52771.docx", "documents/CASE_1824/GRN-100066.jpg", "documents/CASE_1824/NSI-114717.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IT-8814 failed dock inspection and were rejected, but vendor billed full 12 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"IT-8814\", \"po_qty\": 12, \"received_qty\": 12, \"accepted_qty\": 10, \"rejected_qty\": 2, \"invoiced_qty\": 12, \"variance_amount\": 1040.0, \"note\": \"2 delivered units of IT-8814 failed dock inspection and were rejected, but vendor billed full 12 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52771\", \"order_date\": \"2026-07-12\", \"expected_delivery\": \"2026-07-22\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 690.0, \"line_total\": 20700.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 20, \"unit_price\": 58.0, \"line_total\": 1160.0}], \"subtotal\": 28100.0, \"tax_rate\": 0.0725, \"tax\": 2037.25, \"freight\": 0.0, \"total\": 30137.25, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100066\", \"po_number\": \"PO-2026-52771\", \"received_date\": \"Jul 22, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-830909\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 10, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IT-8814 water/crush damaged; refused & RMA requested! Accepted 10. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-830909\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-114717\", \"po_number\": \"PO-2026-52771\", \"grn_ref\": \"GRN-100066\", \"invoice_date\": \"07/26/2026\", \"due_date\": \"08/25/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 520.0, \"line_total\": 6240.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 690.0, \"line_total\": 20700.0}, {\"line_no\": 3, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 20, \"unit_price\": 58.0, \"line_total\": 1160.0}], \"subtotal\": 28100.0, \"tax_rate\": 0.0725, \"tax\": 2037.25, \"freight\": 0.0, \"total\": 30137.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52771 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1826", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-52787", "grn_number": "", "invoice_number": "NSI-114743", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 8120.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 8120.0, "invoice_subtotal": 8120.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 8120.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1826/PO-2026-52787.jpg", "grn_file": "", "invoice_file": "documents/CASE_1826/NSI-114743.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1826/PO-2026-52787.jpg", "documents/CASE_1826/NSI-114743.docx"], "file_formats": ["jpg", "docx"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-52787\", \"invoice_number\": \"NSI-114743\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52787\", \"order_date\": \"09/10/2026\", \"expected_delivery\": \"09/20/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}], \"subtotal\": 8120.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8120.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-114743\", \"po_number\": \"PO-2026-52787\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"2026-09-27\", \"due_date\": \"2026-11-11\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 245.0, \"line_total\": 2940.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 215.0, \"line_total\": 2580.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 520.0, \"line_total\": 2600.0}], \"subtotal\": 8120.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8120.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52787 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1829", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-52806", "grn_number": "GRN-100128", "invoice_number": "NSI-114786", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 21670.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 21670.0, "invoice_subtotal": 26870.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 26870.0, "total_variance": 5200.0, "num_documents": 3, "po_file": "documents/CASE_1829/PO-2026-52806.png", "grn_file": "documents/CASE_1829/GRN-100128.docx", "invoice_file": "documents/CASE_1829/NSI-114786.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1829/PO-2026-52806.png", "documents/CASE_1829/GRN-100128.docx", "documents/CASE_1829/NSI-114786.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 50 units vs 40 ordered (+10 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"IT-8814\", \"po_qty\": 40, \"received_qty\": 50, \"invoiced_qty\": 50, \"over_qty\": 10, \"variance_amount\": 5200.0, \"note\": \"Shipped and billed 50 units vs 40 ordered (+10 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52806\", \"order_date\": \"Apr 03, 2026\", \"expected_delivery\": \"Apr 13, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 520.0, \"line_total\": 20800.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}], \"subtotal\": 21670.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 21670.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100128\", \"po_number\": \"PO-2026-52806\", \"received_date\": \"04/16/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-407971\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+10 EA over PO)\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 50 (10 extra over PO) on IT-8814. Held in quarantine. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-407971\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-114786\", \"po_number\": \"PO-2026-52806\", \"grn_ref\": \"GRN-100128\", \"invoice_date\": \"17-Apr-2026\", \"due_date\": \"02-May-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 520.0, \"line_total\": 26000.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 15, \"unit_price\": 58.0, \"line_total\": 870.0}], \"subtotal\": 26870.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 26870.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52806 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1830", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-52811", "grn_number": "GRN-100131", "invoice_number": "VEP-114796", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 11740.0, "po_tax": 704.4, "po_freight": 0.0, "po_total": 12444.4, "invoice_subtotal": 11740.0, "invoice_tax": 704.4, "invoice_freight": 425.0, "invoice_total": 12869.4, "total_variance": 425.0, "num_documents": 3, "po_file": "documents/CASE_1830/PO-2026-52811.docx", "grn_file": "documents/CASE_1830/GRN-100131.jpg", "invoice_file": "documents/CASE_1830/VEP-114796.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1830/PO-2026-52811.docx", "documents/CASE_1830/GRN-100131.jpg", "documents/CASE_1830/VEP-114796.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 425.0, \"variance_amount\": 425.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $425.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52811\", \"order_date\": \"05/06/2026\", \"expected_delivery\": \"05/16/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 11740.0, \"tax_rate\": 0.06, \"tax\": 704.4, \"freight\": 0.0, \"total\": 12444.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100131\", \"po_number\": \"PO-2026-52811\", \"received_date\": \"19-May-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-398182\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-398182\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-114796\", \"po_number\": \"PO-2026-52811\", \"grn_ref\": \"GRN-100131\", \"invoice_date\": \"2026-05-24\", \"due_date\": \"2026-06-23\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}], \"subtotal\": 11740.0, \"tax_rate\": 0.06, \"tax\": 704.4, \"freight\": 425.0, \"total\": 12869.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52811 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1833", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-52833", "grn_number": "GRN-100170", "invoice_number": "PPS-114834", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 4579.5, "po_tax": 366.36, "po_freight": 0.0, "po_total": 4945.86, "invoice_subtotal": 4638.15, "invoice_tax": 371.05, "invoice_freight": 0.0, "invoice_total": 5009.2, "total_variance": 63.34, "num_documents": 3, "po_file": "documents/CASE_1833/PO-2026-52833.docx", "grn_file": "documents/CASE_1833/GRN-100170.pdf", "invoice_file": "documents/CASE_1833/PPS-114834.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1833/PO-2026-52833.docx", "documents/CASE_1833/GRN-100170.pdf", "documents/CASE_1833/PPS-114834.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $32.41 exceeds contracted PO unit price $28.50 for ELC-7283.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"ELC-7283\", \"po_unit_price\": 28.5, \"invoice_unit_price\": 32.41, \"qty\": 15, \"variance_amount\": 58.65, \"note\": \"Invoice unit price $32.41 exceeds contracted PO unit price $28.50 for ELC-7283.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52833\", \"order_date\": \"Sep 27, 2026\", \"expected_delivery\": \"Oct 07, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}], \"subtotal\": 4579.5, \"tax_rate\": 0.08, \"tax\": 366.36, \"freight\": 0.0, \"total\": 4945.86, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100170\", \"po_number\": \"PO-2026-52833\", \"received_date\": \"10/05/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-291025\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-291025\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-114834\", \"po_number\": \"PO-2026-52833\", \"grn_ref\": \"GRN-100170\", \"invoice_date\": \"10-Oct-2026\", \"due_date\": \"24-Nov-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 32.41, \"line_total\": 486.15}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}], \"subtotal\": 4638.15, \"tax_rate\": 0.08, \"tax\": 371.05, \"freight\": 0.0, \"total\": 5009.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52833 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1842", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-52898", "grn_number": "GRN-100270", "invoice_number": "NSI-114947", "duplicate_invoice_number": "NSI-114947-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 23651.0, "po_tax": 1892.08, "po_freight": 0.0, "po_total": 25543.08, "invoice_subtotal": 23651.0, "invoice_tax": 1892.08, "invoice_freight": 0.0, "invoice_total": 25543.08, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1842/PO-2026-52898.docx", "grn_file": "documents/CASE_1842/GRN-100270.jpg", "invoice_file": "documents/CASE_1842/NSI-114947.pdf", "duplicate_invoice_file": "documents/CASE_1842/NSI-114947-R1.jpg", "file_paths": ["documents/CASE_1842/PO-2026-52898.docx", "documents/CASE_1842/GRN-100270.jpg", "documents/CASE_1842/NSI-114947.pdf", "documents/CASE_1842/NSI-114947-R1.jpg"], "file_formats": ["docx", "jpg", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'NSI-114947' and 'NSI-114947-R1' bill $25543.08 against single receipt 'GRN-100270' / PO 'PO-2026-52898'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"NSI-114947\", \"duplicate_invoice_number\": \"NSI-114947-R1\", \"duplicate_billed_amount\": 25543.08, \"variance_amount\": 25543.08, \"note\": \"Duplicate billing detected: both 'NSI-114947' and 'NSI-114947-R1' bill $25543.08 against single receipt 'GRN-100270' / PO 'PO-2026-52898'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52898\", \"order_date\": \"02/22/2026\", \"expected_delivery\": \"03/04/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}], \"subtotal\": 23651.0, \"tax_rate\": 0.08, \"tax\": 1892.08, \"freight\": 0.0, \"total\": 25543.08, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100270\", \"po_number\": \"PO-2026-52898\", \"received_date\": \"08-Mar-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-621692\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-621692\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-114947\", \"po_number\": \"PO-2026-52898\", \"grn_ref\": \"GRN-100270\", \"invoice_date\": \"2026-03-10\", \"due_date\": \"2026-03-25\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}], \"subtotal\": 23651.0, \"tax_rate\": 0.08, \"tax\": 1892.08, \"freight\": 0.0, \"total\": 25543.08, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52898 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"NSI-114947-R1\", \"po_number\": \"PO-2026-52898\", \"grn_ref\": \"GRN-100270\", \"invoice_date\": \"2026-03-22\", \"due_date\": \"2026-04-06\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 245.0, \"line_total\": 5880.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}], \"subtotal\": 23651.0, \"tax_rate\": 0.08, \"tax\": 1892.08, \"freight\": 0.0, \"total\": 25543.08, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-621692. Please remit to lockbox.\"}}"} {"case_id": "CASE_1847", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-52932", "grn_number": "GRN-100320", "invoice_number": "NSI-115017", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 84325.0, "po_tax": 5059.5, "po_freight": 0.0, "po_total": 89384.5, "invoice_subtotal": 84325.0, "invoice_tax": 5059.5, "invoice_freight": 550.0, "invoice_total": 89934.5, "total_variance": 550.0, "num_documents": 3, "po_file": "documents/CASE_1847/PO-2026-52932.png", "grn_file": "documents/CASE_1847/GRN-100320.docx", "invoice_file": "documents/CASE_1847/NSI-115017.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1847/PO-2026-52932.png", "documents/CASE_1847/GRN-100320.docx", "documents/CASE_1847/NSI-115017.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 550.0, \"variance_amount\": 550.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52932\", \"order_date\": \"04-Jul-2026\", \"expected_delivery\": \"14-Jul-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 50, \"unit_price\": 58.0, \"line_total\": 2900.0}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 520.0, \"line_total\": 26000.0}], \"subtotal\": 84325.0, \"tax_rate\": 0.06, \"tax\": 5059.5, \"freight\": 0.0, \"total\": 89384.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100320\", \"po_number\": \"PO-2026-52932\", \"received_date\": \"2026-07-08\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-792599\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-792599\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-115017\", \"po_number\": \"PO-2026-52932\", \"grn_ref\": \"GRN-100320\", \"invoice_date\": \"Jul 10, 2026\", \"due_date\": \"Aug 09, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}, {\"line_no\": 2, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 215.0, \"line_total\": 3225.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 50, \"unit_price\": 58.0, \"line_total\": 2900.0}, {\"line_no\": 5, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 520.0, \"line_total\": 26000.0}], \"subtotal\": 84325.0, \"tax_rate\": 0.06, \"tax\": 5059.5, \"freight\": 550.0, \"total\": 89934.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52932 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1851", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-52960", "grn_number": "GRN-100362", "invoice_number": "SSP-115072", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 6060.0, "po_tax": 363.6, "po_freight": 0.0, "po_total": 6423.6, "invoice_subtotal": 6060.0, "invoice_tax": 363.6, "invoice_freight": 315.0, "invoice_total": 6738.6, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_1851/PO-2026-52960.docx", "grn_file": "documents/CASE_1851/GRN-100362.pdf", "invoice_file": "documents/CASE_1851/SSP-115072.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1851/PO-2026-52960.docx", "documents/CASE_1851/GRN-100362.pdf", "documents/CASE_1851/SSP-115072.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52960\", \"order_date\": \"28-Mar-2026\", \"expected_delivery\": \"07-Apr-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}], \"subtotal\": 6060.0, \"tax_rate\": 0.06, \"tax\": 363.6, \"freight\": 0.0, \"total\": 6423.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100362\", \"po_number\": \"PO-2026-52960\", \"received_date\": \"2026-04-08\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-758955\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-758955\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-115072\", \"po_number\": \"PO-2026-52960\", \"grn_ref\": \"GRN-100362\", \"invoice_date\": \"Apr 10, 2026\", \"due_date\": \"May 10, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}], \"subtotal\": 6060.0, \"tax_rate\": 0.06, \"tax\": 363.6, \"freight\": 315.0, \"total\": 6738.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52960 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1853", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-52976", "grn_number": "", "invoice_number": "TP-115098", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 8289.0, "po_tax": 683.84, "po_freight": 0.0, "po_total": 8972.84, "invoice_subtotal": 8289.0, "invoice_tax": 683.84, "invoice_freight": 0.0, "invoice_total": 8972.84, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_1853/PO-2026-52976.png", "grn_file": "", "invoice_file": "documents/CASE_1853/TP-115098.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1853/PO-2026-52976.png", "documents/CASE_1853/TP-115098.pdf"], "file_formats": ["png", "pdf"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-52976\", \"invoice_number\": \"TP-115098\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-52976\", \"order_date\": \"Oct 01, 2026\", \"expected_delivery\": \"Oct 11, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 12, \"unit_price\": 112.0, \"line_total\": 1344.0}], \"subtotal\": 8289.0, \"tax_rate\": 0.0825, \"tax\": 683.84, \"freight\": 0.0, \"total\": 8972.84, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-115098\", \"po_number\": \"PO-2026-52976\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"07-Oct-2026\", \"due_date\": \"06-Nov-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 164.0, \"line_total\": 4920.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 12, \"unit_price\": 112.0, \"line_total\": 1344.0}], \"subtotal\": 8289.0, \"tax_rate\": 0.0825, \"tax\": 683.84, \"freight\": 0.0, \"total\": 8972.84, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-52976 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1857", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-53004", "grn_number": "GRN-100431", "invoice_number": "INV-APX-115150", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 4440.0, "po_tax": 355.2, "po_freight": 0.0, "po_total": 4795.2, "invoice_subtotal": 4440.0, "invoice_tax": 355.2, "invoice_freight": 185.0, "invoice_total": 4980.2, "total_variance": 185.0, "num_documents": 3, "po_file": "documents/CASE_1857/PO-2026-53004.docx", "grn_file": "documents/CASE_1857/GRN-100431.pdf", "invoice_file": "documents/CASE_1857/INV-APX-115150.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1857/PO-2026-53004.docx", "documents/CASE_1857/GRN-100431.pdf", "documents/CASE_1857/INV-APX-115150.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 185.0, \"variance_amount\": 185.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53004\", \"order_date\": \"Sep 21, 2026\", \"expected_delivery\": \"Oct 01, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}], \"subtotal\": 4440.0, \"tax_rate\": 0.08, \"tax\": 355.2, \"freight\": 0.0, \"total\": 4795.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100431\", \"po_number\": \"PO-2026-53004\", \"received_date\": \"09/28/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-188163\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-188163\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-115150\", \"po_number\": \"PO-2026-53004\", \"grn_ref\": \"GRN-100431\", \"invoice_date\": \"30-Sep-2026\", \"due_date\": \"30-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}], \"subtotal\": 4440.0, \"tax_rate\": 0.08, \"tax\": 355.2, \"freight\": 185.0, \"total\": 4980.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53004 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1858", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53009", "grn_number": "GRN-100442", "invoice_number": "PKR-115160", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 3118.0, "po_tax": 249.44, "po_freight": 0.0, "po_total": 3367.44, "invoice_subtotal": 3118.0, "invoice_tax": 249.44, "invoice_freight": 0.0, "invoice_total": 3367.44, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1858/PO-2026-53009.pdf", "grn_file": "documents/CASE_1858/GRN-100442.jpg", "invoice_file": "documents/CASE_1858/PKR-115160.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1858/PO-2026-53009.pdf", "documents/CASE_1858/GRN-100442.jpg", "documents/CASE_1858/PKR-115160.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53009\", \"order_date\": \"02/27/2026\", \"expected_delivery\": \"03/09/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 10, \"unit_price\": 145.0, \"line_total\": 1450.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 768.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 22.5, \"line_total\": 900.0}], \"subtotal\": 3118.0, \"tax_rate\": 0.08, \"tax\": 249.44, \"freight\": 0.0, \"total\": 3367.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100442\", \"po_number\": \"PO-2026-53009\", \"received_date\": \"07-Mar-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-660047\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-660047\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-115160\", \"po_number\": \"PO-2026-53009\", \"grn_ref\": \"GRN-100442\", \"invoice_date\": \"2026-03-11\", \"due_date\": \"2026-04-10\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 10, \"unit_price\": 145.0, \"line_total\": 1450.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 64.0, \"line_total\": 768.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 22.5, \"line_total\": 900.0}], \"subtotal\": 3118.0, \"tax_rate\": 0.08, \"tax\": 249.44, \"freight\": 0.0, \"total\": 3367.44, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53009 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1859", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-53014", "grn_number": "GRN-100451", "invoice_number": "INV-APX-115173", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 1265.0, "po_tax": 101.2, "po_freight": 35.0, "po_total": 1401.2, "invoice_subtotal": 1265.0, "invoice_tax": 101.2, "invoice_freight": 35.0, "invoice_total": 1401.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1859/PO-2026-53014.png", "grn_file": "documents/CASE_1859/GRN-100451.docx", "invoice_file": "documents/CASE_1859/INV-APX-115173.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1859/PO-2026-53014.png", "documents/CASE_1859/GRN-100451.docx", "documents/CASE_1859/INV-APX-115173.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 5 units for IND-4452, but warehouse only received 3 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"IND-4452\", \"po_qty\": 5, \"received_qty\": 3, \"invoiced_qty\": 5, \"overbilled_qty\": 2, \"variance_amount\": 136.0, \"note\": \"Vendor billed 5 units for IND-4452, but warehouse only received 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53014\", \"order_date\": \"25-Aug-2026\", \"expected_delivery\": \"04-Sep-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 1265.0, \"tax_rate\": 0.08, \"tax\": 101.2, \"freight\": 35.0, \"total\": 1401.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100451\", \"po_number\": \"PO-2026-53014\", \"received_date\": \"2026-09-03\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-221525\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 3, \"qty_accepted\": 3, \"qty_rejected\": 0, \"condition\": \"Short 2 CS (Backordered)\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 3 of 5 on IND-4452 (short 2 CS). - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-221525\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-115173\", \"po_number\": \"PO-2026-53014\", \"grn_ref\": \"GRN-100451\", \"invoice_date\": \"Sep 08, 2026\", \"due_date\": \"Sep 23, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 1265.0, \"tax_rate\": 0.08, \"tax\": 101.2, \"freight\": 35.0, \"total\": 1401.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53014 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1860", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53022", "grn_number": "GRN-100463", "invoice_number": "TP-115182", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 19730.0, "po_tax": 1183.8, "po_freight": 0.0, "po_total": 20913.8, "invoice_subtotal": 19730.0, "invoice_tax": 1183.8, "invoice_freight": 0.0, "invoice_total": 20913.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1860/PO-2026-53022.docx", "grn_file": "documents/CASE_1860/GRN-100463.jpg", "invoice_file": "documents/CASE_1860/TP-115182.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1860/PO-2026-53022.docx", "documents/CASE_1860/GRN-100463.jpg", "documents/CASE_1860/TP-115182.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53022\", \"order_date\": \"2026-01-11\", \"expected_delivery\": \"2026-01-21\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 135.0, \"line_total\": 4050.0}], \"subtotal\": 19730.0, \"tax_rate\": 0.06, \"tax\": 1183.8, \"freight\": 0.0, \"total\": 20913.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100463\", \"po_number\": \"PO-2026-53022\", \"received_date\": \"Jan 24, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-270769\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-270769\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-115182\", \"po_number\": \"PO-2026-53022\", \"grn_ref\": \"GRN-100463\", \"invoice_date\": \"01/25/2026\", \"due_date\": \"02/24/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 460.0, \"line_total\": 11040.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 135.0, \"line_total\": 4050.0}], \"subtotal\": 19730.0, \"tax_rate\": 0.06, \"tax\": 1183.8, \"freight\": 0.0, \"total\": 20913.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53022 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1862", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53035", "grn_number": "GRN-100486", "invoice_number": "PKR-115214", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 4205.0, "po_tax": 304.86, "po_freight": 120.0, "po_total": 4629.86, "invoice_subtotal": 4205.0, "invoice_tax": 304.86, "invoice_freight": 120.0, "invoice_total": 4629.86, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1862/PO-2026-53035.jpg", "grn_file": "documents/CASE_1862/GRN-100486.pdf", "invoice_file": "documents/CASE_1862/PKR-115214.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1862/PO-2026-53035.jpg", "documents/CASE_1862/GRN-100486.pdf", "documents/CASE_1862/PKR-115214.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53035\", \"order_date\": \"03/23/2026\", \"expected_delivery\": \"04/02/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 64.0, \"line_total\": 640.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 76.0, \"line_total\": 760.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 5, \"unit_price\": 145.0, \"line_total\": 725.0}], \"subtotal\": 4205.0, \"tax_rate\": 0.0725, \"tax\": 304.86, \"freight\": 120.0, \"total\": 4629.86, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100486\", \"po_number\": \"PO-2026-53035\", \"received_date\": \"06-Apr-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-739881\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-739881\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-115214\", \"po_number\": \"PO-2026-53035\", \"grn_ref\": \"GRN-100486\", \"invoice_date\": \"2026-04-12\", \"due_date\": \"2026-05-12\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 64.0, \"line_total\": 640.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 76.0, \"line_total\": 760.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 5, \"unit_price\": 145.0, \"line_total\": 725.0}], \"subtotal\": 4205.0, \"tax_rate\": 0.0725, \"tax\": 304.86, \"freight\": 120.0, \"total\": 4629.86, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53035 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1863", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-53046", "grn_number": "GRN-100497", "invoice_number": "TP-115226", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 8088.0, "po_tax": 485.28, "po_freight": 0.0, "po_total": 8573.28, "invoice_subtotal": 8088.0, "invoice_tax": 485.28, "invoice_freight": 0.0, "invoice_total": 8573.28, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1863/PO-2026-53046.docx", "grn_file": "documents/CASE_1863/GRN-100497.pdf", "invoice_file": "documents/CASE_1863/TP-115226.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1863/PO-2026-53046.docx", "documents/CASE_1863/GRN-100497.pdf", "documents/CASE_1863/TP-115226.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 12 units for LAB-2119, but warehouse only received 8 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"LAB-2119\", \"po_qty\": 12, \"received_qty\": 8, \"invoiced_qty\": 12, \"overbilled_qty\": 4, \"variance_amount\": 352.0, \"note\": \"Vendor billed 12 units for LAB-2119, but warehouse only received 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53046\", \"order_date\": \"23-Jul-2026\", \"expected_delivery\": \"02-Aug-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 4, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}], \"subtotal\": 8088.0, \"tax_rate\": 0.06, \"tax\": 485.28, \"freight\": 0.0, \"total\": 8573.28, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100497\", \"po_number\": \"PO-2026-53046\", \"received_date\": \"2026-08-05\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-307246\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Short 4 CS (Backordered)\"}, {\"line_no\": 4, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 8 of 12 on LAB-2119 (short 4 CS). - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-307246\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-115226\", \"po_number\": \"PO-2026-53046\", \"grn_ref\": \"GRN-100497\", \"invoice_date\": \"Aug 09, 2026\", \"due_date\": \"Sep 08, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 164.0, \"line_total\": 1312.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 88.0, \"line_total\": 1056.0}, {\"line_no\": 4, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 10, \"unit_price\": 112.0, \"line_total\": 1120.0}], \"subtotal\": 8088.0, \"tax_rate\": 0.06, \"tax\": 485.28, \"freight\": 0.0, \"total\": 8573.28, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53046 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1864", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-53052", "grn_number": "GRN-100511", "invoice_number": "PPS-115234", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 27445.0, "po_tax": 1646.7, "po_freight": 0.0, "po_total": 29091.7, "invoice_subtotal": 27979.0, "invoice_tax": 1678.74, "invoice_freight": 0.0, "invoice_total": 29657.74, "total_variance": 566.04, "num_documents": 3, "po_file": "documents/CASE_1864/PO-2026-53052.pdf", "grn_file": "documents/CASE_1864/GRN-100511.jpg", "invoice_file": "documents/CASE_1864/PPS-115234.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1864/PO-2026-53052.pdf", "documents/CASE_1864/GRN-100511.jpg", "documents/CASE_1864/PPS-115234.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7218 ($534.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 5, \"sku\": \"ELC-7218\", \"invoiced_qty\": 6, \"invoice_unit_price\": 89.0, \"variance_amount\": 534.0, \"note\": \"Invoice includes line item ELC-7218 ($534.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53052\", \"order_date\": \"2026-07-16\", \"expected_delivery\": \"2026-07-26\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 27445.0, \"tax_rate\": 0.06, \"tax\": 1646.7, \"freight\": 0.0, \"total\": 29091.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100511\", \"po_number\": \"PO-2026-53052\", \"received_date\": \"Jul 28, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-430348\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-430348\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-115234\", \"po_number\": \"PO-2026-53052\", \"grn_ref\": \"GRN-100511\", \"invoice_date\": \"07/29/2026\", \"due_date\": \"09/12/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 4, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 5, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 6, \"unit_price\": 89.0, \"line_total\": 534.0}], \"subtotal\": 27979.0, \"tax_rate\": 0.06, \"tax\": 1678.74, \"freight\": 0.0, \"total\": 29657.74, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53052 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1865", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-53057", "grn_number": "GRN-100520", "invoice_number": "PPS-115252", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 22515.0, "po_tax": 1801.2, "po_freight": 95.0, "po_total": 24411.2, "invoice_subtotal": 22515.0, "invoice_tax": 1801.2, "invoice_freight": 95.0, "invoice_total": 24411.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1865/PO-2026-53057.png", "grn_file": "documents/CASE_1865/GRN-100520.docx", "invoice_file": "documents/CASE_1865/PPS-115252.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1865/PO-2026-53057.png", "documents/CASE_1865/GRN-100520.docx", "documents/CASE_1865/PPS-115252.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 15 units for ELC-7244, but warehouse only received 11 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"ELC-7244\", \"po_qty\": 15, \"received_qty\": 11, \"invoiced_qty\": 15, \"overbilled_qty\": 4, \"variance_amount\": 2160.0, \"note\": \"Vendor billed 15 units for ELC-7244, but warehouse only received 11 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53057\", \"order_date\": \"Apr 13, 2026\", \"expected_delivery\": \"Apr 23, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}], \"subtotal\": 22515.0, \"tax_rate\": 0.08, \"tax\": 1801.2, \"freight\": 95.0, \"total\": 24411.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100520\", \"po_number\": \"PO-2026-53057\", \"received_date\": \"04/21/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-849140\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 11, \"qty_accepted\": 11, \"qty_rejected\": 0, \"condition\": \"Short 4 EA (Backordered)\"}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 11 of 15 on ELC-7244 (short 4 EA). - M. Okafor\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-849140\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-115252\", \"po_number\": \"PO-2026-53057\", \"grn_ref\": \"GRN-100520\", \"invoice_date\": \"27-Apr-2026\", \"due_date\": \"27-May-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 540.0, \"line_total\": 8100.0}, {\"line_no\": 3, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}], \"subtotal\": 22515.0, \"tax_rate\": 0.08, \"tax\": 1801.2, \"freight\": 95.0, \"total\": 24411.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53057 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1867", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-53072", "grn_number": "GRN-100546", "invoice_number": "PPS-115274", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 9103.5, "po_tax": 728.28, "po_freight": 0.0, "po_total": 9831.78, "invoice_subtotal": 9103.5, "invoice_tax": 728.28, "invoice_freight": 0.0, "invoice_total": 9831.78, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1867/PO-2026-53072.pdf", "grn_file": "documents/CASE_1867/GRN-100546.docx", "invoice_file": "documents/CASE_1867/PPS-115274.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1867/PO-2026-53072.pdf", "documents/CASE_1867/GRN-100546.docx", "documents/CASE_1867/PPS-115274.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of ELC-7260 failed dock inspection and were rejected, but vendor billed full 10 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 4, \"sku\": \"ELC-7260\", \"po_qty\": 10, \"received_qty\": 10, \"accepted_qty\": 8, \"rejected_qty\": 2, \"invoiced_qty\": 10, \"variance_amount\": 620.0, \"note\": \"2 delivered units of ELC-7260 failed dock inspection and were rejected, but vendor billed full 10 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53072\", \"order_date\": \"12-Jan-2026\", \"expected_delivery\": \"22-Jan-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 89.0, \"line_total\": 2136.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}], \"subtotal\": 9103.5, \"tax_rate\": 0.08, \"tax\": 728.28, \"freight\": 0.0, \"total\": 9831.78, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100546\", \"po_number\": \"PO-2026-53072\", \"received_date\": \"2026-01-21\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-480364\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 8, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of ELC-7260 water/crush damaged; refused & RMA requested! Accepted 8. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-480364\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-115274\", \"po_number\": \"PO-2026-53072\", \"grn_ref\": \"GRN-100546\", \"invoice_date\": \"Jan 25, 2026\", \"due_date\": \"Feb 24, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 89.0, \"line_total\": 2136.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}], \"subtotal\": 9103.5, \"tax_rate\": 0.08, \"tax\": 728.28, \"freight\": 0.0, \"total\": 9831.78, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53072 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1868", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-53077", "grn_number": "GRN-100552", "invoice_number": "VEP-115292", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 17364.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 17364.0, "invoice_subtotal": 17542.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 17542.0, "total_variance": 178.0, "num_documents": 3, "po_file": "documents/CASE_1868/PO-2026-53077.jpg", "grn_file": "documents/CASE_1868/GRN-100552.pdf", "invoice_file": "documents/CASE_1868/VEP-115292.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1868/PO-2026-53077.jpg", "documents/CASE_1868/GRN-100552.pdf", "documents/CASE_1868/VEP-115292.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item ELC-7218 ($178.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"ELC-7218\", \"invoiced_qty\": 2, \"invoice_unit_price\": 89.0, \"variance_amount\": 178.0, \"note\": \"Invoice includes line item ELC-7218 ($178.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53077\", \"order_date\": \"2026-03-21\", \"expected_delivery\": \"2026-03-31\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 17364.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 17364.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100552\", \"po_number\": \"PO-2026-53077\", \"received_date\": \"Mar 28, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-447115\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-447115\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-115292\", \"po_number\": \"PO-2026-53077\", \"grn_ref\": \"GRN-100552\", \"invoice_date\": \"04/01/2026\", \"due_date\": \"05/16/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 28.5, \"line_total\": 684.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 12, \"unit_price\": 310.0, \"line_total\": 3720.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 2, \"unit_price\": 89.0, \"line_total\": 178.0}], \"subtotal\": 17542.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 17542.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53077 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1872", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-53107", "grn_number": "GRN-100601", "invoice_number": "INV-APX-115340", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 24796.0, "po_tax": 1797.71, "po_freight": 0.0, "po_total": 26593.71, "invoice_subtotal": 24796.0, "invoice_tax": 1797.71, "invoice_freight": 315.0, "invoice_total": 26908.71, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_1872/PO-2026-53107.docx", "grn_file": "documents/CASE_1872/GRN-100601.jpg", "invoice_file": "documents/CASE_1872/INV-APX-115340.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1872/PO-2026-53107.docx", "documents/CASE_1872/GRN-100601.jpg", "documents/CASE_1872/INV-APX-115340.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53107\", \"order_date\": \"2026-08-09\", \"expected_delivery\": \"2026-08-19\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}], \"subtotal\": 24796.0, \"tax_rate\": 0.0725, \"tax\": 1797.71, \"freight\": 0.0, \"total\": 26593.71, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100601\", \"po_number\": \"PO-2026-53107\", \"received_date\": \"Aug 21, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-776161\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-776161\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-115340\", \"po_number\": \"PO-2026-53107\", \"grn_ref\": \"GRN-100601\", \"invoice_date\": \"08/23/2026\", \"due_date\": \"09/22/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}], \"subtotal\": 24796.0, \"tax_rate\": 0.0725, \"tax\": 1797.71, \"freight\": 315.0, \"total\": 26908.71, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53107 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1873", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53114", "grn_number": "GRN-100609", "invoice_number": "SSP-115354", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 4084.0, "po_tax": 336.93, "po_freight": 120.0, "po_total": 4540.93, "invoice_subtotal": 4084.0, "invoice_tax": 336.93, "invoice_freight": 120.0, "invoice_total": 4540.93, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1873/PO-2026-53114.pdf", "grn_file": "documents/CASE_1873/GRN-100609.docx", "invoice_file": "documents/CASE_1873/SSP-115354.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1873/PO-2026-53114.pdf", "documents/CASE_1873/GRN-100609.docx", "documents/CASE_1873/SSP-115354.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53114\", \"order_date\": \"Sep 07, 2026\", \"expected_delivery\": \"Sep 17, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}], \"subtotal\": 4084.0, \"tax_rate\": 0.0825, \"tax\": 336.93, \"freight\": 120.0, \"total\": 4540.93, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100609\", \"po_number\": \"PO-2026-53114\", \"received_date\": \"09/14/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-782659\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-782659\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-115354\", \"po_number\": \"PO-2026-53114\", \"grn_ref\": \"GRN-100609\", \"invoice_date\": \"20-Sep-2026\", \"due_date\": \"20-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}], \"subtotal\": 4084.0, \"tax_rate\": 0.0825, \"tax\": 336.93, \"freight\": 120.0, \"total\": 4540.93, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53114 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1881", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-53168", "grn_number": "GRN-100697", "invoice_number": "KWS-115461", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 23765.0, "po_tax": 1722.96, "po_freight": 0.0, "po_total": 25487.96, "invoice_subtotal": 23765.0, "invoice_tax": 1722.96, "invoice_freight": 0.0, "invoice_total": 25487.96, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1881/PO-2026-53168.docx", "grn_file": "documents/CASE_1881/GRN-100697.pdf", "invoice_file": "documents/CASE_1881/KWS-115461.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1881/PO-2026-53168.docx", "documents/CASE_1881/GRN-100697.pdf", "documents/CASE_1881/KWS-115461.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 24 units for FRN-6118, but warehouse only received 19 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"FRN-6118\", \"po_qty\": 24, \"received_qty\": 19, \"invoiced_qty\": 24, \"overbilled_qty\": 5, \"variance_amount\": 1925.0, \"note\": \"Vendor billed 24 units for FRN-6118, but warehouse only received 19 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53168\", \"order_date\": \"Jul 07, 2026\", \"expected_delivery\": \"Jul 17, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}], \"subtotal\": 23765.0, \"tax_rate\": 0.0725, \"tax\": 1722.96, \"freight\": 0.0, \"total\": 25487.96, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100697\", \"po_number\": \"PO-2026-53168\", \"received_date\": \"07/12/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-194969\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 19, \"qty_accepted\": 19, \"qty_rejected\": 0, \"condition\": \"Short 5 EA (Backordered)\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 19 of 24 on FRN-6118 (short 5 EA). - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-194969\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-115461\", \"po_number\": \"PO-2026-53168\", \"grn_ref\": \"GRN-100697\", \"invoice_date\": \"12-Jul-2026\", \"due_date\": \"27-Jul-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 385.0, \"line_total\": 9240.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}], \"subtotal\": 23765.0, \"tax_rate\": 0.0725, \"tax\": 1722.96, \"freight\": 0.0, \"total\": 25487.96, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53168 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1886", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-53207", "grn_number": "GRN-100755", "invoice_number": "SSP-115521", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 8202.0, "po_tax": 676.67, "po_freight": 0.0, "po_total": 8878.67, "invoice_subtotal": 9087.0, "invoice_tax": 749.68, "invoice_freight": 0.0, "invoice_total": 9836.68, "total_variance": 958.01, "num_documents": 3, "po_file": "documents/CASE_1886/PO-2026-53207.jpg", "grn_file": "documents/CASE_1886/GRN-100755.pdf", "invoice_file": "documents/CASE_1886/SSP-115521.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1886/PO-2026-53207.jpg", "documents/CASE_1886/GRN-100755.pdf", "documents/CASE_1886/SSP-115521.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 3, \"sku\": \"IND-4503\", \"po_qty\": 10, \"received_qty\": 13, \"invoiced_qty\": 13, \"over_qty\": 3, \"variance_amount\": 885.0, \"note\": \"Shipped and billed 13 units vs 10 ordered (+3 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53207\", \"order_date\": \"10/03/2026\", \"expected_delivery\": \"10/13/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}], \"subtotal\": 8202.0, \"tax_rate\": 0.0825, \"tax\": 676.67, \"freight\": 0.0, \"total\": 8878.67, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100755\", \"po_number\": \"PO-2026-53207\", \"received_date\": \"15-Oct-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-571192\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 13, \"qty_accepted\": 13, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+3 EA over PO)\"}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 13 (3 extra over PO) on IND-4503. Held in quarantine. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-571192\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-115521\", \"po_number\": \"PO-2026-53207\", \"grn_ref\": \"GRN-100755\", \"invoice_date\": \"2026-10-15\", \"due_date\": \"2026-11-14\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 68.0, \"line_total\": 680.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 13, \"unit_price\": 295.0, \"line_total\": 3835.0}, {\"line_no\": 4, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}], \"subtotal\": 9087.0, \"tax_rate\": 0.0825, \"tax\": 749.68, \"freight\": 0.0, \"total\": 9836.68, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53207 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1891", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-53239", "grn_number": "GRN-100809", "invoice_number": "TP-115585", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 12770.0, "po_tax": 1053.53, "po_freight": 0.0, "po_total": 13823.53, "invoice_subtotal": 12770.0, "invoice_tax": 1053.53, "invoice_freight": 0.0, "invoice_total": 13913.53, "total_variance": 90.0, "num_documents": 3, "po_file": "documents/CASE_1891/PO-2026-53239.pdf", "grn_file": "documents/CASE_1891/GRN-100809.docx", "invoice_file": "documents/CASE_1891/TP-115585.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1891/PO-2026-53239.pdf", "documents/CASE_1891/GRN-100809.docx", "documents/CASE_1891/TP-115585.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($12770.00) + Tax ($1053.53) + Freight ($0.00) = $13823.53, but Invoice Total Due states $13913.53.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 13823.53, \"invoice_stated_total\": 13913.53, \"variance_amount\": 90.0, \"note\": \"Invoice total summation error: Subtotal ($12770.00) + Tax ($1053.53) + Freight ($0.00) = $13823.53, but Invoice Total Due states $13913.53.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53239\", \"order_date\": \"20-Feb-2026\", \"expected_delivery\": \"02-Mar-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 135.0, \"line_total\": 6750.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 12770.0, \"tax_rate\": 0.0825, \"tax\": 1053.53, \"freight\": 0.0, \"total\": 13823.53, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100809\", \"po_number\": \"PO-2026-53239\", \"received_date\": \"2026-02-27\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-131963\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-131963\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-115585\", \"po_number\": \"PO-2026-53239\", \"grn_ref\": \"GRN-100809\", \"invoice_date\": \"Feb 28, 2026\", \"due_date\": \"Mar 15, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 135.0, \"line_total\": 6750.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 164.0, \"line_total\": 820.0}], \"subtotal\": 12770.0, \"tax_rate\": 0.0825, \"tax\": 1053.53, \"freight\": 0.0, \"total\": 13913.53, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53239 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1895", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-53269", "grn_number": "GRN-100854", "invoice_number": "SSP-115638", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 14408.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 14408.0, "invoice_subtotal": 14408.0, "invoice_tax": 0.0, "invoice_freight": 5.3, "invoice_total": 14413.3, "total_variance": 5.3, "num_documents": 3, "po_file": "documents/CASE_1895/PO-2026-53269.png", "grn_file": "documents/CASE_1895/GRN-100854.docx", "invoice_file": "documents/CASE_1895/SSP-115638.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1895/PO-2026-53269.png", "documents/CASE_1895/GRN-100854.docx", "documents/CASE_1895/SSP-115638.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $5.30 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 5.3, \"variance_amount\": 5.3, \"note\": \"Prepaid & Add shipping fee of $5.30 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53269\", \"order_date\": \"02-Feb-2026\", \"expected_delivery\": \"12-Feb-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 14408.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 14408.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100854\", \"po_number\": \"PO-2026-53269\", \"received_date\": \"2026-02-15\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-308618\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-308618\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-115638\", \"po_number\": \"PO-2026-53269\", \"grn_ref\": \"GRN-100854\", \"invoice_date\": \"Feb 16, 2026\", \"due_date\": \"Mar 03, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 185.0, \"line_total\": 9250.0}], \"subtotal\": 14408.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 5.3, \"total\": 14413.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53269 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1897", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-53281", "grn_number": "GRN-100872", "invoice_number": "PPS-115663", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 41800.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 41800.0, "invoice_subtotal": 41800.0, "invoice_tax": 0.0, "invoice_freight": 9.6, "invoice_total": 41809.6, "total_variance": 9.6, "num_documents": 3, "po_file": "documents/CASE_1897/PO-2026-53281.pdf", "grn_file": "documents/CASE_1897/GRN-100872.docx", "invoice_file": "documents/CASE_1897/PPS-115663.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1897/PO-2026-53281.pdf", "documents/CASE_1897/GRN-100872.docx", "documents/CASE_1897/PPS-115663.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $9.60 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 9.6, \"variance_amount\": 9.6, \"note\": \"Prepaid & Add shipping fee of $9.60 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53281\", \"order_date\": \"Jun 02, 2026\", \"expected_delivery\": \"Jun 12, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}], \"subtotal\": 41800.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 41800.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100872\", \"po_number\": \"PO-2026-53281\", \"received_date\": \"06/09/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-258854\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-258854\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-115663\", \"po_number\": \"PO-2026-53281\", \"grn_ref\": \"GRN-100872\", \"invoice_date\": \"12-Jun-2026\", \"due_date\": \"12-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}], \"subtotal\": 41800.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 9.6, \"total\": 41809.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53281 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1898", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-53291", "grn_number": "GRN-100887", "invoice_number": "VEP-115677", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 7320.0, "po_tax": 439.2, "po_freight": 0.0, "po_total": 7759.2, "invoice_subtotal": 7943.0, "invoice_tax": 476.58, "invoice_freight": 0.0, "invoice_total": 8419.58, "total_variance": 660.38, "num_documents": 3, "po_file": "documents/CASE_1898/PO-2026-53291.jpg", "grn_file": "documents/CASE_1898/GRN-100887.pdf", "invoice_file": "documents/CASE_1898/VEP-115677.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1898/PO-2026-53291.jpg", "documents/CASE_1898/GRN-100887.pdf", "documents/CASE_1898/VEP-115677.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 37 units vs 30 ordered (+7 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_qty\": 30, \"received_qty\": 37, \"invoiced_qty\": 37, \"over_qty\": 7, \"variance_amount\": 623.0, \"note\": \"Shipped and billed 37 units vs 30 ordered (+7 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53291\", \"order_date\": \"08/31/2026\", \"expected_delivery\": \"09/10/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}], \"subtotal\": 7320.0, \"tax_rate\": 0.06, \"tax\": 439.2, \"freight\": 0.0, \"total\": 7759.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100887\", \"po_number\": \"PO-2026-53291\", \"received_date\": \"07-Sep-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-962570\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 37, \"qty_accepted\": 37, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+7 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 37 (7 extra over PO) on ELC-7218. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-962570\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-115677\", \"po_number\": \"PO-2026-53291\", \"grn_ref\": \"GRN-100887\", \"invoice_date\": \"2026-09-12\", \"due_date\": \"2026-09-27\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 15, \"unit_price\": 310.0, \"line_total\": 4650.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 37, \"unit_price\": 89.0, \"line_total\": 3293.0}], \"subtotal\": 7943.0, \"tax_rate\": 0.06, \"tax\": 476.58, \"freight\": 0.0, \"total\": 8419.58, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53291 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1901", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-53309", "grn_number": "GRN-100920", "invoice_number": "PKR-115719", "duplicate_invoice_number": "PKR-901901", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 4288.0, "po_tax": 310.88, "po_freight": 0.0, "po_total": 4598.88, "invoice_subtotal": 4288.0, "invoice_tax": 310.88, "invoice_freight": 0.0, "invoice_total": 4598.88, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1901/PO-2026-53309.png", "grn_file": "documents/CASE_1901/GRN-100920.docx", "invoice_file": "documents/CASE_1901/PKR-115719.pdf", "duplicate_invoice_file": "documents/CASE_1901/PKR-901901.jpg", "file_paths": ["documents/CASE_1901/PO-2026-53309.png", "documents/CASE_1901/GRN-100920.docx", "documents/CASE_1901/PKR-115719.pdf", "documents/CASE_1901/PKR-901901.jpg"], "file_formats": ["png", "docx", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PKR-115719' and 'PKR-901901' bill $4598.88 against single receipt 'GRN-100920' / PO 'PO-2026-53309'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PKR-115719\", \"duplicate_invoice_number\": \"PKR-901901\", \"duplicate_billed_amount\": 4598.88, \"variance_amount\": 4598.88, \"note\": \"Duplicate billing detected: both 'PKR-115719' and 'PKR-901901' bill $4598.88 against single receipt 'GRN-100920' / PO 'PO-2026-53309'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53309\", \"order_date\": \"Jul 08, 2026\", \"expected_delivery\": \"Jul 18, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 24, \"unit_price\": 52.0, \"line_total\": 1248.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}], \"subtotal\": 4288.0, \"tax_rate\": 0.0725, \"tax\": 310.88, \"freight\": 0.0, \"total\": 4598.88, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-100920\", \"po_number\": \"PO-2026-53309\", \"received_date\": \"07/20/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-381880\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-381880\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-115719\", \"po_number\": \"PO-2026-53309\", \"grn_ref\": \"GRN-100920\", \"invoice_date\": \"26-Jul-2026\", \"due_date\": \"10-Aug-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 24, \"unit_price\": 52.0, \"line_total\": 1248.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}], \"subtotal\": 4288.0, \"tax_rate\": 0.0725, \"tax\": 310.88, \"freight\": 0.0, \"total\": 4598.88, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53309 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PKR-901901\", \"po_number\": \"PO-2026-53309\", \"grn_ref\": \"GRN-100920\", \"invoice_date\": \"02-Aug-2026\", \"due_date\": \"17-Aug-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 24, \"unit_price\": 52.0, \"line_total\": 1248.0}, {\"line_no\": 2, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 76.0, \"line_total\": 3040.0}], \"subtotal\": 4288.0, \"tax_rate\": 0.0725, \"tax\": 310.88, \"freight\": 0.0, \"total\": 4598.88, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-381880. Please remit to lockbox.\"}}"} {"case_id": "CASE_1913", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53395", "grn_number": "GRN-101052", "invoice_number": "INV-APX-115874", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 12688.5, "po_tax": 1046.8, "po_freight": 35.0, "po_total": 13770.3, "invoice_subtotal": 12688.5, "invoice_tax": 1046.8, "invoice_freight": 35.0, "invoice_total": 13770.3, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1913/PO-2026-53395.png", "grn_file": "documents/CASE_1913/GRN-101052.docx", "invoice_file": "documents/CASE_1913/INV-APX-115874.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1913/PO-2026-53395.png", "documents/CASE_1913/GRN-101052.docx", "documents/CASE_1913/INV-APX-115874.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53395\", \"order_date\": \"Feb 02, 2026\", \"expected_delivery\": \"Feb 12, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}], \"subtotal\": 12688.5, \"tax_rate\": 0.0825, \"tax\": 1046.8, \"freight\": 35.0, \"total\": 13770.3, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101052\", \"po_number\": \"PO-2026-53395\", \"received_date\": \"02/06/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-617055\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-617055\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-115874\", \"po_number\": \"PO-2026-53395\", \"grn_ref\": \"GRN-101052\", \"invoice_date\": \"09-Feb-2026\", \"due_date\": \"26-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}], \"subtotal\": 12688.5, \"tax_rate\": 0.0825, \"tax\": 1046.8, \"freight\": 35.0, \"total\": 13770.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53395 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1914", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53401", "grn_number": "GRN-101059", "invoice_number": "PKR-115889", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 4760.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 4760.0, "invoice_subtotal": 4760.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 4760.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1914/PO-2026-53401.docx", "grn_file": "documents/CASE_1914/GRN-101059.jpg", "invoice_file": "documents/CASE_1914/PKR-115889.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1914/PO-2026-53401.docx", "documents/CASE_1914/GRN-101059.jpg", "documents/CASE_1914/PKR-115889.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53401\", \"order_date\": \"07/05/2026\", \"expected_delivery\": \"07/15/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}], \"subtotal\": 4760.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 4760.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101059\", \"po_number\": \"PO-2026-53401\", \"received_date\": \"11-Jul-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-246271\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-246271\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-115889\", \"po_number\": \"PO-2026-53401\", \"grn_ref\": \"GRN-101059\", \"invoice_date\": \"2026-07-11\", \"due_date\": \"2026-07-26\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}], \"subtotal\": 4760.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 4760.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53401 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1919", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-53435", "grn_number": "GRN-101115", "invoice_number": "NSI-115955", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 33270.0, "po_tax": 2661.6, "po_freight": 95.0, "po_total": 36026.6, "invoice_subtotal": 33270.0, "invoice_tax": 2661.6, "invoice_freight": 95.0, "invoice_total": 36026.6, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1919/PO-2026-53435.png", "grn_file": "documents/CASE_1919/GRN-101115.docx", "invoice_file": "documents/CASE_1919/NSI-115955.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1919/PO-2026-53435.png", "documents/CASE_1919/GRN-101115.docx", "documents/CASE_1919/NSI-115955.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IT-8875 failed dock inspection and were rejected, but vendor billed full 5 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 4, \"sku\": \"IT-8875\", \"po_qty\": 5, \"received_qty\": 5, \"accepted_qty\": 3, \"rejected_qty\": 2, \"invoiced_qty\": 5, \"variance_amount\": 1380.0, \"note\": \"2 delivered units of IT-8875 failed dock inspection and were rejected, but vendor billed full 5 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53435\", \"order_date\": \"15-Apr-2026\", \"expected_delivery\": \"25-Apr-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}], \"subtotal\": 33270.0, \"tax_rate\": 0.08, \"tax\": 2661.6, \"freight\": 95.0, \"total\": 36026.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101115\", \"po_number\": \"PO-2026-53435\", \"received_date\": \"2026-04-28\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-308256\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 3, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IT-8875 water/crush damaged; refused & RMA requested! Accepted 3. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-308256\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-115955\", \"po_number\": \"PO-2026-53435\", \"grn_ref\": \"GRN-101115\", \"invoice_date\": \"May 01, 2026\", \"due_date\": \"May 31, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}], \"subtotal\": 33270.0, \"tax_rate\": 0.08, \"tax\": 2661.6, \"freight\": 95.0, \"total\": 36026.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53435 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1921", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53450", "grn_number": "GRN-101135", "invoice_number": "INV-APX-115981", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 9925.5, "po_tax": 794.04, "po_freight": 35.0, "po_total": 10754.54, "invoice_subtotal": 9925.5, "invoice_tax": 794.04, "invoice_freight": 35.0, "invoice_total": 10754.54, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1921/PO-2026-53450.pdf", "grn_file": "documents/CASE_1921/GRN-101135.docx", "invoice_file": "documents/CASE_1921/INV-APX-115981.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1921/PO-2026-53450.pdf", "documents/CASE_1921/GRN-101135.docx", "documents/CASE_1921/INV-APX-115981.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53450\", \"order_date\": \"Jul 18, 2026\", \"expected_delivery\": \"Jul 28, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}], \"subtotal\": 9925.5, \"tax_rate\": 0.08, \"tax\": 794.04, \"freight\": 35.0, \"total\": 10754.54, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101135\", \"po_number\": \"PO-2026-53450\", \"received_date\": \"07/31/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-682339\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-682339\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-115981\", \"po_number\": \"PO-2026-53450\", \"grn_ref\": \"GRN-101135\", \"invoice_date\": \"05-Aug-2026\", \"due_date\": \"04-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 15, \"unit_price\": 42.5, \"line_total\": 637.5}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 185.0, \"line_total\": 5550.0}, {\"line_no\": 5, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}], \"subtotal\": 9925.5, \"tax_rate\": 0.08, \"tax\": 794.04, \"freight\": 35.0, \"total\": 10754.54, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53450 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1922", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-53455", "grn_number": "GRN-101149", "invoice_number": "VEP-115987", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 20708.0, "po_tax": 1242.48, "po_freight": 35.0, "po_total": 21985.48, "invoice_subtotal": 20901.44, "invoice_tax": 1254.09, "invoice_freight": 35.0, "invoice_total": 22190.53, "total_variance": 205.05, "num_documents": 3, "po_file": "documents/CASE_1922/PO-2026-53455.jpg", "grn_file": "documents/CASE_1922/GRN-101149.pdf", "invoice_file": "documents/CASE_1922/VEP-115987.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1922/PO-2026-53455.jpg", "documents/CASE_1922/GRN-101149.pdf", "documents/CASE_1922/VEP-115987.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $105.12 exceeds contracted PO unit price $89.00 for ELC-7218.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"ELC-7218\", \"po_unit_price\": 89.0, \"invoice_unit_price\": 105.12, \"qty\": 12, \"variance_amount\": 193.44, \"note\": \"Invoice unit price $105.12 exceeds contracted PO unit price $89.00 for ELC-7218.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53455\", \"order_date\": \"06/03/2026\", \"expected_delivery\": \"06/13/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}], \"subtotal\": 20708.0, \"tax_rate\": 0.06, \"tax\": 1242.48, \"freight\": 35.0, \"total\": 21985.48, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101149\", \"po_number\": \"PO-2026-53455\", \"received_date\": \"15-Jun-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-186514\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-186514\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-115987\", \"po_number\": \"PO-2026-53455\", \"grn_ref\": \"GRN-101149\", \"invoice_date\": \"2026-06-21\", \"due_date\": \"2026-07-21\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 105.12, \"line_total\": 1261.44}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}], \"subtotal\": 20901.44, \"tax_rate\": 0.06, \"tax\": 1254.09, \"freight\": 35.0, \"total\": 22190.53, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53455 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1925", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-53478", "grn_number": "GRN-101180", "invoice_number": "NSI-116032", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 12714.0, "po_tax": 1048.91, "po_freight": 0.0, "po_total": 13762.91, "invoice_subtotal": 12714.0, "invoice_tax": 1048.91, "invoice_freight": 0.0, "invoice_total": 13942.91, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_1925/PO-2026-53478.png", "grn_file": "documents/CASE_1925/GRN-101180.docx", "invoice_file": "documents/CASE_1925/NSI-116032.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1925/PO-2026-53478.png", "documents/CASE_1925/GRN-101180.docx", "documents/CASE_1925/NSI-116032.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($12714.00) + Tax ($1048.91) + Freight ($0.00) = $13762.91, but Invoice Total Due states $13942.91.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 13762.91, \"invoice_stated_total\": 13942.91, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($12714.00) + Tax ($1048.91) + Freight ($0.00) = $13762.91, but Invoice Total Due states $13942.91.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53478\", \"order_date\": \"Feb 21, 2026\", \"expected_delivery\": \"Mar 03, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 245.0, \"line_total\": 12250.0}], \"subtotal\": 12714.0, \"tax_rate\": 0.0825, \"tax\": 1048.91, \"freight\": 0.0, \"total\": 13762.91, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101180\", \"po_number\": \"PO-2026-53478\", \"received_date\": \"03/04/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-717802\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-717802\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-116032\", \"po_number\": \"PO-2026-53478\", \"grn_ref\": \"GRN-101180\", \"invoice_date\": \"07-Mar-2026\", \"due_date\": \"21-Apr-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 245.0, \"line_total\": 12250.0}], \"subtotal\": 12714.0, \"tax_rate\": 0.0825, \"tax\": 1048.91, \"freight\": 0.0, \"total\": 13942.91, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53478 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1929", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-53504", "grn_number": "GRN-101226", "invoice_number": "SSP-116080", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 12747.0, "po_tax": 764.82, "po_freight": 0.0, "po_total": 13511.82, "invoice_subtotal": 12747.0, "invoice_tax": 764.82, "invoice_freight": 0.0, "invoice_total": 13511.82, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1929/PO-2026-53504.docx", "grn_file": "documents/CASE_1929/GRN-101226.pdf", "invoice_file": "documents/CASE_1929/SSP-116080.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1929/PO-2026-53504.docx", "documents/CASE_1929/GRN-101226.pdf", "documents/CASE_1929/SSP-116080.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "vendor_entity_mismatch", "primary_discrepancy_note": "Vendor entity mismatch: PO issued to 'Summit Safety & PPE Distributors' (Tax ID 84-3920115), but Invoice billed by 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034).", "discrepancies_json": "[{\"type\": \"vendor_entity_mismatch\", \"expected_po\": \"PO-2026-53504\", \"invoice_po_ref\": \"PO-2026-53504\", \"po_vendor\": \"Summit Safety & PPE Distributors\", \"invoice_vendor\": \"Pacific Photonics & Sensors Inc.\", \"note\": \"Vendor entity mismatch: PO issued to 'Summit Safety & PPE Distributors' (Tax ID 84-3920115), but Invoice billed by 'Pacific Photonics & Sensors Inc.' (Tax ID 94-8821034).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53504\", \"order_date\": \"Jun 15, 2026\", \"expected_delivery\": \"Jun 25, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}], \"subtotal\": 12747.0, \"tax_rate\": 0.06, \"tax\": 764.82, \"freight\": 0.0, \"total\": 13511.82, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101226\", \"po_number\": \"PO-2026-53504\", \"received_date\": \"06/23/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-105625\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-105625\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-116080\", \"po_number\": \"PO-2026-53504\", \"grn_ref\": \"GRN-101226\", \"invoice_date\": \"27-Jun-2026\", \"due_date\": \"12-Jul-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 3, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 295.0, \"line_total\": 1475.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 185.0, \"line_total\": 3700.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}], \"subtotal\": 12747.0, \"tax_rate\": 0.06, \"tax\": 764.82, \"freight\": 0.0, \"total\": 13511.82, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53504 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1938", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-53567", "grn_number": "GRN-101319", "invoice_number": "NSI-116201", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 75100.0, "po_tax": 5444.75, "po_freight": 35.0, "po_total": 80579.75, "invoice_subtotal": 76121.1, "invoice_tax": 5518.78, "invoice_freight": 35.0, "invoice_total": 81674.88, "total_variance": 1095.13, "num_documents": 3, "po_file": "documents/CASE_1938/PO-2026-53567.docx", "grn_file": "documents/CASE_1938/GRN-101319.jpg", "invoice_file": "documents/CASE_1938/NSI-116201.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1938/PO-2026-53567.docx", "documents/CASE_1938/GRN-101319.jpg", "documents/CASE_1938/NSI-116201.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $622.11 exceeds contracted PO unit price $520.00 for IT-8814.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"IT-8814\", \"po_unit_price\": 520.0, \"invoice_unit_price\": 622.11, \"qty\": 10, \"variance_amount\": 1021.1, \"note\": \"Invoice unit price $622.11 exceeds contracted PO unit price $520.00 for IT-8814.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53567\", \"order_date\": \"09/12/2026\", \"expected_delivery\": \"09/22/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 1180.0, \"line_total\": 35400.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}], \"subtotal\": 75100.0, \"tax_rate\": 0.0725, \"tax\": 5444.75, \"freight\": 35.0, \"total\": 80579.75, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101319\", \"po_number\": \"PO-2026-53567\", \"received_date\": \"21-Sep-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-303147\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-303147\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-116201\", \"po_number\": \"PO-2026-53567\", \"grn_ref\": \"GRN-101319\", \"invoice_date\": \"2026-09-27\", \"due_date\": \"2026-10-27\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 1180.0, \"line_total\": 35400.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 622.11, \"line_total\": 6221.1}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 690.0, \"line_total\": 34500.0}], \"subtotal\": 76121.1, \"tax_rate\": 0.0725, \"tax\": 5518.78, \"freight\": 35.0, \"total\": 81674.88, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53567 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1942", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-53599", "grn_number": "GRN-101370", "invoice_number": "VEP-116253", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 4035.0, "po_tax": 242.1, "po_freight": 50.0, "po_total": 4327.1, "invoice_subtotal": 4255.0, "invoice_tax": 255.3, "invoice_freight": 50.0, "invoice_total": 4560.3, "total_variance": 233.2, "num_documents": 3, "po_file": "documents/CASE_1942/PO-2026-53599.pdf", "grn_file": "documents/CASE_1942/GRN-101370.jpg", "invoice_file": "documents/CASE_1942/VEP-116253.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1942/PO-2026-53599.pdf", "documents/CASE_1942/GRN-101370.jpg", "documents/CASE_1942/VEP-116253.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 2 (ELC-7218): 15 x $89.00 should be $1335.00, but invoice states $1555.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 4327.1, \"invoice_stated_total\": 4560.3, \"variance_amount\": 233.2, \"note\": \"Invoice arithmetic error on line 2 (ELC-7218): 15 x $89.00 should be $1335.00, but invoice states $1555.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53599\", \"order_date\": \"04/15/2026\", \"expected_delivery\": \"04/25/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}], \"subtotal\": 4035.0, \"tax_rate\": 0.06, \"tax\": 242.1, \"freight\": 50.0, \"total\": 4327.1, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101370\", \"po_number\": \"PO-2026-53599\", \"received_date\": \"26-Apr-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-712149\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-712149\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-116253\", \"po_number\": \"PO-2026-53599\", \"grn_ref\": \"GRN-101370\", \"invoice_date\": \"2026-05-01\", \"due_date\": \"2026-05-16\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1555.0}], \"subtotal\": 4255.0, \"tax_rate\": 0.06, \"tax\": 255.3, \"freight\": 50.0, \"total\": 4560.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53599 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1943", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-53605", "grn_number": "GRN-101380", "invoice_number": "KWS-116266", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 18550.0, "po_tax": 1113.0, "po_freight": 50.0, "po_total": 19713.0, "invoice_subtotal": 19604.0, "invoice_tax": 1176.24, "invoice_freight": 50.0, "invoice_total": 20830.24, "total_variance": 1117.24, "num_documents": 3, "po_file": "documents/CASE_1943/PO-2026-53605.png", "grn_file": "documents/CASE_1943/GRN-101380.docx", "invoice_file": "documents/CASE_1943/KWS-116266.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1943/PO-2026-53605.png", "documents/CASE_1943/GRN-101380.docx", "documents/CASE_1943/KWS-116266.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $136.08 exceeds contracted PO unit price $115.00 for FRN-6159.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"FRN-6159\", \"po_unit_price\": 115.0, \"invoice_unit_price\": 136.08, \"qty\": 50, \"variance_amount\": 1054.0, \"note\": \"Invoice unit price $136.08 exceeds contracted PO unit price $115.00 for FRN-6159.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53605\", \"order_date\": \"30-May-2026\", \"expected_delivery\": \"09-Jun-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 115.0, \"line_total\": 5750.0}], \"subtotal\": 18550.0, \"tax_rate\": 0.06, \"tax\": 1113.0, \"freight\": 50.0, \"total\": 19713.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101380\", \"po_number\": \"PO-2026-53605\", \"received_date\": \"2026-06-07\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-686309\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-686309\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-116266\", \"po_number\": \"PO-2026-53605\", \"grn_ref\": \"GRN-101380\", \"invoice_date\": \"Jun 13, 2026\", \"due_date\": \"Jul 13, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 136.08, \"line_total\": 6804.0}], \"subtotal\": 19604.0, \"tax_rate\": 0.06, \"tax\": 1176.24, \"freight\": 50.0, \"total\": 20830.24, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53605 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1947", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-53634", "grn_number": "GRN-101419", "invoice_number": "NSI-116317", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 33556.0, "po_tax": 2013.36, "po_freight": 0.0, "po_total": 35569.36, "invoice_subtotal": 35095.5, "invoice_tax": 2105.73, "invoice_freight": 0.0, "invoice_total": 37201.23, "total_variance": 1631.87, "num_documents": 3, "po_file": "documents/CASE_1947/PO-2026-53634.docx", "grn_file": "documents/CASE_1947/GRN-101419.pdf", "invoice_file": "documents/CASE_1947/NSI-116317.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1947/PO-2026-53634.docx", "documents/CASE_1947/GRN-101419.pdf", "documents/CASE_1947/NSI-116317.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $275.79 exceeds contracted PO unit price $245.00 for IT-8829.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"IT-8829\", \"po_unit_price\": 245.0, \"invoice_unit_price\": 275.79, \"qty\": 50, \"variance_amount\": 1539.5, \"note\": \"Invoice unit price $275.79 exceeds contracted PO unit price $245.00 for IT-8829.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53634\", \"order_date\": \"28-Feb-2026\", \"expected_delivery\": \"10-Mar-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 245.0, \"line_total\": 12250.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 1180.0, \"line_total\": 14160.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 215.0, \"line_total\": 6450.0}], \"subtotal\": 33556.0, \"tax_rate\": 0.06, \"tax\": 2013.36, \"freight\": 0.0, \"total\": 35569.36, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101419\", \"po_number\": \"PO-2026-53634\", \"received_date\": \"2026-03-07\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-723088\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-723088\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-116317\", \"po_number\": \"PO-2026-53634\", \"grn_ref\": \"GRN-101419\", \"invoice_date\": \"Mar 09, 2026\", \"due_date\": \"Mar 24, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 275.79, \"line_total\": 13789.5}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 1180.0, \"line_total\": 14160.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 215.0, \"line_total\": 6450.0}], \"subtotal\": 35095.5, \"tax_rate\": 0.06, \"tax\": 2105.73, \"freight\": 0.0, \"total\": 37201.23, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53634 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1955", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-53690", "grn_number": "GRN-101507", "invoice_number": "SSP-116422", "duplicate_invoice_number": "SSP-901955", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 969.0, "po_tax": 70.25, "po_freight": 95.0, "po_total": 1134.25, "invoice_subtotal": 969.0, "invoice_tax": 70.25, "invoice_freight": 95.0, "invoice_total": 1134.25, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1955/PO-2026-53690.png", "grn_file": "documents/CASE_1955/GRN-101507.docx", "invoice_file": "documents/CASE_1955/SSP-116422.pdf", "duplicate_invoice_file": "documents/CASE_1955/SSP-901955.jpg", "file_paths": ["documents/CASE_1955/PO-2026-53690.png", "documents/CASE_1955/GRN-101507.docx", "documents/CASE_1955/SSP-116422.pdf", "documents/CASE_1955/SSP-901955.jpg"], "file_formats": ["png", "docx", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'SSP-116422' and 'SSP-901955' bill $1134.25 against single receipt 'GRN-101507' / PO 'PO-2026-53690'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"SSP-116422\", \"duplicate_invoice_number\": \"SSP-901955\", \"duplicate_billed_amount\": 1134.25, \"variance_amount\": 1134.25, \"note\": \"Duplicate billing detected: both 'SSP-116422' and 'SSP-901955' bill $1134.25 against single receipt 'GRN-101507' / PO 'PO-2026-53690'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53690\", \"order_date\": \"27-Mar-2026\", \"expected_delivery\": \"06-Apr-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}], \"subtotal\": 969.0, \"tax_rate\": 0.0725, \"tax\": 70.25, \"freight\": 95.0, \"total\": 1134.25, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101507\", \"po_number\": \"PO-2026-53690\", \"received_date\": \"2026-04-07\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-947096\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-947096\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-116422\", \"po_number\": \"PO-2026-53690\", \"grn_ref\": \"GRN-101507\", \"invoice_date\": \"Apr 13, 2026\", \"due_date\": \"May 13, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}], \"subtotal\": 969.0, \"tax_rate\": 0.0725, \"tax\": 70.25, \"freight\": 95.0, \"total\": 1134.25, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53690 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"SSP-901955\", \"po_number\": \"PO-2026-53690\", \"grn_ref\": \"GRN-101507\", \"invoice_date\": \"Apr 22, 2026\", \"due_date\": \"May 22, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}], \"subtotal\": 969.0, \"tax_rate\": 0.0725, \"tax\": 70.25, \"freight\": 95.0, \"total\": 1134.25, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-947096. Please remit to lockbox.\"}}"} {"case_id": "CASE_1961", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-53729", "grn_number": "GRN-101573", "invoice_number": "INV-APX-116502", "duplicate_invoice_number": "INV-APX-901961", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 3331.0, "po_tax": 241.5, "po_freight": 120.0, "po_total": 3692.5, "invoice_subtotal": 3331.0, "invoice_tax": 241.5, "invoice_freight": 120.0, "invoice_total": 3692.5, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_1961/PO-2026-53729.png", "grn_file": "documents/CASE_1961/GRN-101573.docx", "invoice_file": "documents/CASE_1961/INV-APX-116502.pdf", "duplicate_invoice_file": "documents/CASE_1961/INV-APX-901961.jpg", "file_paths": ["documents/CASE_1961/PO-2026-53729.png", "documents/CASE_1961/GRN-101573.docx", "documents/CASE_1961/INV-APX-116502.pdf", "documents/CASE_1961/INV-APX-901961.jpg"], "file_formats": ["png", "docx", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'INV-APX-116502' and 'INV-APX-901961' bill $3692.50 against single receipt 'GRN-101573' / PO 'PO-2026-53729'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"INV-APX-116502\", \"duplicate_invoice_number\": \"INV-APX-901961\", \"duplicate_billed_amount\": 3692.5, \"variance_amount\": 3692.5, \"note\": \"Duplicate billing detected: both 'INV-APX-116502' and 'INV-APX-901961' bill $3692.50 against single receipt 'GRN-101573' / PO 'PO-2026-53729'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53729\", \"order_date\": \"Mar 28, 2026\", \"expected_delivery\": \"Apr 07, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 3331.0, \"tax_rate\": 0.0725, \"tax\": 241.5, \"freight\": 120.0, \"total\": 3692.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101573\", \"po_number\": \"PO-2026-53729\", \"received_date\": \"04/08/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-121683\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-121683\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-116502\", \"po_number\": \"PO-2026-53729\", \"grn_ref\": \"GRN-101573\", \"invoice_date\": \"10-Apr-2026\", \"due_date\": \"25-May-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 3331.0, \"tax_rate\": 0.0725, \"tax\": 241.5, \"freight\": 120.0, \"total\": 3692.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53729 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"INV-APX-901961\", \"po_number\": \"PO-2026-53729\", \"grn_ref\": \"GRN-101573\", \"invoice_date\": \"19-Apr-2026\", \"due_date\": \"03-Jun-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 3331.0, \"tax_rate\": 0.0725, \"tax\": 241.5, \"freight\": 120.0, \"total\": 3692.5, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-121683. Please remit to lockbox.\"}}"} {"case_id": "CASE_1964", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-53753", "grn_number": "GRN-101613", "invoice_number": "SSP-116538", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 4880.0, "po_tax": 390.4, "po_freight": 0.0, "po_total": 5270.4, "invoice_subtotal": 4880.0, "invoice_tax": 390.4, "invoice_freight": 0.0, "invoice_total": 5270.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1964/PO-2026-53753.jpg", "grn_file": "documents/CASE_1964/GRN-101613.pdf", "invoice_file": "documents/CASE_1964/SSP-116538.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1964/PO-2026-53753.jpg", "documents/CASE_1964/GRN-101613.pdf", "documents/CASE_1964/SSP-116538.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "wrong_po_reference", "primary_discrepancy_note": "Invoice references non-matching PO 'PO-2026-901964' instead of packet PO 'PO-2026-53753'.", "discrepancies_json": "[{\"type\": \"wrong_po_reference\", \"expected_po\": \"PO-2026-53753\", \"invoice_po_ref\": \"PO-2026-901964\", \"po_vendor\": \"Summit Safety & PPE Distributors\", \"invoice_vendor\": \"Summit Safety & PPE Distributors\", \"note\": \"Invoice references non-matching PO 'PO-2026-901964' instead of packet PO 'PO-2026-53753'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53753\", \"order_date\": \"2026-01-10\", \"expected_delivery\": \"2026-01-20\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}], \"subtotal\": 4880.0, \"tax_rate\": 0.08, \"tax\": 390.4, \"freight\": 0.0, \"total\": 5270.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101613\", \"po_number\": \"PO-2026-53753\", \"received_date\": \"Jan 15, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-792789\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-792789\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-116538\", \"po_number\": \"PO-2026-901964\", \"grn_ref\": \"GRN-101613\", \"invoice_date\": \"01/19/2026\", \"due_date\": \"02/03/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 40, \"unit_price\": 34.0, \"line_total\": 1360.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}], \"subtotal\": 4880.0, \"tax_rate\": 0.08, \"tax\": 390.4, \"freight\": 0.0, \"total\": 5270.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-901964 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1967", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-53774", "grn_number": "GRN-101639", "invoice_number": "PKR-116576", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 8838.0, "po_tax": 729.14, "po_freight": 0.0, "po_total": 9567.14, "invoice_subtotal": 8838.0, "invoice_tax": 729.14, "invoice_freight": 550.0, "invoice_total": 10117.14, "total_variance": 550.0, "num_documents": 3, "po_file": "documents/CASE_1967/PO-2026-53774.png", "grn_file": "documents/CASE_1967/GRN-101639.docx", "invoice_file": "documents/CASE_1967/PKR-116576.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1967/PO-2026-53774.png", "documents/CASE_1967/GRN-101639.docx", "documents/CASE_1967/PKR-116576.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 550.0, \"variance_amount\": 550.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53774\", \"order_date\": \"26-Sep-2026\", \"expected_delivery\": \"06-Oct-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 76.0, \"line_total\": 608.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 50, \"unit_price\": 52.0, \"line_total\": 2600.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}], \"subtotal\": 8838.0, \"tax_rate\": 0.0825, \"tax\": 729.14, \"freight\": 0.0, \"total\": 9567.14, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101639\", \"po_number\": \"PO-2026-53774\", \"received_date\": \"2026-10-02\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-631594\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-631594\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-116576\", \"po_number\": \"PO-2026-53774\", \"grn_ref\": \"GRN-101639\", \"invoice_date\": \"Oct 04, 2026\", \"due_date\": \"Nov 03, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 76.0, \"line_total\": 608.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 64.0, \"line_total\": 1280.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 50, \"unit_price\": 52.0, \"line_total\": 2600.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 30, \"unit_price\": 145.0, \"line_total\": 4350.0}], \"subtotal\": 8838.0, \"tax_rate\": 0.0825, \"tax\": 729.14, \"freight\": 550.0, \"total\": 10117.14, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53774 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1968", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53781", "grn_number": "GRN-101651", "invoice_number": "NSI-116585", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 29196.0, "po_tax": 2408.67, "po_freight": 35.0, "po_total": 31639.67, "invoice_subtotal": 29196.0, "invoice_tax": 2408.67, "invoice_freight": 35.0, "invoice_total": 31639.67, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1968/PO-2026-53781.docx", "grn_file": "documents/CASE_1968/GRN-101651.jpg", "invoice_file": "documents/CASE_1968/NSI-116585.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1968/PO-2026-53781.docx", "documents/CASE_1968/GRN-101651.jpg", "documents/CASE_1968/NSI-116585.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53781\", \"order_date\": \"2026-04-11\", \"expected_delivery\": \"2026-04-21\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}], \"subtotal\": 29196.0, \"tax_rate\": 0.0825, \"tax\": 2408.67, \"freight\": 35.0, \"total\": 31639.67, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101651\", \"po_number\": \"PO-2026-53781\", \"received_date\": \"Apr 21, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-837425\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-837425\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-116585\", \"po_number\": \"PO-2026-53781\", \"grn_ref\": \"GRN-101651\", \"invoice_date\": \"04/27/2026\", \"due_date\": \"05/12/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 520.0, \"line_total\": 5200.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 690.0, \"line_total\": 3450.0}, {\"line_no\": 5, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 215.0, \"line_total\": 2150.0}], \"subtotal\": 29196.0, \"tax_rate\": 0.0825, \"tax\": 2408.67, \"freight\": 35.0, \"total\": 31639.67, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53781 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1973", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-53814", "grn_number": "GRN-101709", "invoice_number": "VEP-116657", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 3435.0, "po_tax": 274.8, "po_freight": 0.0, "po_total": 3709.8, "invoice_subtotal": 3435.0, "invoice_tax": 274.8, "invoice_freight": 0.0, "invoice_total": 3799.8, "total_variance": 90.0, "num_documents": 3, "po_file": "documents/CASE_1973/PO-2026-53814.png", "grn_file": "documents/CASE_1973/GRN-101709.docx", "invoice_file": "documents/CASE_1973/VEP-116657.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1973/PO-2026-53814.png", "documents/CASE_1973/GRN-101709.docx", "documents/CASE_1973/VEP-116657.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($3435.00) + Tax ($274.80) + Freight ($0.00) = $3709.80, but Invoice Total Due states $3799.80.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 3709.8, \"invoice_stated_total\": 3799.8, \"variance_amount\": 90.0, \"note\": \"Invoice total summation error: Subtotal ($3435.00) + Tax ($274.80) + Freight ($0.00) = $3709.80, but Invoice Total Due states $3799.80.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53814\", \"order_date\": \"May 30, 2026\", \"expected_delivery\": \"Jun 09, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 3435.0, \"tax_rate\": 0.08, \"tax\": 274.8, \"freight\": 0.0, \"total\": 3709.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101709\", \"po_number\": \"PO-2026-53814\", \"received_date\": \"06/10/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-440960\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-440960\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-116657\", \"po_number\": \"PO-2026-53814\", \"grn_ref\": \"GRN-101709\", \"invoice_date\": \"14-Jun-2026\", \"due_date\": \"29-Jul-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 3435.0, \"tax_rate\": 0.08, \"tax\": 274.8, \"freight\": 0.0, \"total\": 3799.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53814 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1976", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-53833", "grn_number": "GRN-101743", "invoice_number": "TP-116689", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 22665.0, "po_tax": 1643.21, "po_freight": 0.0, "po_total": 24308.21, "invoice_subtotal": 22665.0, "invoice_tax": 1643.21, "invoice_freight": 0.0, "invoice_total": 24308.21, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1976/PO-2026-53833.jpg", "grn_file": "documents/CASE_1976/GRN-101743.pdf", "invoice_file": "documents/CASE_1976/TP-116689.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1976/PO-2026-53833.jpg", "documents/CASE_1976/GRN-101743.pdf", "documents/CASE_1976/TP-116689.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "6 delivered units of LAB-2170 failed dock inspection and were rejected, but vendor billed full 40 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 3, \"sku\": \"LAB-2170\", \"po_qty\": 40, \"received_qty\": 40, \"accepted_qty\": 34, \"rejected_qty\": 6, \"invoiced_qty\": 40, \"variance_amount\": 2760.0, \"note\": \"6 delivered units of LAB-2170 failed dock inspection and were rejected, but vendor billed full 40 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53833\", \"order_date\": \"2026-06-17\", \"expected_delivery\": \"2026-06-27\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}], \"subtotal\": 22665.0, \"tax_rate\": 0.0725, \"tax\": 1643.21, \"freight\": 0.0, \"total\": 24308.21, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101743\", \"po_number\": \"PO-2026-53833\", \"received_date\": \"Jun 23, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-620319\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 34, \"qty_rejected\": 6, \"condition\": \"6 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"6 units of LAB-2170 water/crush damaged; refused & RMA requested! Accepted 34. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-620319\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-116689\", \"po_number\": \"PO-2026-53833\", \"grn_ref\": \"GRN-101743\", \"invoice_date\": \"06/24/2026\", \"due_date\": \"07/24/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 135.0, \"line_total\": 2025.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}], \"subtotal\": 22665.0, \"tax_rate\": 0.0725, \"tax\": 1643.21, \"freight\": 0.0, \"total\": 24308.21, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53833 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1981", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-53872", "grn_number": "GRN-101799", "invoice_number": "INV-APX-116754", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 10616.0, "po_tax": 769.66, "po_freight": 75.0, "po_total": 11460.66, "invoice_subtotal": 10616.0, "invoice_tax": 769.66, "invoice_freight": 75.0, "invoice_total": 11460.66, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_1981/PO-2026-53872.pdf", "grn_file": "documents/CASE_1981/GRN-101799.docx", "invoice_file": "documents/CASE_1981/INV-APX-116754.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1981/PO-2026-53872.pdf", "documents/CASE_1981/GRN-101799.docx", "documents/CASE_1981/INV-APX-116754.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53872\", \"order_date\": \"Jul 22, 2026\", \"expected_delivery\": \"Aug 01, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}], \"subtotal\": 10616.0, \"tax_rate\": 0.0725, \"tax\": 769.66, \"freight\": 75.0, \"total\": 11460.66, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101799\", \"po_number\": \"PO-2026-53872\", \"received_date\": \"07/29/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-931312\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-931312\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-116754\", \"po_number\": \"PO-2026-53872\", \"grn_ref\": \"GRN-101799\", \"invoice_date\": \"31-Jul-2026\", \"due_date\": \"15-Aug-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 24, \"unit_price\": 34.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 40, \"unit_price\": 42.5, \"line_total\": 1700.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}], \"subtotal\": 10616.0, \"tax_rate\": 0.0725, \"tax\": 769.66, \"freight\": 75.0, \"total\": 11460.66, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53872 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_1989", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-53926", "grn_number": "GRN-101884", "invoice_number": "PPS-116863", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 5696.0, "po_tax": 341.76, "po_freight": 0.0, "po_total": 6037.76, "invoice_subtotal": 5696.0, "invoice_tax": 341.76, "invoice_freight": 185.0, "invoice_total": 6222.76, "total_variance": 185.0, "num_documents": 3, "po_file": "documents/CASE_1989/PO-2026-53926.docx", "grn_file": "documents/CASE_1989/GRN-101884.pdf", "invoice_file": "documents/CASE_1989/PPS-116863.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_1989/PO-2026-53926.docx", "documents/CASE_1989/GRN-101884.pdf", "documents/CASE_1989/PPS-116863.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 185.0, \"variance_amount\": 185.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-53926\", \"order_date\": \"Sep 18, 2026\", \"expected_delivery\": \"Sep 28, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 5696.0, \"tax_rate\": 0.06, \"tax\": 341.76, \"freight\": 0.0, \"total\": 6037.76, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-101884\", \"po_number\": \"PO-2026-53926\", \"received_date\": \"09/22/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-323225\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-323225\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-116863\", \"po_number\": \"PO-2026-53926\", \"grn_ref\": \"GRN-101884\", \"invoice_date\": \"22-Sep-2026\", \"due_date\": \"06-Nov-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 4, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 172.0, \"line_total\": 1376.0}], \"subtotal\": 5696.0, \"tax_rate\": 0.06, \"tax\": 341.76, \"freight\": 185.0, \"total\": 6222.76, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-53926 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2022", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-54158", "grn_number": "", "invoice_number": "INV-APX-117288", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 18176.0, "po_tax": 1317.76, "po_freight": 35.0, "po_total": 19528.76, "invoice_subtotal": 18176.0, "invoice_tax": 1317.76, "invoice_freight": 35.0, "invoice_total": 19528.76, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_2022/PO-2026-54158.docx", "grn_file": "", "invoice_file": "documents/CASE_2022/INV-APX-117288.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2022/PO-2026-54158.docx", "documents/CASE_2022/INV-APX-117288.pdf"], "file_formats": ["docx", "pdf"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-54158\", \"invoice_number\": \"INV-APX-117288\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54158\", \"order_date\": \"06/15/2026\", \"expected_delivery\": \"06/25/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 5, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}], \"subtotal\": 18176.0, \"tax_rate\": 0.0725, \"tax\": 1317.76, \"freight\": 35.0, \"total\": 19528.76, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-117288\", \"po_number\": \"PO-2026-54158\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"2026-06-25\", \"due_date\": \"2026-08-09\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 68.0, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 148.0, \"line_total\": 1776.0}, {\"line_no\": 4, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 5, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}], \"subtotal\": 18176.0, \"tax_rate\": 0.0725, \"tax\": 1317.76, \"freight\": 35.0, \"total\": 19528.76, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54158 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2027", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-54193", "grn_number": "GRN-102298", "invoice_number": "TP-117355", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 5388.0, "po_tax": 390.63, "po_freight": 95.0, "po_total": 5873.63, "invoice_subtotal": 7688.0, "invoice_tax": 557.38, "invoice_freight": 95.0, "invoice_total": 8340.38, "total_variance": 2466.75, "num_documents": 3, "po_file": "documents/CASE_2027/PO-2026-54193.png", "grn_file": "documents/CASE_2027/GRN-102298.docx", "invoice_file": "documents/CASE_2027/TP-117355.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2027/PO-2026-54193.png", "documents/CASE_2027/GRN-102298.docx", "documents/CASE_2027/TP-117355.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item LAB-2170 ($2300.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 3, \"sku\": \"LAB-2170\", \"invoiced_qty\": 5, \"invoice_unit_price\": 460.0, \"variance_amount\": 2300.0, \"note\": \"Invoice includes line item LAB-2170 ($2300.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54193\", \"order_date\": \"23-Sep-2026\", \"expected_delivery\": \"03-Oct-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 135.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}], \"subtotal\": 5388.0, \"tax_rate\": 0.0725, \"tax\": 390.63, \"freight\": 95.0, \"total\": 5873.63, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102298\", \"po_number\": \"PO-2026-54193\", \"received_date\": \"2026-10-04\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-475514\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-475514\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-117355\", \"po_number\": \"PO-2026-54193\", \"grn_ref\": \"GRN-102298\", \"invoice_date\": \"Oct 04, 2026\", \"due_date\": \"Nov 03, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 135.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 24, \"unit_price\": 112.0, \"line_total\": 2688.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 460.0, \"line_total\": 2300.0}], \"subtotal\": 7688.0, \"tax_rate\": 0.0725, \"tax\": 557.38, \"freight\": 95.0, \"total\": 8340.38, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54193 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2037", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-54260", "grn_number": "GRN-102414", "invoice_number": "NSI-117487", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 26684.0, "po_tax": 2201.43, "po_freight": 95.0, "po_total": 28980.43, "invoice_subtotal": 26684.0, "invoice_tax": 2201.43, "invoice_freight": 95.0, "invoice_total": 28980.43, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2037/PO-2026-54260.docx", "grn_file": "documents/CASE_2037/GRN-102414.pdf", "invoice_file": "documents/CASE_2037/NSI-117487.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2037/PO-2026-54260.docx", "documents/CASE_2037/GRN-102414.pdf", "documents/CASE_2037/NSI-117487.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54260\", \"order_date\": \"Apr 08, 2026\", \"expected_delivery\": \"Apr 18, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}], \"subtotal\": 26684.0, \"tax_rate\": 0.0825, \"tax\": 2201.43, \"freight\": 95.0, \"total\": 28980.43, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102414\", \"po_number\": \"PO-2026-54260\", \"received_date\": \"04/13/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-723273\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-723273\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-117487\", \"po_number\": \"PO-2026-54260\", \"grn_ref\": \"GRN-102414\", \"invoice_date\": \"14-Apr-2026\", \"due_date\": \"29-Apr-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 520.0, \"line_total\": 12480.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 215.0, \"line_total\": 4300.0}, {\"line_no\": 4, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty\": 8, \"unit_price\": 58.0, \"line_total\": 464.0}], \"subtotal\": 26684.0, \"tax_rate\": 0.0825, \"tax\": 2201.43, \"freight\": 95.0, \"total\": 28980.43, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54260 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2041", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-54291", "grn_number": "GRN-102460", "invoice_number": "SSP-117541", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 6555.0, "po_tax": 524.4, "po_freight": 35.0, "po_total": 7114.4, "invoice_subtotal": 6087.5, "invoice_tax": 487.0, "invoice_freight": 35.0, "invoice_total": 6609.5, "total_variance": -504.9, "num_documents": 3, "po_file": "documents/CASE_2041/PO-2026-54291.pdf", "grn_file": "documents/CASE_2041/GRN-102460.docx", "invoice_file": "documents/CASE_2041/SSP-117541.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2041/PO-2026-54291.pdf", "documents/CASE_2041/GRN-102460.docx", "documents/CASE_2041/SSP-117541.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 39/50 units received and accurately billed; keep PO open for remaining 11 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"IND-4418\", \"po_qty\": 50, \"received_qty\": 39, \"invoiced_qty\": 39, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 39/50 units received and accurately billed; keep PO open for remaining 11 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54291\", \"order_date\": \"Feb 17, 2026\", \"expected_delivery\": \"Feb 27, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 50, \"unit_price\": 42.5, \"line_total\": 2125.0}], \"subtotal\": 6555.0, \"tax_rate\": 0.08, \"tax\": 524.4, \"freight\": 35.0, \"total\": 7114.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102460\", \"po_number\": \"PO-2026-54291\", \"received_date\": \"03/03/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-757905\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 50, \"qty_received\": 39, \"qty_accepted\": 39, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (11 BOX remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (39/50 IND-4418). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-757905\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-117541\", \"po_number\": \"PO-2026-54291\", \"grn_ref\": \"GRN-102460\", \"invoice_date\": \"09-Mar-2026\", \"due_date\": \"23-Apr-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 148.0, \"line_total\": 1480.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 39, \"unit_price\": 42.5, \"line_total\": 1657.5}], \"subtotal\": 6087.5, \"tax_rate\": 0.08, \"tax\": 487.0, \"freight\": 35.0, \"total\": 6609.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54291 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2042", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-54298", "grn_number": "GRN-102469", "invoice_number": "SSP-117555", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 10550.0, "po_tax": 764.88, "po_freight": 0.0, "po_total": 11314.88, "invoice_subtotal": 11094.0, "invoice_tax": 804.32, "invoice_freight": 0.0, "invoice_total": 11898.32, "total_variance": 583.44, "num_documents": 3, "po_file": "documents/CASE_2042/PO-2026-54298.jpg", "grn_file": "documents/CASE_2042/GRN-102469.pdf", "invoice_file": "documents/CASE_2042/SSP-117555.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2042/PO-2026-54298.jpg", "documents/CASE_2042/GRN-102469.pdf", "documents/CASE_2042/SSP-117555.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 66 units vs 50 ordered (+16 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"IND-4479\", \"po_qty\": 50, \"received_qty\": 66, \"invoiced_qty\": 66, \"over_qty\": 16, \"variance_amount\": 544.0, \"note\": \"Shipped and billed 66 units vs 50 ordered (+16 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54298\", \"order_date\": \"01/13/2026\", \"expected_delivery\": \"01/23/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 50, \"unit_price\": 34.0, \"line_total\": 1700.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}], \"subtotal\": 10550.0, \"tax_rate\": 0.0725, \"tax\": 764.88, \"freight\": 0.0, \"total\": 11314.88, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102469\", \"po_number\": \"PO-2026-54298\", \"received_date\": \"21-Jan-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-910929\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 50, \"qty_received\": 66, \"qty_accepted\": 66, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+16 KIT over PO)\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 66 (16 extra over PO) on IND-4479. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-910929\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-117555\", \"po_number\": \"PO-2026-54298\", \"grn_ref\": \"GRN-102469\", \"invoice_date\": \"2026-01-26\", \"due_date\": \"2026-03-12\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 66, \"unit_price\": 34.0, \"line_total\": 2244.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 295.0, \"line_total\": 8850.0}], \"subtotal\": 11094.0, \"tax_rate\": 0.0725, \"tax\": 804.32, \"freight\": 0.0, \"total\": 11898.32, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54298 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2043", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-54304", "grn_number": "GRN-102480", "invoice_number": "KWS-117567", "duplicate_invoice_number": "KWS-902043", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 26870.0, "po_tax": 2149.6, "po_freight": 0.0, "po_total": 29019.6, "invoice_subtotal": 26870.0, "invoice_tax": 2149.6, "invoice_freight": 0.0, "invoice_total": 29019.6, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_2043/PO-2026-54304.docx", "grn_file": "documents/CASE_2043/GRN-102480.pdf", "invoice_file": "documents/CASE_2043/KWS-117567.png", "duplicate_invoice_file": "documents/CASE_2043/KWS-902043.jpg", "file_paths": ["documents/CASE_2043/PO-2026-54304.docx", "documents/CASE_2043/GRN-102480.pdf", "documents/CASE_2043/KWS-117567.png", "documents/CASE_2043/KWS-902043.jpg"], "file_formats": ["docx", "pdf", "png", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'KWS-117567' and 'KWS-902043' bill $29019.60 against single receipt 'GRN-102480' / PO 'PO-2026-54304'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"KWS-117567\", \"duplicate_invoice_number\": \"KWS-902043\", \"duplicate_billed_amount\": 29019.6, \"variance_amount\": 29019.6, \"note\": \"Duplicate billing detected: both 'KWS-117567' and 'KWS-902043' bill $29019.60 against single receipt 'GRN-102480' / PO 'PO-2026-54304'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54304\", \"order_date\": \"14-Jun-2026\", \"expected_delivery\": \"24-Jun-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}], \"subtotal\": 26870.0, \"tax_rate\": 0.08, \"tax\": 2149.6, \"freight\": 0.0, \"total\": 29019.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102480\", \"po_number\": \"PO-2026-54304\", \"received_date\": \"2026-06-18\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-881635\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-881635\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-117567\", \"po_number\": \"PO-2026-54304\", \"grn_ref\": \"GRN-102480\", \"invoice_date\": \"Jun 19, 2026\", \"due_date\": \"Jul 04, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}], \"subtotal\": 26870.0, \"tax_rate\": 0.08, \"tax\": 2149.6, \"freight\": 0.0, \"total\": 29019.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54304 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"KWS-902043\", \"po_number\": \"PO-2026-54304\", \"grn_ref\": \"GRN-102480\", \"invoice_date\": \"Jul 03, 2026\", \"due_date\": \"Jul 18, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 210.0, \"line_total\": 2520.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 3, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}], \"subtotal\": 26870.0, \"tax_rate\": 0.08, \"tax\": 2149.6, \"freight\": 0.0, \"total\": 29019.6, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-881635. Please remit to lockbox.\"}}"} {"case_id": "CASE_2053", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-54375", "grn_number": "GRN-102588", "invoice_number": "KWS-117696", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 16100.0, "po_tax": 966.0, "po_freight": 35.0, "po_total": 17101.0, "invoice_subtotal": 16100.0, "invoice_tax": 966.0, "invoice_freight": 35.0, "invoice_total": 17101.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2053/PO-2026-54375.pdf", "grn_file": "documents/CASE_2053/GRN-102588.docx", "invoice_file": "documents/CASE_2053/KWS-117696.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2053/PO-2026-54375.pdf", "documents/CASE_2053/GRN-102588.docx", "documents/CASE_2053/KWS-117696.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "6 delivered units of FRN-6118 failed dock inspection and were rejected, but vendor billed full 20 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"FRN-6118\", \"po_qty\": 20, \"received_qty\": 20, \"accepted_qty\": 14, \"rejected_qty\": 6, \"invoiced_qty\": 20, \"variance_amount\": 2310.0, \"note\": \"6 delivered units of FRN-6118 failed dock inspection and were rejected, but vendor billed full 20 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54375\", \"order_date\": \"Jan 30, 2026\", \"expected_delivery\": \"Feb 09, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 210.0, \"line_total\": 8400.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}], \"subtotal\": 16100.0, \"tax_rate\": 0.06, \"tax\": 966.0, \"freight\": 35.0, \"total\": 17101.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102588\", \"po_number\": \"PO-2026-54375\", \"received_date\": \"02/07/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-140483\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 14, \"qty_rejected\": 6, \"condition\": \"6 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"6 units of FRN-6118 water/crush damaged; refused & RMA requested! Accepted 14. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-140483\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-117696\", \"po_number\": \"PO-2026-54375\", \"grn_ref\": \"GRN-102588\", \"invoice_date\": \"10-Feb-2026\", \"due_date\": \"12-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 210.0, \"line_total\": 8400.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 385.0, \"line_total\": 7700.0}], \"subtotal\": 16100.0, \"tax_rate\": 0.06, \"tax\": 966.0, \"freight\": 35.0, \"total\": 17101.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54375 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2054", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-54382", "grn_number": "GRN-102596", "invoice_number": "PPS-117704", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 10265.0, "po_tax": 744.21, "po_freight": 0.0, "po_total": 11009.21, "invoice_subtotal": 10415.0, "invoice_tax": 755.09, "invoice_freight": 0.0, "invoice_total": 11170.09, "total_variance": 160.88, "num_documents": 3, "po_file": "documents/CASE_2054/PO-2026-54382.jpg", "grn_file": "documents/CASE_2054/GRN-102596.pdf", "invoice_file": "documents/CASE_2054/PPS-117704.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2054/PO-2026-54382.jpg", "documents/CASE_2054/GRN-102596.pdf", "documents/CASE_2054/PPS-117704.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 2 (ELC-7283): 10 x $28.50 should be $285.00, but invoice states $435.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 11009.21, \"invoice_stated_total\": 11170.09, \"variance_amount\": 160.88, \"note\": \"Invoice arithmetic error on line 2 (ELC-7283): 10 x $28.50 should be $285.00, but invoice states $435.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54382\", \"order_date\": \"08/20/2026\", \"expected_delivery\": \"08/30/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 10265.0, \"tax_rate\": 0.0725, \"tax\": 744.21, \"freight\": 0.0, \"total\": 11009.21, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102596\", \"po_number\": \"PO-2026-54382\", \"received_date\": \"25-Aug-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-571915\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-571915\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-117704\", \"po_number\": \"PO-2026-54382\", \"grn_ref\": \"GRN-102596\", \"invoice_date\": \"2026-08-26\", \"due_date\": \"2026-09-10\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 435.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}], \"subtotal\": 10415.0, \"tax_rate\": 0.0725, \"tax\": 755.09, \"freight\": 0.0, \"total\": 11170.09, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54382 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2064", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-54451", "grn_number": "GRN-102709", "invoice_number": "SSP-117839", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 7374.0, "po_tax": 442.44, "po_freight": 0.0, "po_total": 7816.44, "invoice_subtotal": 7374.0, "invoice_tax": 442.44, "invoice_freight": 0.0, "invoice_total": 7816.44, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2064/PO-2026-54451.docx", "grn_file": "documents/CASE_2064/GRN-102709.jpg", "invoice_file": "documents/CASE_2064/SSP-117839.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2064/PO-2026-54451.docx", "documents/CASE_2064/GRN-102709.jpg", "documents/CASE_2064/SSP-117839.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54451\", \"order_date\": \"2026-05-15\", \"expected_delivery\": \"2026-05-25\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}], \"subtotal\": 7374.0, \"tax_rate\": 0.06, \"tax\": 442.44, \"freight\": 0.0, \"total\": 7816.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102709\", \"po_number\": \"PO-2026-54451\", \"received_date\": \"May 21, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-357770\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-357770\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-117839\", \"po_number\": \"PO-2026-54451\", \"grn_ref\": \"GRN-102709\", \"invoice_date\": \"05/25/2026\", \"due_date\": \"06/24/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 68.0, \"line_total\": 816.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 15, \"unit_price\": 34.0, \"line_total\": 510.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 5, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}], \"subtotal\": 7374.0, \"tax_rate\": 0.06, \"tax\": 442.44, \"freight\": 0.0, \"total\": 7816.44, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54451 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2076", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-54536", "grn_number": "GRN-102841", "invoice_number": "PPS-117995", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 15080.0, "po_tax": 1093.3, "po_freight": 35.0, "po_total": 16208.3, "invoice_subtotal": 15080.0, "invoice_tax": 1093.3, "invoice_freight": 35.0, "invoice_total": 16208.3, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2076/PO-2026-54536.docx", "grn_file": "documents/CASE_2076/GRN-102841.jpg", "invoice_file": "documents/CASE_2076/PPS-117995.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2076/PO-2026-54536.docx", "documents/CASE_2076/GRN-102841.jpg", "documents/CASE_2076/PPS-117995.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54536\", \"order_date\": \"2026-01-23\", \"expected_delivery\": \"2026-02-02\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}], \"subtotal\": 15080.0, \"tax_rate\": 0.0725, \"tax\": 1093.3, \"freight\": 35.0, \"total\": 16208.3, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102841\", \"po_number\": \"PO-2026-54536\", \"received_date\": \"Jan 30, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-978672\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-978672\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-117995\", \"po_number\": \"PO-2026-54536\", \"grn_ref\": \"GRN-102841\", \"invoice_date\": \"01/31/2026\", \"due_date\": \"03/17/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}], \"subtotal\": 15080.0, \"tax_rate\": 0.0725, \"tax\": 1093.3, \"freight\": 35.0, \"total\": 16208.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54536 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2080", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-54561", "grn_number": "GRN-102889", "invoice_number": "NSI-118044", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 23960.0, "po_tax": 1976.7, "po_freight": 0.0, "po_total": 25936.7, "invoice_subtotal": 19240.0, "invoice_tax": 1587.3, "invoice_freight": 0.0, "invoice_total": 20827.3, "total_variance": -5109.4, "num_documents": 3, "po_file": "documents/CASE_2080/PO-2026-54561.pdf", "grn_file": "documents/CASE_2080/GRN-102889.jpg", "invoice_file": "documents/CASE_2080/NSI-118044.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2080/PO-2026-54561.pdf", "documents/CASE_2080/GRN-102889.jpg", "documents/CASE_2080/NSI-118044.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 8/12 units received and accurately billed; keep PO open for remaining 4 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 1, \"sku\": \"IT-8801\", \"po_qty\": 12, \"received_qty\": 8, \"invoiced_qty\": 8, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 8/12 units received and accurately billed; keep PO open for remaining 4 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54561\", \"order_date\": \"2026-05-30\", \"expected_delivery\": \"2026-06-09\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 1180.0, \"line_total\": 14160.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}], \"subtotal\": 23960.0, \"tax_rate\": 0.0825, \"tax\": 1976.7, \"freight\": 0.0, \"total\": 25936.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102889\", \"po_number\": \"PO-2026-54561\", \"received_date\": \"Jun 12, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-164495\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (4 EA remaining)\"}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (8/12 IT-8801). Balance on BO. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-164495\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-118044\", \"po_number\": \"PO-2026-54561\", \"grn_ref\": \"GRN-102889\", \"invoice_date\": \"06/16/2026\", \"due_date\": \"07/16/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}, {\"line_no\": 2, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 245.0, \"line_total\": 9800.0}], \"subtotal\": 19240.0, \"tax_rate\": 0.0825, \"tax\": 1587.3, \"freight\": 0.0, \"total\": 20827.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54561 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2081", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-54568", "grn_number": "GRN-102894", "invoice_number": "KWS-118060", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 4000.0, "po_tax": 290.0, "po_freight": 50.0, "po_total": 4340.0, "invoice_subtotal": 4000.0, "invoice_tax": 290.0, "invoice_freight": 50.0, "invoice_total": 4340.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2081/PO-2026-54568.png", "grn_file": "documents/CASE_2081/GRN-102894.docx", "invoice_file": "documents/CASE_2081/KWS-118060.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2081/PO-2026-54568.png", "documents/CASE_2081/GRN-102894.docx", "documents/CASE_2081/KWS-118060.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54568\", \"order_date\": \"Feb 15, 2026\", \"expected_delivery\": \"Feb 25, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}], \"subtotal\": 4000.0, \"tax_rate\": 0.0725, \"tax\": 290.0, \"freight\": 50.0, \"total\": 4340.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-102894\", \"po_number\": \"PO-2026-54568\", \"received_date\": \"02/23/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-536425\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-536425\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-118060\", \"po_number\": \"PO-2026-54568\", \"grn_ref\": \"GRN-102894\", \"invoice_date\": \"25-Feb-2026\", \"due_date\": \"27-Mar-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 115.0, \"line_total\": 920.0}], \"subtotal\": 4000.0, \"tax_rate\": 0.0725, \"tax\": 290.0, \"freight\": 50.0, \"total\": 4340.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54568 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2099", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-54698", "grn_number": "GRN-103091", "invoice_number": "PPS-118288", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 13205.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 13205.0, "invoice_subtotal": 13205.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 13205.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2099/PO-2026-54698.png", "grn_file": "documents/CASE_2099/GRN-103091.docx", "invoice_file": "documents/CASE_2099/PPS-118288.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2099/PO-2026-54698.png", "documents/CASE_2099/GRN-103091.docx", "documents/CASE_2099/PPS-118288.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54698\", \"order_date\": \"15-Jul-2026\", \"expected_delivery\": \"25-Jul-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 13205.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13205.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103091\", \"po_number\": \"PO-2026-54698\", \"received_date\": \"2026-07-23\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-690526\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-690526\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-118288\", \"po_number\": \"PO-2026-54698\", \"grn_ref\": \"GRN-103091\", \"invoice_date\": \"Jul 25, 2026\", \"due_date\": \"Aug 24, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 28.5, \"line_total\": 855.0}], \"subtotal\": 13205.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13205.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54698 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2103", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-54725", "grn_number": "GRN-103139", "invoice_number": "NSI-118344", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 24650.0, "po_tax": 1787.13, "po_freight": 120.0, "po_total": 26557.13, "invoice_subtotal": 21110.0, "invoice_tax": 1530.48, "invoice_freight": 120.0, "invoice_total": 22760.48, "total_variance": -3796.65, "num_documents": 3, "po_file": "documents/CASE_2103/PO-2026-54725.docx", "grn_file": "documents/CASE_2103/GRN-103139.pdf", "invoice_file": "documents/CASE_2103/NSI-118344.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2103/PO-2026-54725.docx", "documents/CASE_2103/GRN-103139.pdf", "documents/CASE_2103/NSI-118344.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 5/8 units received and accurately billed; keep PO open for remaining 3 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 4, \"sku\": \"IT-8801\", \"po_qty\": 8, \"received_qty\": 5, \"invoiced_qty\": 5, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 5/8 units received and accurately billed; keep PO open for remaining 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54725\", \"order_date\": \"20-Jul-2026\", \"expected_delivery\": \"30-Jul-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 50, \"unit_price\": 58.0, \"line_total\": 2900.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 1180.0, \"line_total\": 9440.0}], \"subtotal\": 24650.0, \"tax_rate\": 0.0725, \"tax\": 1787.13, \"freight\": 120.0, \"total\": 26557.13, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103139\", \"po_number\": \"PO-2026-54725\", \"received_date\": \"2026-07-27\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-331012\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (3 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (5/8 IT-8801). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-331012\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-118344\", \"po_number\": \"PO-2026-54725\", \"grn_ref\": \"GRN-103139\", \"invoice_date\": \"Jul 28, 2026\", \"due_date\": \"Aug 27, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 50, \"unit_price\": 58.0, \"line_total\": 2900.0}, {\"line_no\": 2, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}, {\"line_no\": 3, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 245.0, \"line_total\": 1960.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 1180.0, \"line_total\": 5900.0}], \"subtotal\": 21110.0, \"tax_rate\": 0.0725, \"tax\": 1530.48, \"freight\": 120.0, \"total\": 22760.48, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54725 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2104", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-54733", "grn_number": "GRN-103149", "invoice_number": "TP-118354", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 6390.0, "po_tax": 383.4, "po_freight": 0.0, "po_total": 6773.4, "invoice_subtotal": 6390.0, "invoice_tax": 383.4, "invoice_freight": 5.33, "invoice_total": 6778.73, "total_variance": 5.33, "num_documents": 3, "po_file": "documents/CASE_2104/PO-2026-54733.pdf", "grn_file": "documents/CASE_2104/GRN-103149.jpg", "invoice_file": "documents/CASE_2104/TP-118354.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2104/PO-2026-54733.pdf", "documents/CASE_2104/GRN-103149.jpg", "documents/CASE_2104/TP-118354.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $5.33 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 5.33, \"variance_amount\": 5.33, \"note\": \"Prepaid & Add shipping fee of $5.33 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54733\", \"order_date\": \"2026-06-12\", \"expected_delivery\": \"2026-06-22\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 135.0, \"line_total\": 1350.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 88.0, \"line_total\": 440.0}], \"subtotal\": 6390.0, \"tax_rate\": 0.06, \"tax\": 383.4, \"freight\": 0.0, \"total\": 6773.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103149\", \"po_number\": \"PO-2026-54733\", \"received_date\": \"Jun 20, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-880270\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-880270\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-118354\", \"po_number\": \"PO-2026-54733\", \"grn_ref\": \"GRN-103149\", \"invoice_date\": \"06/21/2026\", \"due_date\": \"07/21/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 10, \"unit_price\": 135.0, \"line_total\": 1350.0}, {\"line_no\": 2, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 88.0, \"line_total\": 440.0}], \"subtotal\": 6390.0, \"tax_rate\": 0.06, \"tax\": 383.4, \"freight\": 5.33, \"total\": 6778.73, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54733 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2105", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-54740", "grn_number": "GRN-103162", "invoice_number": "PPS-118368", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 8135.0, "po_tax": 0.0, "po_freight": 35.0, "po_total": 8170.0, "invoice_subtotal": 8899.7, "invoice_tax": 0.0, "invoice_freight": 35.0, "invoice_total": 8934.7, "total_variance": 764.7, "num_documents": 3, "po_file": "documents/CASE_2105/PO-2026-54740.png", "grn_file": "documents/CASE_2105/GRN-103162.docx", "invoice_file": "documents/CASE_2105/PPS-118368.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2105/PO-2026-54740.png", "documents/CASE_2105/GRN-103162.docx", "documents/CASE_2105/PPS-118368.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $197.49 exceeds contracted PO unit price $172.00 for ELC-7201.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"ELC-7201\", \"po_unit_price\": 172.0, \"invoice_unit_price\": 197.49, \"qty\": 30, \"variance_amount\": 764.7, \"note\": \"Invoice unit price $197.49 exceeds contracted PO unit price $172.00 for ELC-7201.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54740\", \"order_date\": \"Sep 19, 2026\", \"expected_delivery\": \"Sep 29, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}], \"subtotal\": 8135.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 8170.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103162\", \"po_number\": \"PO-2026-54740\", \"received_date\": \"09/25/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-359001\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-359001\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-118368\", \"po_number\": \"PO-2026-54740\", \"grn_ref\": \"GRN-103162\", \"invoice_date\": \"27-Sep-2026\", \"due_date\": \"27-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 28.5, \"line_total\": 1425.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 197.49, \"line_total\": 5924.7}], \"subtotal\": 8899.7, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 35.0, \"total\": 8934.7, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54740 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2115", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-54808", "grn_number": "GRN-103268", "invoice_number": "PPS-118504", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 34000.0, "po_tax": 2805.0, "po_freight": 95.0, "po_total": 36900.0, "invoice_subtotal": 34000.0, "invoice_tax": 2805.0, "invoice_freight": 95.0, "invoice_total": 37150.0, "total_variance": 250.0, "num_documents": 3, "po_file": "documents/CASE_2115/PO-2026-54808.docx", "grn_file": "documents/CASE_2115/GRN-103268.pdf", "invoice_file": "documents/CASE_2115/PPS-118504.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2115/PO-2026-54808.docx", "documents/CASE_2115/GRN-103268.pdf", "documents/CASE_2115/PPS-118504.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($34000.00) + Tax ($2805.00) + Freight ($95.00) = $36900.00, but Invoice Total Due states $37150.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 36900.0, \"invoice_stated_total\": 37150.0, \"variance_amount\": 250.0, \"note\": \"Invoice total summation error: Subtotal ($34000.00) + Tax ($2805.00) + Freight ($95.00) = $36900.00, but Invoice Total Due states $37150.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54808\", \"order_date\": \"08-Feb-2026\", \"expected_delivery\": \"18-Feb-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 34000.0, \"tax_rate\": 0.0825, \"tax\": 2805.0, \"freight\": 95.0, \"total\": 36900.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103268\", \"po_number\": \"PO-2026-54808\", \"received_date\": \"2026-02-12\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-177445\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-177445\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-118504\", \"po_number\": \"PO-2026-54808\", \"grn_ref\": \"GRN-103268\", \"invoice_date\": \"Feb 18, 2026\", \"due_date\": \"Mar 20, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}], \"subtotal\": 34000.0, \"tax_rate\": 0.0825, \"tax\": 2805.0, \"freight\": 95.0, \"total\": 37150.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54808 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2117", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-54821", "grn_number": "GRN-103289", "invoice_number": "VEP-118528", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 5587.5, "po_tax": 0.0, "po_freight": 120.0, "po_total": 5707.5, "invoice_subtotal": 7135.5, "invoice_tax": 0.0, "invoice_freight": 120.0, "invoice_total": 7255.5, "total_variance": 1548.0, "num_documents": 3, "po_file": "documents/CASE_2117/PO-2026-54821.png", "grn_file": "documents/CASE_2117/GRN-103289.docx", "invoice_file": "documents/CASE_2117/VEP-118528.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2117/PO-2026-54821.png", "documents/CASE_2117/GRN-103289.docx", "documents/CASE_2117/VEP-118528.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 39 units vs 30 ordered (+9 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 1, \"sku\": \"ELC-7201\", \"po_qty\": 30, \"received_qty\": 39, \"invoiced_qty\": 39, \"over_qty\": 9, \"variance_amount\": 1548.0, \"note\": \"Shipped and billed 39 units vs 30 ordered (+9 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54821\", \"order_date\": \"Feb 22, 2026\", \"expected_delivery\": \"Mar 04, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}], \"subtotal\": 5587.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 5707.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103289\", \"po_number\": \"PO-2026-54821\", \"received_date\": \"02/28/2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-667208\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 39, \"qty_accepted\": 39, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+9 EA over PO)\"}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 39 (9 extra over PO) on ELC-7201. Held in quarantine. - M. Okafor\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-667208\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-118528\", \"po_number\": \"PO-2026-54821\", \"grn_ref\": \"GRN-103289\", \"invoice_date\": \"05-Mar-2026\", \"due_date\": \"20-Mar-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 39, \"unit_price\": 172.0, \"line_total\": 6708.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}], \"subtotal\": 7135.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 7255.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54821 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2123", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-54864", "grn_number": "GRN-103356", "invoice_number": "PKR-118601", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 790.0, "po_tax": 0.0, "po_freight": 75.0, "po_total": 865.0, "invoice_subtotal": 790.0, "invoice_tax": 0.0, "invoice_freight": 75.0, "invoice_total": 865.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2123/PO-2026-54864.png", "grn_file": "documents/CASE_2123/GRN-103356.docx", "invoice_file": "documents/CASE_2123/PKR-118601.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2123/PO-2026-54864.png", "documents/CASE_2123/GRN-103356.docx", "documents/CASE_2123/PKR-118601.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54864\", \"order_date\": \"26-Apr-2026\", \"expected_delivery\": \"06-May-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}], \"subtotal\": 790.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 865.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103356\", \"po_number\": \"PO-2026-54864\", \"received_date\": \"2026-05-04\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-403792\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-403792\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-118601\", \"po_number\": \"PO-2026-54864\", \"grn_ref\": \"GRN-103356\", \"invoice_date\": \"May 09, 2026\", \"due_date\": \"May 24, 2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 10, \"unit_price\": 52.0, \"line_total\": 520.0}], \"subtotal\": 790.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 75.0, \"total\": 865.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54864 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2128", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-54901", "grn_number": "GRN-103416", "invoice_number": "PPS-118669", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 19225.0, "po_tax": 1153.5, "po_freight": 0.0, "po_total": 20378.5, "invoice_subtotal": 19225.0, "invoice_tax": 1153.5, "invoice_freight": 0.0, "invoice_total": 20378.5, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2128/PO-2026-54901.pdf", "grn_file": "documents/CASE_2128/GRN-103416.jpg", "invoice_file": "documents/CASE_2128/PPS-118669.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2128/PO-2026-54901.pdf", "documents/CASE_2128/GRN-103416.jpg", "documents/CASE_2128/PPS-118669.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 10 units for ELC-7283, but warehouse only received 8 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"ELC-7283\", \"po_qty\": 10, \"received_qty\": 8, \"invoiced_qty\": 10, \"overbilled_qty\": 2, \"variance_amount\": 57.0, \"note\": \"Vendor billed 10 units for ELC-7283, but warehouse only received 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54901\", \"order_date\": \"2026-05-08\", \"expected_delivery\": \"2026-05-18\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}], \"subtotal\": 19225.0, \"tax_rate\": 0.06, \"tax\": 1153.5, \"freight\": 0.0, \"total\": 20378.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103416\", \"po_number\": \"PO-2026-54901\", \"received_date\": \"May 20, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-119670\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Short 2 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 8 of 10 on ELC-7283 (short 2 EA). - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-119670\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-118669\", \"po_number\": \"PO-2026-54901\", \"grn_ref\": \"GRN-103416\", \"invoice_date\": \"05/24/2026\", \"due_date\": \"07/08/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 172.0, \"line_total\": 3440.0}], \"subtotal\": 19225.0, \"tax_rate\": 0.06, \"tax\": 1153.5, \"freight\": 0.0, \"total\": 20378.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54901 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2132", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-54927", "grn_number": "GRN-103455", "invoice_number": "NSI-118723", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 45520.0, "po_tax": 2731.2, "po_freight": 75.0, "po_total": 48326.2, "invoice_subtotal": 45520.0, "invoice_tax": 2731.2, "invoice_freight": 75.0, "invoice_total": 48326.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2132/PO-2026-54927.jpg", "grn_file": "documents/CASE_2132/GRN-103455.pdf", "invoice_file": "documents/CASE_2132/NSI-118723.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2132/PO-2026-54927.jpg", "documents/CASE_2132/GRN-103455.pdf", "documents/CASE_2132/NSI-118723.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54927\", \"order_date\": \"2026-01-27\", \"expected_delivery\": \"2026-02-06\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 690.0, \"line_total\": 27600.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 40, \"unit_price\": 58.0, \"line_total\": 2320.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 45520.0, \"tax_rate\": 0.06, \"tax\": 2731.2, \"freight\": 75.0, \"total\": 48326.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103455\", \"po_number\": \"PO-2026-54927\", \"received_date\": \"Feb 01, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-914861\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-914861\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-118723\", \"po_number\": \"PO-2026-54927\", \"grn_ref\": \"GRN-103455\", \"invoice_date\": \"02/01/2026\", \"due_date\": \"02/16/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 690.0, \"line_total\": 27600.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 40, \"unit_price\": 58.0, \"line_total\": 2320.0}, {\"line_no\": 3, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 45520.0, \"tax_rate\": 0.06, \"tax\": 2731.2, \"freight\": 75.0, \"total\": 48326.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54927 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2134", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-54940", "grn_number": "GRN-103481", "invoice_number": "SSP-118747", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5640.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 5640.0, "invoice_subtotal": 5640.0, "invoice_tax": 0.0, "invoice_freight": 185.0, "invoice_total": 5825.0, "total_variance": 185.0, "num_documents": 3, "po_file": "documents/CASE_2134/PO-2026-54940.pdf", "grn_file": "documents/CASE_2134/GRN-103481.jpg", "invoice_file": "documents/CASE_2134/SSP-118747.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2134/PO-2026-54940.pdf", "documents/CASE_2134/GRN-103481.jpg", "documents/CASE_2134/SSP-118747.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 185.0, \"variance_amount\": 185.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-54940\", \"order_date\": \"08/18/2026\", \"expected_delivery\": \"08/28/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}], \"subtotal\": 5640.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 5640.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103481\", \"po_number\": \"PO-2026-54940\", \"received_date\": \"25-Aug-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-545215\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-545215\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-118747\", \"po_number\": \"PO-2026-54940\", \"grn_ref\": \"GRN-103481\", \"invoice_date\": \"2026-08-26\", \"due_date\": \"2026-10-10\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 8, \"unit_price\": 42.5, \"line_total\": 340.0}], \"subtotal\": 5640.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 185.0, \"total\": 5825.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-54940 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2146", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-55024", "grn_number": "GRN-103612", "invoice_number": "KWS-118900", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 28575.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 28575.0, "invoice_subtotal": 27805.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 27805.0, "total_variance": -770.0, "num_documents": 3, "po_file": "documents/CASE_2146/PO-2026-55024.pdf", "grn_file": "documents/CASE_2146/GRN-103612.jpg", "invoice_file": "documents/CASE_2146/KWS-118900.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2146/PO-2026-55024.pdf", "documents/CASE_2146/GRN-103612.jpg", "documents/CASE_2146/KWS-118900.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 3/5 units received and accurately billed; keep PO open for remaining 2 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"FRN-6118\", \"po_qty\": 5, \"received_qty\": 3, \"invoiced_qty\": 3, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 3/5 units received and accurately billed; keep PO open for remaining 2 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55024\", \"order_date\": \"09/16/2026\", \"expected_delivery\": \"09/26/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 210.0, \"line_total\": 1050.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 385.0, \"line_total\": 1925.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 28575.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 28575.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103612\", \"po_number\": \"PO-2026-55024\", \"received_date\": \"25-Sep-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-947032\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 3, \"qty_accepted\": 3, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (2 EA remaining)\"}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (3/5 FRN-6118). Balance on BO. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-947032\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-118900\", \"po_number\": \"PO-2026-55024\", \"grn_ref\": \"GRN-103612\", \"invoice_date\": \"2026-09-25\", \"due_date\": \"2026-10-25\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 210.0, \"line_total\": 1050.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 3, \"unit_price\": 385.0, \"line_total\": 1155.0}, {\"line_no\": 3, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 640.0, \"line_total\": 25600.0}], \"subtotal\": 27805.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 27805.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55024 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2148", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-55039", "grn_number": "GRN-103635", "invoice_number": "KWS-118925", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 7500.0, "po_tax": 618.75, "po_freight": 0.0, "po_total": 8118.75, "invoice_subtotal": 7500.0, "invoice_tax": 618.75, "invoice_freight": 0.0, "invoice_total": 8118.75, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2148/PO-2026-55039.docx", "grn_file": "documents/CASE_2148/GRN-103635.jpg", "invoice_file": "documents/CASE_2148/KWS-118925.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2148/PO-2026-55039.docx", "documents/CASE_2148/GRN-103635.jpg", "documents/CASE_2148/KWS-118925.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55039\", \"order_date\": \"2026-01-28\", \"expected_delivery\": \"2026-02-07\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 385.0, \"line_total\": 5775.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}], \"subtotal\": 7500.0, \"tax_rate\": 0.0825, \"tax\": 618.75, \"freight\": 0.0, \"total\": 8118.75, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103635\", \"po_number\": \"PO-2026-55039\", \"received_date\": \"Feb 06, 2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-461755\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-461755\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-118925\", \"po_number\": \"PO-2026-55039\", \"grn_ref\": \"GRN-103635\", \"invoice_date\": \"02/11/2026\", \"due_date\": \"03/13/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 385.0, \"line_total\": 5775.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 115.0, \"line_total\": 1725.0}], \"subtotal\": 7500.0, \"tax_rate\": 0.0825, \"tax\": 618.75, \"freight\": 0.0, \"total\": 8118.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55039 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2156", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-55097", "grn_number": "GRN-103722", "invoice_number": "KWS-119031", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 15000.0, "po_tax": 900.0, "po_freight": 0.0, "po_total": 15900.0, "invoice_subtotal": 15000.0, "invoice_tax": 900.0, "invoice_freight": 0.0, "invoice_total": 15900.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2156/PO-2026-55097.jpg", "grn_file": "documents/CASE_2156/GRN-103722.pdf", "invoice_file": "documents/CASE_2156/KWS-119031.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2156/PO-2026-55097.jpg", "documents/CASE_2156/GRN-103722.pdf", "documents/CASE_2156/KWS-119031.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "5 delivered units of FRN-6102 failed dock inspection and were rejected, but vendor billed full 20 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"FRN-6102\", \"po_qty\": 20, \"received_qty\": 20, \"accepted_qty\": 15, \"rejected_qty\": 5, \"invoiced_qty\": 20, \"variance_amount\": 3200.0, \"note\": \"5 delivered units of FRN-6102 failed dock inspection and were rejected, but vendor billed full 20 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55097\", \"order_date\": \"2026-01-12\", \"expected_delivery\": \"2026-01-22\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 115.0, \"line_total\": 1150.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 210.0, \"line_total\": 1050.0}], \"subtotal\": 15000.0, \"tax_rate\": 0.06, \"tax\": 900.0, \"freight\": 0.0, \"total\": 15900.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103722\", \"po_number\": \"PO-2026-55097\", \"received_date\": \"Jan 26, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-308712\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 15, \"qty_rejected\": 5, \"condition\": \"5 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"5 units of FRN-6102 water/crush damaged; refused & RMA requested! Accepted 15. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-308712\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-119031\", \"po_number\": \"PO-2026-55097\", \"grn_ref\": \"GRN-103722\", \"invoice_date\": \"01/31/2026\", \"due_date\": \"03/02/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 640.0, \"line_total\": 12800.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 115.0, \"line_total\": 1150.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 210.0, \"line_total\": 1050.0}], \"subtotal\": 15000.0, \"tax_rate\": 0.06, \"tax\": 900.0, \"freight\": 0.0, \"total\": 15900.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55097 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2157", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-55104", "grn_number": "GRN-103729", "invoice_number": "PPS-119048", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 11640.0, "po_tax": 931.2, "po_freight": 0.0, "po_total": 12571.2, "invoice_subtotal": 11640.0, "invoice_tax": 931.2, "invoice_freight": 0.0, "invoice_total": 12571.2, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2157/PO-2026-55104.docx", "grn_file": "documents/CASE_2157/GRN-103729.pdf", "invoice_file": "documents/CASE_2157/PPS-119048.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2157/PO-2026-55104.docx", "documents/CASE_2157/GRN-103729.pdf", "documents/CASE_2157/PPS-119048.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 30 units for ELC-7201, but warehouse only received 24 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"ELC-7201\", \"po_qty\": 30, \"received_qty\": 24, \"invoiced_qty\": 30, \"overbilled_qty\": 6, \"variance_amount\": 1032.0, \"note\": \"Vendor billed 30 units for ELC-7201, but warehouse only received 24 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55104\", \"order_date\": \"May 03, 2026\", \"expected_delivery\": \"May 13, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}], \"subtotal\": 11640.0, \"tax_rate\": 0.08, \"tax\": 931.2, \"freight\": 0.0, \"total\": 12571.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103729\", \"po_number\": \"PO-2026-55104\", \"received_date\": \"05/11/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-562216\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Short 6 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 24 of 30 on ELC-7201 (short 6 EA). - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-562216\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-119048\", \"po_number\": \"PO-2026-55104\", \"grn_ref\": \"GRN-103729\", \"invoice_date\": \"14-May-2026\", \"due_date\": \"13-Jun-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 172.0, \"line_total\": 5160.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 540.0, \"line_total\": 6480.0}], \"subtotal\": 11640.0, \"tax_rate\": 0.08, \"tax\": 931.2, \"freight\": 0.0, \"total\": 12571.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55104 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2168", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-55180", "grn_number": "GRN-103850", "invoice_number": "VEP-119191", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 3590.0, "po_tax": 215.4, "po_freight": 95.0, "po_total": 3900.4, "invoice_subtotal": 3590.0, "invoice_tax": 215.4, "invoice_freight": 95.0, "invoice_total": 3900.4, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2168/PO-2026-55180.jpg", "grn_file": "documents/CASE_2168/GRN-103850.pdf", "invoice_file": "documents/CASE_2168/VEP-119191.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2168/PO-2026-55180.jpg", "documents/CASE_2168/GRN-103850.pdf", "documents/CASE_2168/VEP-119191.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55180\", \"order_date\": \"2026-07-10\", \"expected_delivery\": \"2026-07-20\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 3590.0, \"tax_rate\": 0.06, \"tax\": 215.4, \"freight\": 95.0, \"total\": 3900.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103850\", \"po_number\": \"PO-2026-55180\", \"received_date\": \"Jul 24, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-742483\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-742483\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-119191\", \"po_number\": \"PO-2026-55180\", \"grn_ref\": \"GRN-103850\", \"invoice_date\": \"07/24/2026\", \"due_date\": \"08/08/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 540.0, \"line_total\": 2700.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 89.0, \"line_total\": 890.0}], \"subtotal\": 3590.0, \"tax_rate\": 0.06, \"tax\": 215.4, \"freight\": 95.0, \"total\": 3900.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55180 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2170", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-55192", "grn_number": "GRN-103878", "invoice_number": "KWS-119218", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 25390.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 25390.0, "invoice_subtotal": 27634.6, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 27634.6, "total_variance": 2244.6, "num_documents": 3, "po_file": "documents/CASE_2170/PO-2026-55192.pdf", "grn_file": "documents/CASE_2170/GRN-103878.jpg", "invoice_file": "documents/CASE_2170/KWS-119218.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2170/PO-2026-55192.pdf", "documents/CASE_2170/GRN-103878.jpg", "documents/CASE_2170/KWS-119218.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $714.82 exceeds contracted PO unit price $640.00 for FRN-6102.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"FRN-6102\", \"po_unit_price\": 640.0, \"invoice_unit_price\": 714.82, \"qty\": 30, \"variance_amount\": 2244.6, \"note\": \"Invoice unit price $714.82 exceeds contracted PO unit price $640.00 for FRN-6102.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55192\", \"order_date\": \"09/19/2026\", \"expected_delivery\": \"09/29/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 640.0, \"line_total\": 19200.0}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 115.0, \"line_total\": 1150.0}], \"subtotal\": 25390.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 25390.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-103878\", \"po_number\": \"PO-2026-55192\", \"received_date\": \"23-Sep-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-732908\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-732908\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-119218\", \"po_number\": \"PO-2026-55192\", \"grn_ref\": \"GRN-103878\", \"invoice_date\": \"2026-09-26\", \"due_date\": \"2026-11-10\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 714.82, \"line_total\": 21444.6}, {\"line_no\": 3, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 115.0, \"line_total\": 1150.0}], \"subtotal\": 27634.6, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 27634.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55192 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2184", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-55289", "grn_number": "GRN-104029", "invoice_number": "PKR-119395", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 11578.5, "po_tax": 955.23, "po_freight": 120.0, "po_total": 12653.73, "invoice_subtotal": 11798.5, "invoice_tax": 973.38, "invoice_freight": 120.0, "invoice_total": 12891.88, "total_variance": 238.15, "num_documents": 3, "po_file": "documents/CASE_2184/PO-2026-55289.docx", "grn_file": "documents/CASE_2184/GRN-104029.jpg", "invoice_file": "documents/CASE_2184/PKR-119395.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2184/PO-2026-55289.docx", "documents/CASE_2184/GRN-104029.jpg", "documents/CASE_2184/PKR-119395.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 4 (PKG-3010): 50 x $145.00 should be $7250.00, but invoice states $7470.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 12653.73, \"invoice_stated_total\": 12891.88, \"variance_amount\": 238.15, \"note\": \"Invoice arithmetic error on line 4 (PKG-3010): 50 x $145.00 should be $7250.00, but invoice states $7470.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55289\", \"order_date\": \"2026-07-31\", \"expected_delivery\": \"2026-08-10\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 22.5, \"line_total\": 112.5}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 50, \"unit_price\": 145.0, \"line_total\": 7250.0}], \"subtotal\": 11578.5, \"tax_rate\": 0.0825, \"tax\": 955.23, \"freight\": 120.0, \"total\": 12653.73, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104029\", \"po_number\": \"PO-2026-55289\", \"received_date\": \"Aug 04, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-143618\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-143618\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-119395\", \"po_number\": \"PO-2026-55289\", \"grn_ref\": \"GRN-104029\", \"invoice_date\": \"08/07/2026\", \"due_date\": \"09/06/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 22.5, \"line_total\": 112.5}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 76.0, \"line_total\": 3800.0}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 50, \"unit_price\": 145.0, \"line_total\": 7470.0}], \"subtotal\": 11798.5, \"tax_rate\": 0.0825, \"tax\": 973.38, \"freight\": 120.0, \"total\": 12891.88, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55289 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2186", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-55305", "grn_number": "GRN-104052", "invoice_number": "PPS-119423", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 1677.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 1677.0, "invoice_subtotal": 2033.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 2033.0, "total_variance": 356.0, "num_documents": 3, "po_file": "documents/CASE_2186/PO-2026-55305.jpg", "grn_file": "documents/CASE_2186/GRN-104052.pdf", "invoice_file": "documents/CASE_2186/PPS-119423.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2186/PO-2026-55305.jpg", "documents/CASE_2186/GRN-104052.pdf", "documents/CASE_2186/PPS-119423.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 19 units vs 15 ordered (+4 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_qty\": 15, \"received_qty\": 19, \"invoiced_qty\": 19, \"over_qty\": 4, \"variance_amount\": 356.0, \"note\": \"Shipped and billed 19 units vs 15 ordered (+4 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55305\", \"order_date\": \"08/27/2026\", \"expected_delivery\": \"09/06/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 89.0, \"line_total\": 1335.0}], \"subtotal\": 1677.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 1677.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104052\", \"po_number\": \"PO-2026-55305\", \"received_date\": \"07-Sep-2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-727406\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 19, \"qty_accepted\": 19, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+4 EA over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 19 (4 extra over PO) on ELC-7218. Held in quarantine. - D. Kowalski\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-727406\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-119423\", \"po_number\": \"PO-2026-55305\", \"grn_ref\": \"GRN-104052\", \"invoice_date\": \"2026-09-11\", \"due_date\": \"2026-10-11\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 19, \"unit_price\": 89.0, \"line_total\": 1691.0}], \"subtotal\": 2033.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 2033.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55305 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2191", "split": "test", "scenario": "over_shipment_billed", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUIRE_BUYER_PO_AMENDMENT_OR_RETURN_OVERAGE", "po_number": "PO-2026-55339", "grn_number": "GRN-104108", "invoice_number": "PKR-119492", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 5025.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 5025.0, "invoice_subtotal": 5329.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 5329.0, "total_variance": 304.0, "num_documents": 3, "po_file": "documents/CASE_2191/PO-2026-55339.pdf", "grn_file": "documents/CASE_2191/GRN-104108.docx", "invoice_file": "documents/CASE_2191/PKR-119492.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2191/PO-2026-55339.pdf", "documents/CASE_2191/GRN-104108.docx", "documents/CASE_2191/PKR-119492.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "unapproved_over_shipment", "primary_discrepancy_note": "Shipped and billed 16 units vs 12 ordered (+4 unauthorized over-delivery).", "discrepancies_json": "[{\"type\": \"unapproved_over_shipment\", \"line_no\": 4, \"sku\": \"PKG-3025\", \"po_qty\": 12, \"received_qty\": 16, \"invoiced_qty\": 16, \"over_qty\": 4, \"variance_amount\": 304.0, \"note\": \"Shipped and billed 16 units vs 12 ordered (+4 unauthorized over-delivery).\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55339\", \"order_date\": \"28-Apr-2026\", \"expected_delivery\": \"08-May-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 12, \"unit_price\": 145.0, \"line_total\": 1740.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 24, \"unit_price\": 52.0, \"line_total\": 1248.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 76.0, \"line_total\": 912.0}], \"subtotal\": 5025.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 5025.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104108\", \"po_number\": \"PO-2026-55339\", \"received_date\": \"2026-05-08\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-384777\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 16, \"qty_accepted\": 16, \"qty_rejected\": 0, \"condition\": \"Over-delivery (+4 CS over PO)\"}], \"stamp_text\": \"OVERAGE FLAGGED\", \"handwritten_note\": \"Vendor shipped 16 (4 extra over PO) on PKG-3025. Held in quarantine. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-384777\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-119492\", \"po_number\": \"PO-2026-55339\", \"grn_ref\": \"GRN-104108\", \"invoice_date\": \"May 10, 2026\", \"due_date\": \"Jun 24, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 12, \"unit_price\": 145.0, \"line_total\": 1740.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 24, \"unit_price\": 52.0, \"line_total\": 1248.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}, {\"line_no\": 4, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty\": 16, \"unit_price\": 76.0, \"line_total\": 1216.0}], \"subtotal\": 5329.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 5329.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55339 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2200", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-55403", "grn_number": "GRN-104206", "invoice_number": "NSI-119609", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 40816.0, "po_tax": 3367.32, "po_freight": 0.0, "po_total": 44183.32, "invoice_subtotal": 40816.0, "invoice_tax": 3367.32, "invoice_freight": 0.0, "invoice_total": 44183.32, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2200/PO-2026-55403.pdf", "grn_file": "documents/CASE_2200/GRN-104206.jpg", "invoice_file": "documents/CASE_2200/NSI-119609.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2200/PO-2026-55403.pdf", "documents/CASE_2200/GRN-104206.jpg", "documents/CASE_2200/NSI-119609.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 30 units for IT-8875, but warehouse only received 20 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"IT-8875\", \"po_qty\": 30, \"received_qty\": 20, \"invoiced_qty\": 30, \"overbilled_qty\": 10, \"variance_amount\": 6900.0, \"note\": \"Vendor billed 30 units for IT-8875, but warehouse only received 20 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55403\", \"order_date\": \"2026-10-05\", \"expected_delivery\": \"2026-10-15\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 690.0, \"line_total\": 20700.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"alt_description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}], \"subtotal\": 40816.0, \"tax_rate\": 0.0825, \"tax\": 3367.32, \"freight\": 0.0, \"total\": 44183.32, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104206\", \"po_number\": \"PO-2026-55403\", \"received_date\": \"Oct 09, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-265343\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Short 10 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A Shielded Patch Cable 10ft Blue (10-Pack)\", \"uom\": \"PK\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 20 of 30 on IT-8875 (short 10 EA). - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-265343\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-119609\", \"po_number\": \"PO-2026-55403\", \"grn_ref\": \"GRN-104206\", \"invoice_date\": \"10/14/2026\", \"due_date\": \"11/28/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 690.0, \"line_total\": 20700.0}, {\"line_no\": 2, \"sku\": \"IT-8840\", \"description\": \"Cat6A STP Patch Cord 10ft Blu 10pk\", \"uom\": \"PK\", \"qty\": 12, \"unit_price\": 58.0, \"line_total\": 696.0}, {\"line_no\": 3, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 4, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 215.0, \"line_total\": 1720.0}], \"subtotal\": 40816.0, \"tax_rate\": 0.0825, \"tax\": 3367.32, \"freight\": 0.0, \"total\": 44183.32, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55403 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2210", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-55475", "grn_number": "GRN-104317", "invoice_number": "TP-119738", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 8360.0, "po_tax": 501.6, "po_freight": 0.0, "po_total": 8861.6, "invoice_subtotal": 8360.0, "invoice_tax": 501.6, "invoice_freight": 550.0, "invoice_total": 9411.6, "total_variance": 550.0, "num_documents": 3, "po_file": "documents/CASE_2210/PO-2026-55475.jpg", "grn_file": "documents/CASE_2210/GRN-104317.pdf", "invoice_file": "documents/CASE_2210/TP-119738.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2210/PO-2026-55475.jpg", "documents/CASE_2210/GRN-104317.pdf", "documents/CASE_2210/TP-119738.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 550.0, \"variance_amount\": 550.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $550.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55475\", \"order_date\": \"05/09/2026\", \"expected_delivery\": \"05/19/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 135.0, \"line_total\": 1080.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 164.0, \"line_total\": 3280.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 88.0, \"line_total\": 1760.0}], \"subtotal\": 8360.0, \"tax_rate\": 0.06, \"tax\": 501.6, \"freight\": 0.0, \"total\": 8861.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104317\", \"po_number\": \"PO-2026-55475\", \"received_date\": \"17-May-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-781727\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-781727\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-119738\", \"po_number\": \"PO-2026-55475\", \"grn_ref\": \"GRN-104317\", \"invoice_date\": \"2026-05-17\", \"due_date\": \"2026-06-16\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 135.0, \"line_total\": 1080.0}, {\"line_no\": 2, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 164.0, \"line_total\": 3280.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 20, \"unit_price\": 112.0, \"line_total\": 2240.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 88.0, \"line_total\": 1760.0}], \"subtotal\": 8360.0, \"tax_rate\": 0.06, \"tax\": 501.6, \"freight\": 550.0, \"total\": 9411.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55475 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2215", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-55510", "grn_number": "GRN-104368", "invoice_number": "SSP-119796", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 22362.0, "po_tax": 1788.96, "po_freight": 0.0, "po_total": 24150.96, "invoice_subtotal": 22362.0, "invoice_tax": 1788.96, "invoice_freight": 0.0, "invoice_total": 24240.96, "total_variance": 90.0, "num_documents": 3, "po_file": "documents/CASE_2215/PO-2026-55510.pdf", "grn_file": "documents/CASE_2215/GRN-104368.docx", "invoice_file": "documents/CASE_2215/SSP-119796.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2215/PO-2026-55510.pdf", "documents/CASE_2215/GRN-104368.docx", "documents/CASE_2215/SSP-119796.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($22362.00) + Tax ($1788.96) + Freight ($0.00) = $24150.96, but Invoice Total Due states $24240.96.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 24150.96, \"invoice_stated_total\": 24240.96, \"variance_amount\": 90.0, \"note\": \"Invoice total summation error: Subtotal ($22362.00) + Tax ($1788.96) + Freight ($0.00) = $24150.96, but Invoice Total Due states $24240.96.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55510\", \"order_date\": \"16-Sep-2026\", \"expected_delivery\": \"26-Sep-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}], \"subtotal\": 22362.0, \"tax_rate\": 0.08, \"tax\": 1788.96, \"freight\": 0.0, \"total\": 24150.96, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104368\", \"po_number\": \"PO-2026-55510\", \"received_date\": \"2026-09-26\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-309311\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-309311\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-119796\", \"po_number\": \"PO-2026-55510\", \"grn_ref\": \"GRN-104368\", \"invoice_date\": \"Sep 28, 2026\", \"due_date\": \"Nov 12, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}, {\"line_no\": 3, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 20, \"unit_price\": 92.0, \"line_total\": 1840.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 185.0, \"line_total\": 2220.0}], \"subtotal\": 22362.0, \"tax_rate\": 0.08, \"tax\": 1788.96, \"freight\": 0.0, \"total\": 24240.96, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55510 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2217", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-55520", "grn_number": "GRN-104391", "invoice_number": "NSI-119827", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 20500.0, "po_tax": 1230.0, "po_freight": 0.0, "po_total": 21730.0, "invoice_subtotal": 20500.0, "invoice_tax": 1230.0, "invoice_freight": 0.0, "invoice_total": 21910.0, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_2217/PO-2026-55520.docx", "grn_file": "documents/CASE_2217/GRN-104391.pdf", "invoice_file": "documents/CASE_2217/NSI-119827.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2217/PO-2026-55520.docx", "documents/CASE_2217/GRN-104391.pdf", "documents/CASE_2217/NSI-119827.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($20500.00) + Tax ($1230.00) + Freight ($0.00) = $21730.00, but Invoice Total Due states $21910.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 21730.0, \"invoice_stated_total\": 21910.0, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($20500.00) + Tax ($1230.00) + Freight ($0.00) = $21730.00, but Invoice Total Due states $21910.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55520\", \"order_date\": \"Sep 19, 2026\", \"expected_delivery\": \"Sep 29, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"alt_description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 245.0, \"line_total\": 4900.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 20500.0, \"tax_rate\": 0.06, \"tax\": 1230.0, \"freight\": 0.0, \"total\": 21730.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104391\", \"po_number\": \"PO-2026-55520\", \"received_date\": \"09/25/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-402194\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"Thunderbolt 4 Universal Docking Station 180W\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-402194\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-119827\", \"po_number\": \"PO-2026-55520\", \"grn_ref\": \"GRN-104391\", \"invoice_date\": \"26-Sep-2026\", \"due_date\": \"26-Oct-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8829\", \"description\": \"TB4 Universal Dock 180W PSU\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 245.0, \"line_total\": 4900.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 520.0, \"line_total\": 15600.0}], \"subtotal\": 20500.0, \"tax_rate\": 0.06, \"tax\": 1230.0, \"freight\": 0.0, \"total\": 21910.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55520 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2218", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-55529", "grn_number": "GRN-104404", "invoice_number": "KWS-119842", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 13850.0, "po_tax": 0.0, "po_freight": 120.0, "po_total": 13970.0, "invoice_subtotal": 13850.0, "invoice_tax": 0.0, "invoice_freight": 120.0, "invoice_total": 13970.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2218/PO-2026-55529.pdf", "grn_file": "documents/CASE_2218/GRN-104404.jpg", "invoice_file": "documents/CASE_2218/KWS-119842.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2218/PO-2026-55529.pdf", "documents/CASE_2218/GRN-104404.jpg", "documents/CASE_2218/KWS-119842.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55529\", \"order_date\": \"06/19/2026\", \"expected_delivery\": \"06/29/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"alt_description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}], \"subtotal\": 13850.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 13970.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104404\", \"po_number\": \"PO-2026-55529\", \"received_date\": \"29-Jun-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-686315\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Clamp-Mount Dual Monitor Articulating Gas-Spring Arm\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-686315\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-119842\", \"po_number\": \"PO-2026-55529\", \"grn_ref\": \"GRN-104404\", \"invoice_date\": \"2026-07-05\", \"due_date\": \"2026-08-04\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 2, \"sku\": \"FRN-6159\", \"description\": \"Dual Monitor Gas-Spring Desk Arm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 115.0, \"line_total\": 2300.0}], \"subtotal\": 13850.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 13970.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55529 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2220", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-55545", "grn_number": "GRN-104426", "invoice_number": "INV-APX-119867", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 3750.0, "po_tax": 300.0, "po_freight": 0.0, "po_total": 4050.0, "invoice_subtotal": 3750.0, "invoice_tax": 300.0, "invoice_freight": 0.0, "invoice_total": 4050.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2220/PO-2026-55545.docx", "grn_file": "documents/CASE_2220/GRN-104426.jpg", "invoice_file": "documents/CASE_2220/INV-APX-119867.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2220/PO-2026-55545.docx", "documents/CASE_2220/GRN-104426.jpg", "documents/CASE_2220/INV-APX-119867.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55545\", \"order_date\": \"2026-01-27\", \"expected_delivery\": \"2026-02-06\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}], \"subtotal\": 3750.0, \"tax_rate\": 0.08, \"tax\": 300.0, \"freight\": 0.0, \"total\": 4050.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104426\", \"po_number\": \"PO-2026-55545\", \"received_date\": \"Jan 31, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-735421\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-735421\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-119867\", \"po_number\": \"PO-2026-55545\", \"grn_ref\": \"GRN-104426\", \"invoice_date\": \"02/05/2026\", \"due_date\": \"03/22/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 148.0, \"line_total\": 2220.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 12, \"unit_price\": 42.5, \"line_total\": 510.0}], \"subtotal\": 3750.0, \"tax_rate\": 0.08, \"tax\": 300.0, \"freight\": 0.0, \"total\": 4050.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55545 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2233", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-55635", "grn_number": "GRN-104569", "invoice_number": "SSP-120030", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 15145.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 15145.0, "invoice_subtotal": 14257.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 14257.0, "total_variance": -888.0, "num_documents": 3, "po_file": "documents/CASE_2233/PO-2026-55635.pdf", "grn_file": "documents/CASE_2233/GRN-104569.docx", "invoice_file": "documents/CASE_2233/SSP-120030.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2233/PO-2026-55635.pdf", "documents/CASE_2233/GRN-104569.docx", "documents/CASE_2233/SSP-120030.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 24/30 units received and accurately billed; keep PO open for remaining 6 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"IND-4520\", \"po_qty\": 30, \"received_qty\": 24, \"invoiced_qty\": 24, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 24/30 units received and accurately billed; keep PO open for remaining 6 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55635\", \"order_date\": \"Aug 11, 2026\", \"expected_delivery\": \"Aug 21, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 148.0, \"line_total\": 4440.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 15145.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 15145.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104569\", \"po_number\": \"PO-2026-55635\", \"received_date\": \"08/15/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-127586\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (6 EA remaining)\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (24/30 IND-4520). Balance on BO. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-127586\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-120030\", \"po_number\": \"PO-2026-55635\", \"grn_ref\": \"GRN-104569\", \"invoice_date\": \"18-Aug-2026\", \"due_date\": \"17-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 185.0, \"line_total\": 2775.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 14257.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 14257.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55635 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2234", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-55641", "grn_number": "GRN-104577", "invoice_number": "NSI-120048", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 52840.0, "po_tax": 3830.9, "po_freight": 0.0, "po_total": 56670.9, "invoice_subtotal": 52840.0, "invoice_tax": 3830.9, "invoice_freight": 0.0, "invoice_total": 56670.9, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2234/PO-2026-55641.jpg", "grn_file": "documents/CASE_2234/GRN-104577.pdf", "invoice_file": "documents/CASE_2234/NSI-120048.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2234/PO-2026-55641.jpg", "documents/CASE_2234/GRN-104577.pdf", "documents/CASE_2234/NSI-120048.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55641\", \"order_date\": \"07/24/2026\", \"expected_delivery\": \"08/03/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"alt_description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 215.0, \"line_total\": 8600.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}], \"subtotal\": 52840.0, \"tax_rate\": 0.0725, \"tax\": 3830.9, \"freight\": 0.0, \"total\": 56670.9, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104577\", \"po_number\": \"PO-2026-55641\", \"received_date\": \"05-Aug-2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-215849\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"Enterprise NVMe M.2 2280 SSD 2TB PCIe Gen4\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-215849\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-120048\", \"po_number\": \"PO-2026-55641\", \"grn_ref\": \"GRN-104577\", \"invoice_date\": \"2026-08-11\", \"due_date\": \"2026-09-25\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 690.0, \"line_total\": 5520.0}, {\"line_no\": 2, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 520.0, \"line_total\": 10400.0}, {\"line_no\": 3, \"sku\": \"IT-8892\", \"description\": \"2TB M.2 NVMe Gen4 Enterprise SSD\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 215.0, \"line_total\": 8600.0}, {\"line_no\": 4, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 1180.0, \"line_total\": 28320.0}], \"subtotal\": 52840.0, \"tax_rate\": 0.0725, \"tax\": 3830.9, \"freight\": 0.0, \"total\": 56670.9, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55641 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2235", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-55647", "grn_number": "GRN-104593", "invoice_number": "VEP-120064", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 1995.0, "po_tax": 119.7, "po_freight": 0.0, "po_total": 2114.7, "invoice_subtotal": 1995.0, "invoice_tax": 119.7, "invoice_freight": 8.73, "invoice_total": 2123.43, "total_variance": 8.73, "num_documents": 3, "po_file": "documents/CASE_2235/PO-2026-55647.docx", "grn_file": "documents/CASE_2235/GRN-104593.pdf", "invoice_file": "documents/CASE_2235/VEP-120064.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2235/PO-2026-55647.docx", "documents/CASE_2235/GRN-104593.pdf", "documents/CASE_2235/VEP-120064.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $8.73 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 8.73, \"variance_amount\": 8.73, \"note\": \"Prepaid & Add shipping fee of $8.73 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55647\", \"order_date\": \"16-Jun-2026\", \"expected_delivery\": \"26-Jun-2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 1995.0, \"tax_rate\": 0.06, \"tax\": 119.7, \"freight\": 0.0, \"total\": 2114.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104593\", \"po_number\": \"PO-2026-55647\", \"received_date\": \"2026-06-29\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-631779\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-631779\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-120064\", \"po_number\": \"PO-2026-55647\", \"grn_ref\": \"GRN-104593\", \"invoice_date\": \"Jul 04, 2026\", \"due_date\": \"Aug 18, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 5, \"unit_price\": 310.0, \"line_total\": 1550.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 1995.0, \"tax_rate\": 0.06, \"tax\": 119.7, \"freight\": 8.73, \"total\": 2123.43, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55647 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2244", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-55710", "grn_number": "GRN-104687", "invoice_number": "INV-APX-120179", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 595.0, "po_tax": 49.09, "po_freight": 0.0, "po_total": 644.09, "invoice_subtotal": 1335.0, "invoice_tax": 110.14, "invoice_freight": 0.0, "invoice_total": 1445.14, "total_variance": 801.05, "num_documents": 3, "po_file": "documents/CASE_2244/PO-2026-55710.docx", "grn_file": "documents/CASE_2244/GRN-104687.jpg", "invoice_file": "documents/CASE_2244/INV-APX-120179.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2244/PO-2026-55710.docx", "documents/CASE_2244/GRN-104687.jpg", "documents/CASE_2244/INV-APX-120179.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IND-4520 ($740.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 3, \"sku\": \"IND-4520\", \"invoiced_qty\": 5, \"invoice_unit_price\": 148.0, \"variance_amount\": 740.0, \"note\": \"Invoice includes line item IND-4520 ($740.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55710\", \"order_date\": \"2026-08-05\", \"expected_delivery\": \"2026-08-15\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}], \"subtotal\": 595.0, \"tax_rate\": 0.0825, \"tax\": 49.09, \"freight\": 0.0, \"total\": 644.09, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104687\", \"po_number\": \"PO-2026-55710\", \"received_date\": \"Aug 16, 2026\", \"carrier\": \"Estes Express\", \"bol_number\": \"BOL-748872\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Estes Express | Bill of Lading: BOL-748872\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-120179\", \"po_number\": \"PO-2026-55710\", \"grn_ref\": \"GRN-104687\", \"invoice_date\": \"08/18/2026\", \"due_date\": \"10/02/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 10, \"unit_price\": 42.5, \"line_total\": 425.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 148.0, \"line_total\": 740.0}], \"subtotal\": 1335.0, \"tax_rate\": 0.0825, \"tax\": 110.14, \"freight\": 0.0, \"total\": 1445.14, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55710 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2249", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-55747", "grn_number": "GRN-104742", "invoice_number": "PPS-120243", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 12210.0, "po_tax": 732.6, "po_freight": 0.0, "po_total": 12942.6, "invoice_subtotal": 12238.68, "invoice_tax": 734.32, "invoice_freight": 0.0, "invoice_total": 12973.0, "total_variance": 30.4, "num_documents": 3, "po_file": "documents/CASE_2249/PO-2026-55747.png", "grn_file": "documents/CASE_2249/GRN-104742.docx", "invoice_file": "documents/CASE_2249/PPS-120243.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2249/PO-2026-55747.png", "documents/CASE_2249/GRN-104742.docx", "documents/CASE_2249/PPS-120243.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $30.89 exceeds contracted PO unit price $28.50 for ELC-7283.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"ELC-7283\", \"po_unit_price\": 28.5, \"invoice_unit_price\": 30.89, \"qty\": 12, \"variance_amount\": 28.68, \"note\": \"Invoice unit price $30.89 exceeds contracted PO unit price $28.50 for ELC-7283.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55747\", \"order_date\": \"Jan 25, 2026\", \"expected_delivery\": \"Feb 04, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 28.5, \"line_total\": 342.0}], \"subtotal\": 12210.0, \"tax_rate\": 0.06, \"tax\": 732.6, \"freight\": 0.0, \"total\": 12942.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104742\", \"po_number\": \"PO-2026-55747\", \"received_date\": \"01/29/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-545578\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-545578\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-120243\", \"po_number\": \"PO-2026-55747\", \"grn_ref\": \"GRN-104742\", \"invoice_date\": \"29-Jan-2026\", \"due_date\": \"15-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 540.0, \"line_total\": 10800.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 30.89, \"line_total\": 370.68}], \"subtotal\": 12238.68, \"tax_rate\": 0.06, \"tax\": 734.32, \"freight\": 0.0, \"total\": 12973.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55747 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2261", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-55829", "grn_number": "GRN-104879", "invoice_number": "NSI-120395", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "NorthStar Enterprise IT Solutions", "po_subtotal": 48850.0, "po_tax": 2931.0, "po_freight": 0.0, "po_total": 51781.0, "invoice_subtotal": 48850.0, "invoice_tax": 2931.0, "invoice_freight": 0.0, "invoice_total": 51781.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2261/PO-2026-55829.png", "grn_file": "documents/CASE_2261/GRN-104879.docx", "invoice_file": "documents/CASE_2261/NSI-120395.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2261/PO-2026-55829.png", "documents/CASE_2261/GRN-104879.docx", "documents/CASE_2261/NSI-120395.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "6 delivered units of IT-8814 failed dock inspection and were rejected, but vendor billed full 40 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"IT-8814\", \"po_qty\": 40, \"received_qty\": 40, \"accepted_qty\": 34, \"rejected_qty\": 6, \"invoiced_qty\": 40, \"variance_amount\": 3120.0, \"note\": \"6 delivered units of IT-8814 failed dock inspection and were rejected, but vendor billed full 40 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55829\", \"order_date\": \"Feb 02, 2026\", \"expected_delivery\": \"Feb 12, 2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"alt_description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 520.0, \"line_total\": 20800.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"alt_description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"alt_description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}], \"subtotal\": 48850.0, \"tax_rate\": 0.06, \"tax\": 2931.0, \"freight\": 0.0, \"total\": 51781.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-104879\", \"po_number\": \"PO-2026-55829\", \"received_date\": \"02/08/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-588983\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27-Inch 4K IPS USB-C Hub Monitor (U2723QE)\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 34, \"qty_rejected\": 6, \"condition\": \"6 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Business Laptop (i7, 16GB RAM, 512GB NVMe)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24-Port Managed PoE+ Gigabit Rackmount Switch\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"6 units of IT-8814 water/crush damaged; refused & RMA requested! Accepted 34. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-588983\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"NSI-120395\", \"po_number\": \"PO-2026-55829\", \"grn_ref\": \"GRN-104879\", \"invoice_date\": \"08-Feb-2026\", \"due_date\": \"25-Mar-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1002\", \"name\": \"NorthStar Enterprise IT Solutions\", \"address\": \"1900 Reston Metro Plaza, Reston, VA 20190\", \"remit_address\": \"Lockbox #4491, Philadelphia, PA 19178\", \"tax_id\": \"54-3019284\", \"phone\": \"(703) 555-0188\", \"email\": \"invoicing@northstar-it.example.com\", \"category\": \"it_hardware\", \"inv_prefix\": \"NSI-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IT-8814\", \"description\": \"27in 4K UHD USB-C Monitor U2723QE\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 520.0, \"line_total\": 20800.0}, {\"line_no\": 2, \"sku\": \"IT-8801\", \"description\": \"Latitude 5540 Notebook 16G/512G SSD\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 1180.0, \"line_total\": 17700.0}, {\"line_no\": 3, \"sku\": \"IT-8875\", \"description\": \"24P GbE PoE+ L2+ Managed Switch\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 690.0, \"line_total\": 10350.0}], \"subtotal\": 48850.0, \"tax_rate\": 0.06, \"tax\": 2931.0, \"freight\": 0.0, \"total\": 51781.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55829 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2273", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-55916", "grn_number": "GRN-105007", "invoice_number": "TP-120555", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 28924.0, "po_tax": 1735.44, "po_freight": 0.0, "po_total": 30659.44, "invoice_subtotal": 28924.0, "invoice_tax": 1735.44, "invoice_freight": 315.0, "invoice_total": 30974.44, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_2273/PO-2026-55916.png", "grn_file": "documents/CASE_2273/GRN-105007.docx", "invoice_file": "documents/CASE_2273/TP-120555.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2273/PO-2026-55916.png", "documents/CASE_2273/GRN-105007.docx", "documents/CASE_2273/TP-120555.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55916\", \"order_date\": \"May 21, 2026\", \"expected_delivery\": \"May 31, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 135.0, \"line_total\": 1620.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}], \"subtotal\": 28924.0, \"tax_rate\": 0.06, \"tax\": 1735.44, \"freight\": 0.0, \"total\": 30659.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105007\", \"po_number\": \"PO-2026-55916\", \"received_date\": \"06/02/2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-437054\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-437054\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-120555\", \"po_number\": \"PO-2026-55916\", \"grn_ref\": \"GRN-105007\", \"invoice_date\": \"03-Jun-2026\", \"due_date\": \"03-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 164.0, \"line_total\": 8200.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 88.0, \"line_total\": 704.0}, {\"line_no\": 3, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 135.0, \"line_total\": 1620.0}, {\"line_no\": 4, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 460.0, \"line_total\": 18400.0}], \"subtotal\": 28924.0, \"tax_rate\": 0.06, \"tax\": 1735.44, \"freight\": 315.0, \"total\": 30974.44, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55916 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2276", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-55936", "grn_number": "GRN-105037", "invoice_number": "SSP-120592", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 3133.0, "po_tax": 187.98, "po_freight": 0.0, "po_total": 3320.98, "invoice_subtotal": 3320.3, "invoice_tax": 199.22, "invoice_freight": 0.0, "invoice_total": 3519.52, "total_variance": 198.54, "num_documents": 3, "po_file": "documents/CASE_2276/PO-2026-55936.jpg", "grn_file": "documents/CASE_2276/GRN-105037.pdf", "invoice_file": "documents/CASE_2276/SSP-120592.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2276/PO-2026-55936.jpg", "documents/CASE_2276/GRN-105037.pdf", "documents/CASE_2276/SSP-120592.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $222.46 exceeds contracted PO unit price $185.00 for IND-4401.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"IND-4401\", \"po_unit_price\": 185.0, \"invoice_unit_price\": 222.46, \"qty\": 5, \"variance_amount\": 187.3, \"note\": \"Invoice unit price $222.46 exceeds contracted PO unit price $185.00 for IND-4401.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-55936\", \"order_date\": \"2026-07-18\", \"expected_delivery\": \"2026-07-28\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}], \"subtotal\": 3133.0, \"tax_rate\": 0.06, \"tax\": 187.98, \"freight\": 0.0, \"total\": 3320.98, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105037\", \"po_number\": \"PO-2026-55936\", \"received_date\": \"Aug 01, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-401135\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-401135\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-120592\", \"po_number\": \"PO-2026-55936\", \"grn_ref\": \"GRN-105037\", \"invoice_date\": \"08/02/2026\", \"due_date\": \"08/17/2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 24, \"unit_price\": 92.0, \"line_total\": 2208.0}, {\"line_no\": 2, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 222.46, \"line_total\": 1112.3}], \"subtotal\": 3320.3, \"tax_rate\": 0.06, \"tax\": 199.22, \"freight\": 0.0, \"total\": 3519.52, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-55936 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2321", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-56251", "grn_number": "GRN-105539", "invoice_number": "TP-121180", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 6620.0, "po_tax": 546.15, "po_freight": 0.0, "po_total": 7166.15, "invoice_subtotal": 6892.7, "invoice_tax": 568.65, "invoice_freight": 0.0, "invoice_total": 7461.35, "total_variance": 295.2, "num_documents": 3, "po_file": "documents/CASE_2321/PO-2026-56251.png", "grn_file": "documents/CASE_2321/GRN-105539.docx", "invoice_file": "documents/CASE_2321/TP-121180.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2321/PO-2026-56251.png", "documents/CASE_2321/GRN-105539.docx", "documents/CASE_2321/TP-121180.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $130.18 exceeds contracted PO unit price $112.00 for LAB-2188.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 3, \"sku\": \"LAB-2188\", \"po_unit_price\": 112.0, \"invoice_unit_price\": 130.18, \"qty\": 15, \"variance_amount\": 272.7, \"note\": \"Invoice unit price $130.18 exceeds contracted PO unit price $112.00 for LAB-2188.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56251\", \"order_date\": \"Jun 05, 2026\", \"expected_delivery\": \"Jun 15, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 460.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}], \"subtotal\": 6620.0, \"tax_rate\": 0.0825, \"tax\": 546.15, \"freight\": 0.0, \"total\": 7166.15, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105539\", \"po_number\": \"PO-2026-56251\", \"received_date\": \"06/16/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-254717\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-254717\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-121180\", \"po_number\": \"PO-2026-56251\", \"grn_ref\": \"GRN-105539\", \"invoice_date\": \"20-Jun-2026\", \"due_date\": \"04-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 460.0, \"line_total\": 2300.0}, {\"line_no\": 2, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 88.0, \"line_total\": 2640.0}, {\"line_no\": 3, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 130.18, \"line_total\": 1952.7}], \"subtotal\": 6892.7, \"tax_rate\": 0.0825, \"tax\": 568.65, \"freight\": 0.0, \"total\": 7461.35, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56251 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2332", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-56328", "grn_number": "GRN-105657", "invoice_number": "SSP-121323", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 19870.0, "po_tax": 1589.6, "po_freight": 0.0, "po_total": 21459.6, "invoice_subtotal": 19870.0, "invoice_tax": 1589.6, "invoice_freight": 0.0, "invoice_total": 21459.6, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2332/PO-2026-56328.pdf", "grn_file": "documents/CASE_2332/GRN-105657.jpg", "invoice_file": "documents/CASE_2332/SSP-121323.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2332/PO-2026-56328.pdf", "documents/CASE_2332/GRN-105657.jpg", "documents/CASE_2332/SSP-121323.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 50 units for IND-4503, but warehouse only received 39 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 4, \"sku\": \"IND-4503\", \"po_qty\": 50, \"received_qty\": 39, \"invoiced_qty\": 50, \"overbilled_qty\": 11, \"variance_amount\": 3245.0, \"note\": \"Vendor billed 50 units for IND-4503, but warehouse only received 39 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56328\", \"order_date\": \"2026-01-21\", \"expected_delivery\": \"2026-01-31\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}], \"subtotal\": 19870.0, \"tax_rate\": 0.08, \"tax\": 1589.6, \"freight\": 0.0, \"total\": 21459.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105657\", \"po_number\": \"PO-2026-56328\", \"received_date\": \"Jan 29, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-106198\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 39, \"qty_accepted\": 39, \"qty_rejected\": 0, \"condition\": \"Short 11 EA (Backordered)\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 39 of 50 on IND-4503 (short 11 EA). - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-106198\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-121323\", \"po_number\": \"PO-2026-56328\", \"grn_ref\": \"GRN-105657\", \"invoice_date\": \"01/31/2026\", \"due_date\": \"03/02/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 185.0, \"line_total\": 1480.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 4, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 295.0, \"line_total\": 14750.0}], \"subtotal\": 19870.0, \"tax_rate\": 0.08, \"tax\": 1589.6, \"freight\": 0.0, \"total\": 21459.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56328 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2343", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-56406", "grn_number": "GRN-105774", "invoice_number": "SSP-121468", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 6502.0, "po_tax": 520.16, "po_freight": 95.0, "po_total": 7117.16, "invoice_subtotal": 5912.0, "invoice_tax": 472.96, "invoice_freight": 95.0, "invoice_total": 6479.96, "total_variance": -637.2, "num_documents": 3, "po_file": "documents/CASE_2343/PO-2026-56406.docx", "grn_file": "documents/CASE_2343/GRN-105774.pdf", "invoice_file": "documents/CASE_2343/SSP-121468.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2343/PO-2026-56406.docx", "documents/CASE_2343/GRN-105774.pdf", "documents/CASE_2343/SSP-121468.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 8/10 units received and accurately billed; keep PO open for remaining 2 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 2, \"sku\": \"IND-4503\", \"po_qty\": 10, \"received_qty\": 8, \"invoiced_qty\": 8, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 8/10 units received and accurately billed; keep PO open for remaining 2 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56406\", \"order_date\": \"13-Apr-2026\", \"expected_delivery\": \"23-Apr-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}], \"subtotal\": 6502.0, \"tax_rate\": 0.08, \"tax\": 520.16, \"freight\": 95.0, \"total\": 7117.16, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105774\", \"po_number\": \"PO-2026-56406\", \"received_date\": \"2026-04-19\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-106824\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (2 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (8/10 IND-4503). Balance on BO. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-106824\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-121468\", \"po_number\": \"PO-2026-56406\", \"grn_ref\": \"GRN-105774\", \"invoice_date\": \"Apr 23, 2026\", \"due_date\": \"May 23, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 148.0, \"line_total\": 3552.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}], \"subtotal\": 5912.0, \"tax_rate\": 0.08, \"tax\": 472.96, \"freight\": 95.0, \"total\": 6479.96, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56406 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2345", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-56416", "grn_number": "GRN-105799", "invoice_number": "SSP-121486", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 8264.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 8264.0, "invoice_subtotal": 9608.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 9608.0, "total_variance": 1344.0, "num_documents": 3, "po_file": "documents/CASE_2345/PO-2026-56416.png", "grn_file": "documents/CASE_2345/GRN-105799.docx", "invoice_file": "documents/CASE_2345/SSP-121486.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2345/PO-2026-56416.png", "documents/CASE_2345/GRN-105799.docx", "documents/CASE_2345/SSP-121486.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $351.00 exceeds contracted PO unit price $295.00 for IND-4503.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 1, \"sku\": \"IND-4503\", \"po_unit_price\": 295.0, \"invoice_unit_price\": 351.0, \"qty\": 24, \"variance_amount\": 1344.0, \"note\": \"Invoice unit price $351.00 exceeds contracted PO unit price $295.00 for IND-4503.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56416\", \"order_date\": \"Aug 10, 2026\", \"expected_delivery\": \"Aug 20, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 295.0, \"line_total\": 7080.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}], \"subtotal\": 8264.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8264.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105799\", \"po_number\": \"PO-2026-56416\", \"received_date\": \"08/16/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-624604\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-624604\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-121486\", \"po_number\": \"PO-2026-56416\", \"grn_ref\": \"GRN-105799\", \"invoice_date\": \"21-Aug-2026\", \"due_date\": \"20-Sep-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 351.0, \"line_total\": 8424.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 148.0, \"line_total\": 1184.0}], \"subtotal\": 9608.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9608.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56416 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2347", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-56433", "grn_number": "GRN-105819", "invoice_number": "PKR-121519", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 8531.5, "po_tax": 618.53, "po_freight": 0.0, "po_total": 9150.03, "invoice_subtotal": 8531.5, "invoice_tax": 618.53, "invoice_freight": 0.0, "invoice_total": 9150.03, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2347/PO-2026-56433.pdf", "grn_file": "documents/CASE_2347/GRN-105819.docx", "invoice_file": "documents/CASE_2347/PKR-121519.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2347/PO-2026-56433.pdf", "documents/CASE_2347/GRN-105819.docx", "documents/CASE_2347/PKR-121519.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of PKG-3042 failed dock inspection and were rejected, but vendor billed full 5 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"PKG-3042\", \"po_qty\": 5, \"received_qty\": 5, \"accepted_qty\": 3, \"rejected_qty\": 2, \"invoiced_qty\": 5, \"variance_amount\": 128.0, \"note\": \"2 delivered units of PKG-3042 failed dock inspection and were rejected, but vendor billed full 5 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56433\", \"order_date\": \"30-Apr-2026\", \"expected_delivery\": \"10-May-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 12, \"unit_price\": 52.0, \"line_total\": 624.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 64.0, \"line_total\": 320.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 22.5, \"line_total\": 337.5}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 50, \"unit_price\": 145.0, \"line_total\": 7250.0}], \"subtotal\": 8531.5, \"tax_rate\": 0.0725, \"tax\": 618.53, \"freight\": 0.0, \"total\": 9150.03, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105819\", \"po_number\": \"PO-2026-56433\", \"received_date\": \"2026-05-08\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-768603\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 3, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of PKG-3042 water/crush damaged; refused & RMA requested! Accepted 3. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-768603\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-121519\", \"po_number\": \"PO-2026-56433\", \"grn_ref\": \"GRN-105819\", \"invoice_date\": \"May 14, 2026\", \"due_date\": \"Jun 28, 2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty\": 12, \"unit_price\": 52.0, \"line_total\": 624.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 64.0, \"line_total\": 320.0}, {\"line_no\": 3, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 22.5, \"line_total\": 337.5}, {\"line_no\": 4, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty\": 50, \"unit_price\": 145.0, \"line_total\": 7250.0}], \"subtotal\": 8531.5, \"tax_rate\": 0.0725, \"tax\": 618.53, \"freight\": 0.0, \"total\": 9150.03, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56433 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2350", "split": "test", "scenario": "wrong_po_or_vendor_mismatch", "discrepancy_category": "DOCUMENT_MISMATCH", "strict_verdict": "REJECT_DOCUMENT_MISMATCH", "tolerance_verdict": "REJECT_DOCUMENT_MISMATCH", "recommended_action": "REJECT_AND_ROUTE_TO_AP_EXCEPTION_QUEUE", "po_number": "PO-2026-56455", "grn_number": "GRN-105851", "invoice_number": "SSP-121556", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5641.5, "po_tax": 465.42, "po_freight": 0.0, "po_total": 6106.92, "invoice_subtotal": 5641.5, "invoice_tax": 465.42, "invoice_freight": 0.0, "invoice_total": 6106.92, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2350/PO-2026-56455.pdf", "grn_file": "documents/CASE_2350/GRN-105851.jpg", "invoice_file": "documents/CASE_2350/SSP-121556.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2350/PO-2026-56455.pdf", "documents/CASE_2350/GRN-105851.jpg", "documents/CASE_2350/SSP-121556.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "wrong_po_reference", "primary_discrepancy_note": "Invoice references non-matching PO 'PO-2026-902350' instead of packet PO 'PO-2026-56455'.", "discrepancies_json": "[{\"type\": \"wrong_po_reference\", \"expected_po\": \"PO-2026-56455\", \"invoice_po_ref\": \"PO-2026-902350\", \"po_vendor\": \"Summit Safety & PPE Distributors\", \"invoice_vendor\": \"Summit Safety & PPE Distributors\", \"note\": \"Invoice references non-matching PO 'PO-2026-902350' instead of packet PO 'PO-2026-56455'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56455\", \"order_date\": \"08/26/2026\", \"expected_delivery\": \"09/05/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 295.0, \"line_total\": 4425.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}], \"subtotal\": 5641.5, \"tax_rate\": 0.0825, \"tax\": 465.42, \"freight\": 0.0, \"total\": 6106.92, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105851\", \"po_number\": \"PO-2026-56455\", \"received_date\": \"06-Sep-2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-866361\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-866361\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-121556\", \"po_number\": \"PO-2026-902350\", \"grn_ref\": \"GRN-105851\", \"invoice_date\": \"2026-09-07\", \"due_date\": \"2026-10-07\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 5, \"unit_price\": 92.0, \"line_total\": 460.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 295.0, \"line_total\": 4425.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 8, \"unit_price\": 68.0, \"line_total\": 544.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}], \"subtotal\": 5641.5, \"tax_rate\": 0.0825, \"tax\": 465.42, \"freight\": 0.0, \"total\": 6106.92, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-902350 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2354", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-56483", "grn_number": "GRN-105895", "invoice_number": "KWS-121607", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 24270.0, "po_tax": 1456.2, "po_freight": 0.0, "po_total": 25726.2, "invoice_subtotal": 24420.0, "invoice_tax": 1465.2, "invoice_freight": 0.0, "invoice_total": 25885.2, "total_variance": 159.0, "num_documents": 3, "po_file": "documents/CASE_2354/PO-2026-56483.jpg", "grn_file": "documents/CASE_2354/GRN-105895.pdf", "invoice_file": "documents/CASE_2354/KWS-121607.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2354/PO-2026-56483.jpg", "documents/CASE_2354/GRN-105895.pdf", "documents/CASE_2354/KWS-121607.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice arithmetic error on line 2 (FRN-6102): 12 x $640.00 should be $7680.00, but invoice states $7830.00.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 25726.2, \"invoice_stated_total\": 25885.2, \"variance_amount\": 159.0, \"note\": \"Invoice arithmetic error on line 2 (FRN-6102): 12 x $640.00 should be $7680.00, but invoice states $7830.00.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56483\", \"order_date\": \"08/11/2026\", \"expected_delivery\": \"08/21/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"alt_description\": \"3-Drw Mobile File Pedestal Charcoal\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}], \"subtotal\": 24270.0, \"tax_rate\": 0.06, \"tax\": 1456.2, \"freight\": 0.0, \"total\": 25726.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105895\", \"po_number\": \"PO-2026-56483\", \"received_date\": \"19-Aug-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-264277\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-264277\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-121607\", \"po_number\": \"PO-2026-56483\", \"grn_ref\": \"GRN-105895\", \"invoice_date\": \"2026-08-25\", \"due_date\": \"2026-10-09\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 385.0, \"line_total\": 11550.0}, {\"line_no\": 2, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7830.0}, {\"line_no\": 3, \"sku\": \"FRN-6135\", \"description\": \"3-Drawer Locking Mobile Pedestal File Cabinet (Matte Charcoal)\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 210.0, \"line_total\": 5040.0}], \"subtotal\": 24420.0, \"tax_rate\": 0.06, \"tax\": 1465.2, \"freight\": 0.0, \"total\": 25885.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56483 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2355", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-56489", "grn_number": "GRN-105911", "invoice_number": "SSP-121616", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 7080.0, "po_tax": 513.3, "po_freight": 0.0, "po_total": 7593.3, "invoice_subtotal": 7080.0, "invoice_tax": 513.3, "invoice_freight": 0.0, "invoice_total": 7593.3, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2355/PO-2026-56489.docx", "grn_file": "documents/CASE_2355/GRN-105911.pdf", "invoice_file": "documents/CASE_2355/SSP-121616.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2355/PO-2026-56489.docx", "documents/CASE_2355/GRN-105911.pdf", "documents/CASE_2355/SSP-121616.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "10 delivered units of IND-4566 failed dock inspection and were rejected, but vendor billed full 40 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 2, \"sku\": \"IND-4566\", \"po_qty\": 40, \"received_qty\": 40, \"accepted_qty\": 30, \"rejected_qty\": 10, \"invoiced_qty\": 40, \"variance_amount\": 920.0, \"note\": \"10 delivered units of IND-4566 failed dock inspection and were rejected, but vendor billed full 40 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56489\", \"order_date\": \"09-Jun-2026\", \"expected_delivery\": \"19-Jun-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}], \"subtotal\": 7080.0, \"tax_rate\": 0.0725, \"tax\": 513.3, \"freight\": 0.0, \"total\": 7593.3, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105911\", \"po_number\": \"PO-2026-56489\", \"received_date\": \"2026-06-21\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-654597\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 30, \"qty_rejected\": 10, \"condition\": \"10 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"10 units of IND-4566 water/crush damaged; refused & RMA requested! Accepted 30. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-654597\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-121616\", \"po_number\": \"PO-2026-56489\", \"grn_ref\": \"GRN-105911\", \"invoice_date\": \"Jun 25, 2026\", \"due_date\": \"Jul 25, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 30, \"unit_price\": 34.0, \"line_total\": 1020.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 40, \"unit_price\": 92.0, \"line_total\": 3680.0}, {\"line_no\": 3, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 68.0, \"line_total\": 1360.0}], \"subtotal\": 7080.0, \"tax_rate\": 0.0725, \"tax\": 513.3, \"freight\": 0.0, \"total\": 7593.3, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56489 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2357", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-56501", "grn_number": "GRN-105929", "invoice_number": "VEP-121643", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 14100.0, "po_tax": 1128.0, "po_freight": 0.0, "po_total": 15228.0, "invoice_subtotal": 14100.0, "invoice_tax": 1128.0, "invoice_freight": 0.0, "invoice_total": 15228.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2357/PO-2026-56501.png", "grn_file": "documents/CASE_2357/GRN-105929.docx", "invoice_file": "documents/CASE_2357/VEP-121643.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2357/PO-2026-56501.png", "documents/CASE_2357/GRN-105929.docx", "documents/CASE_2357/VEP-121643.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "12 delivered units of ELC-7283 failed dock inspection and were rejected, but vendor billed full 40 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 1, \"sku\": \"ELC-7283\", \"po_qty\": 40, \"received_qty\": 40, \"accepted_qty\": 28, \"rejected_qty\": 12, \"invoiced_qty\": 40, \"variance_amount\": 342.0, \"note\": \"12 delivered units of ELC-7283 failed dock inspection and were rejected, but vendor billed full 40 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56501\", \"order_date\": \"Jan 15, 2026\", \"expected_delivery\": \"Jan 25, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 14100.0, \"tax_rate\": 0.08, \"tax\": 1128.0, \"freight\": 0.0, \"total\": 15228.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105929\", \"po_number\": \"PO-2026-56501\", \"received_date\": \"01/24/2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-870501\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 28, \"qty_rejected\": 12, \"condition\": \"12 Crushed/Damaged - Rejected at Dock\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"12 units of ELC-7283 water/crush damaged; refused & RMA requested! Accepted 28. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-870501\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-121643\", \"po_number\": \"PO-2026-56501\", \"grn_ref\": \"GRN-105929\", \"invoice_date\": \"26-Jan-2026\", \"due_date\": \"10-Feb-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 28.5, \"line_total\": 1140.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}], \"subtotal\": 14100.0, \"tax_rate\": 0.08, \"tax\": 1128.0, \"freight\": 0.0, \"total\": 15228.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56501 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2359", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-56515", "grn_number": "GRN-105955", "invoice_number": "PKR-121672", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 2976.0, "po_tax": 245.52, "po_freight": 0.0, "po_total": 3221.52, "invoice_subtotal": 2976.0, "invoice_tax": 245.52, "invoice_freight": 9.02, "invoice_total": 3230.54, "total_variance": 9.02, "num_documents": 3, "po_file": "documents/CASE_2359/PO-2026-56515.pdf", "grn_file": "documents/CASE_2359/GRN-105955.docx", "invoice_file": "documents/CASE_2359/PKR-121672.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2359/PO-2026-56515.pdf", "documents/CASE_2359/GRN-105955.docx", "documents/CASE_2359/PKR-121672.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $9.02 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 9.02, \"variance_amount\": 9.02, \"note\": \"Prepaid & Add shipping fee of $9.02 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56515\", \"order_date\": \"26-Jul-2026\", \"expected_delivery\": \"05-Aug-2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}], \"subtotal\": 2976.0, \"tax_rate\": 0.0825, \"tax\": 245.52, \"freight\": 0.0, \"total\": 3221.52, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105955\", \"po_number\": \"PO-2026-56515\", \"received_date\": \"2026-08-09\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-948490\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-948490\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-121672\", \"po_number\": \"PO-2026-56515\", \"grn_ref\": \"GRN-105955\", \"invoice_date\": \"Aug 10, 2026\", \"due_date\": \"Sep 09, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 8, \"unit_price\": 52.0, \"line_total\": 416.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}], \"subtotal\": 2976.0, \"tax_rate\": 0.0825, \"tax\": 245.52, \"freight\": 9.02, \"total\": 3230.54, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56515 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2362", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-56537", "grn_number": "GRN-105987", "invoice_number": "VEP-121713", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 4420.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 4420.0, "invoice_subtotal": 4420.0, "invoice_tax": 0.0, "invoice_freight": 6.79, "invoice_total": 4426.79, "total_variance": 6.79, "num_documents": 3, "po_file": "documents/CASE_2362/PO-2026-56537.pdf", "grn_file": "documents/CASE_2362/GRN-105987.jpg", "invoice_file": "documents/CASE_2362/VEP-121713.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2362/PO-2026-56537.pdf", "documents/CASE_2362/GRN-105987.jpg", "documents/CASE_2362/VEP-121713.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $6.79 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 6.79, \"variance_amount\": 6.79, \"note\": \"Prepaid & Add shipping fee of $6.79 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56537\", \"order_date\": \"03/25/2026\", \"expected_delivery\": \"04/04/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}], \"subtotal\": 4420.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 4420.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-105987\", \"po_number\": \"PO-2026-56537\", \"received_date\": \"01-Apr-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-932144\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-932144\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-121713\", \"po_number\": \"PO-2026-56537\", \"grn_ref\": \"GRN-105987\", \"invoice_date\": \"2026-04-06\", \"due_date\": \"2026-05-06\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 89.0, \"line_total\": 3560.0}], \"subtotal\": 4420.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 6.79, \"total\": 4426.79, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56537 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2367", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-56572", "grn_number": "GRN-106043", "invoice_number": "INV-APX-121774", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 7412.5, "po_tax": 0.0, "po_freight": 0.0, "po_total": 7412.5, "invoice_subtotal": 7412.5, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 7412.5, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2367/PO-2026-56572.docx", "grn_file": "documents/CASE_2367/GRN-106043.pdf", "invoice_file": "documents/CASE_2367/INV-APX-121774.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2367/PO-2026-56572.docx", "documents/CASE_2367/GRN-106043.pdf", "documents/CASE_2367/INV-APX-121774.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 5 units for IND-4418, but warehouse only received 3 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"IND-4418\", \"po_qty\": 5, \"received_qty\": 3, \"invoiced_qty\": 5, \"overbilled_qty\": 2, \"variance_amount\": 85.0, \"note\": \"Vendor billed 5 units for IND-4418, but warehouse only received 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56572\", \"order_date\": \"13-Sep-2026\", \"expected_delivery\": \"23-Sep-2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 148.0, \"line_total\": 4440.0}], \"subtotal\": 7412.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 7412.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106043\", \"po_number\": \"PO-2026-56572\", \"received_date\": \"2026-09-18\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-256773\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 5, \"qty_received\": 3, \"qty_accepted\": 3, \"qty_rejected\": 0, \"condition\": \"Short 2 BOX (Backordered)\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 3 of 5 on IND-4418 (short 2 BOX). - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-256773\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-121774\", \"po_number\": \"PO-2026-56572\", \"grn_ref\": \"GRN-106043\", \"invoice_date\": \"Sep 23, 2026\", \"due_date\": \"Oct 23, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 30, \"unit_price\": 92.0, \"line_total\": 2760.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 5, \"unit_price\": 42.5, \"line_total\": 212.5}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 148.0, \"line_total\": 4440.0}], \"subtotal\": 7412.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 7412.5, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56572 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2372", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-56605", "grn_number": "GRN-106093", "invoice_number": "VEP-121838", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 25868.0, "po_tax": 1875.43, "po_freight": 0.0, "po_total": 27743.43, "invoice_subtotal": 25868.0, "invoice_tax": 1875.43, "invoice_freight": 315.0, "invoice_total": 28058.43, "total_variance": 315.0, "num_documents": 3, "po_file": "documents/CASE_2372/PO-2026-56605.jpg", "grn_file": "documents/CASE_2372/GRN-106093.pdf", "invoice_file": "documents/CASE_2372/VEP-121838.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2372/PO-2026-56605.jpg", "documents/CASE_2372/GRN-106093.pdf", "documents/CASE_2372/VEP-121838.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 315.0, \"variance_amount\": 315.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $315.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56605\", \"order_date\": \"2026-07-11\", \"expected_delivery\": \"2026-07-21\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}], \"subtotal\": 25868.0, \"tax_rate\": 0.0725, \"tax\": 1875.43, \"freight\": 0.0, \"total\": 27743.43, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106093\", \"po_number\": \"PO-2026-56605\", \"received_date\": \"Jul 25, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-874957\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-874957\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-121838\", \"po_number\": \"PO-2026-56605\", \"grn_ref\": \"GRN-106093\", \"invoice_date\": \"07/29/2026\", \"due_date\": \"08/28/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 172.0, \"line_total\": 8600.0}], \"subtotal\": 25868.0, \"tax_rate\": 0.0725, \"tax\": 1875.43, \"freight\": 315.0, \"total\": 28058.43, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56605 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2378", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-56649", "grn_number": "GRN-106161", "invoice_number": "PKR-121920", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 530.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 530.0, "invoice_subtotal": 530.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 530.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2378/PO-2026-56649.jpg", "grn_file": "documents/CASE_2378/GRN-106161.pdf", "invoice_file": "documents/CASE_2378/PKR-121920.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2378/PO-2026-56649.jpg", "documents/CASE_2378/GRN-106161.pdf", "documents/CASE_2378/PKR-121920.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56649\", \"order_date\": \"08/18/2026\", \"expected_delivery\": \"08/28/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}], \"subtotal\": 530.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 530.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106161\", \"po_number\": \"PO-2026-56649\", \"received_date\": \"29-Aug-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-582884\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-582884\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-121920\", \"po_number\": \"PO-2026-56649\", \"grn_ref\": \"GRN-106161\", \"invoice_date\": \"2026-08-29\", \"due_date\": \"2026-09-28\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 22.5, \"line_total\": 270.0}, {\"line_no\": 2, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 5, \"unit_price\": 52.0, \"line_total\": 260.0}], \"subtotal\": 530.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 530.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56649 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2384", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-56689", "grn_number": "GRN-106231", "invoice_number": "VEP-121997", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 36349.0, "po_tax": 2180.94, "po_freight": 120.0, "po_total": 38649.94, "invoice_subtotal": 29329.0, "invoice_tax": 1759.74, "invoice_freight": 120.0, "invoice_total": 31208.74, "total_variance": -7441.2, "num_documents": 3, "po_file": "documents/CASE_2384/PO-2026-56689.jpg", "grn_file": "documents/CASE_2384/GRN-106231.pdf", "invoice_file": "documents/CASE_2384/VEP-121997.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2384/PO-2026-56689.jpg", "documents/CASE_2384/GRN-106231.pdf", "documents/CASE_2384/VEP-121997.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 27/40 units received and accurately billed; keep PO open for remaining 13 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 3, \"sku\": \"ELC-7244\", \"po_qty\": 40, \"received_qty\": 27, \"invoiced_qty\": 27, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 27/40 units received and accurately billed; keep PO open for remaining 13 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56689\", \"order_date\": \"2026-05-25\", \"expected_delivery\": \"2026-06-04\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 540.0, \"line_total\": 21600.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}], \"subtotal\": 36349.0, \"tax_rate\": 0.06, \"tax\": 2180.94, \"freight\": 120.0, \"total\": 38649.94, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106231\", \"po_number\": \"PO-2026-56689\", \"received_date\": \"Jun 05, 2026\", \"carrier\": \"DHL Freight\", \"bol_number\": \"BOL-877440\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 27, \"qty_accepted\": 27, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (13 EA remaining)\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (27/40 ELC-7244). Balance on BO. - T. Nguyen\", \"notes\": \"Carrier: DHL Freight | Bill of Lading: BOL-877440\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-121997\", \"po_number\": \"PO-2026-56689\", \"grn_ref\": \"GRN-106231\", \"invoice_date\": \"06/09/2026\", \"due_date\": \"07/09/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}, {\"line_no\": 2, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty\": 27, \"unit_price\": 540.0, \"line_total\": 14580.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty\": 40, \"unit_price\": 310.0, \"line_total\": 12400.0}], \"subtotal\": 29329.0, \"tax_rate\": 0.06, \"tax\": 1759.74, \"freight\": 120.0, \"total\": 31208.74, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56689 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2390", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-56733", "grn_number": "GRN-106298", "invoice_number": "TP-122077", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 10300.0, "po_tax": 849.75, "po_freight": 120.0, "po_total": 11269.75, "invoice_subtotal": 10300.0, "invoice_tax": 849.75, "invoice_freight": 120.0, "invoice_total": 11269.75, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2390/PO-2026-56733.jpg", "grn_file": "documents/CASE_2390/GRN-106298.pdf", "invoice_file": "documents/CASE_2390/TP-122077.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2390/PO-2026-56733.jpg", "documents/CASE_2390/GRN-106298.pdf", "documents/CASE_2390/TP-122077.docx"], "file_formats": ["jpg", "pdf", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 10 units for LAB-2170, but warehouse only received 7 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 3, \"sku\": \"LAB-2170\", \"po_qty\": 10, \"received_qty\": 7, \"invoiced_qty\": 10, \"overbilled_qty\": 3, \"variance_amount\": 1380.0, \"note\": \"Vendor billed 10 units for LAB-2170, but warehouse only received 7 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56733\", \"order_date\": \"02/06/2026\", \"expected_delivery\": \"02/16/2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 135.0, \"line_total\": 2700.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"alt_description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 88.0, \"line_total\": 1320.0}], \"subtotal\": 10300.0, \"tax_rate\": 0.0825, \"tax\": 849.75, \"freight\": 120.0, \"total\": 11269.75, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106298\", \"po_number\": \"PO-2026-56733\", \"received_date\": \"15-Feb-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-787284\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"Benchtop Microcentrifuge Rotor 24 x 1.5/2.0mL Aerosol-Tight\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 7, \"qty_accepted\": 7, \"qty_rejected\": 0, \"condition\": \"Short 3 EA (Backordered)\"}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 7 of 10 on LAB-2170 (short 3 EA). - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-787284\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-122077\", \"po_number\": \"PO-2026-56733\", \"grn_ref\": \"GRN-106298\", \"invoice_date\": \"2026-02-20\", \"due_date\": \"2026-03-22\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 15, \"unit_price\": 112.0, \"line_total\": 1680.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 135.0, \"line_total\": 2700.0}, {\"line_no\": 3, \"sku\": \"LAB-2170\", \"description\": \"24-Place Microcentrifuge Rotor Sealed\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 460.0, \"line_total\": 4600.0}, {\"line_no\": 4, \"sku\": \"LAB-2119\", \"description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 15, \"unit_price\": 88.0, \"line_total\": 1320.0}], \"subtotal\": 10300.0, \"tax_rate\": 0.0825, \"tax\": 849.75, \"freight\": 120.0, \"total\": 11269.75, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56733 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2393", "split": "test", "scenario": "invoice_math_or_tax_error", "discrepancy_category": "MATH_OR_TAX_ERROR", "strict_verdict": "REJECT_INVOICE_MATH_ERROR", "tolerance_verdict": "REJECT_INVOICE_MATH_ERROR", "recommended_action": "RETURN_INVOICE_FOR_REBILLING", "po_number": "PO-2026-56756", "grn_number": "GRN-106327", "invoice_number": "PKR-122113", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 4609.0, "po_tax": 276.54, "po_freight": 0.0, "po_total": 4885.54, "invoice_subtotal": 4609.0, "invoice_tax": 276.54, "invoice_freight": 0.0, "invoice_total": 5065.54, "total_variance": 180.0, "num_documents": 3, "po_file": "documents/CASE_2393/PO-2026-56756.png", "grn_file": "documents/CASE_2393/GRN-106327.docx", "invoice_file": "documents/CASE_2393/PKR-122113.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2393/PO-2026-56756.png", "documents/CASE_2393/GRN-106327.docx", "documents/CASE_2393/PKR-122113.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "invoice_arithmetic_error", "primary_discrepancy_note": "Invoice total summation error: Subtotal ($4609.00) + Tax ($276.54) + Freight ($0.00) = $4885.54, but Invoice Total Due states $5065.54.", "discrepancies_json": "[{\"type\": \"invoice_arithmetic_error\", \"po_total\": 4885.54, \"invoice_stated_total\": 5065.54, \"variance_amount\": 180.0, \"note\": \"Invoice total summation error: Subtotal ($4609.00) + Tax ($276.54) + Freight ($0.00) = $4885.54, but Invoice Total Due states $5065.54.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56756\", \"order_date\": \"Jun 01, 2026\", \"expected_delivery\": \"Jun 11, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 22.5, \"line_total\": 225.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"alt_description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 76.0, \"line_total\": 1824.0}], \"subtotal\": 4609.0, \"tax_rate\": 0.06, \"tax\": 276.54, \"freight\": 0.0, \"total\": 4885.54, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106327\", \"po_number\": \"PO-2026-56756\", \"received_date\": \"06/12/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-783584\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"Heavy-Duty Cast Stretch Wrap Film 80 Gauge 18in x 1500ft (4 Rolls)\", \"uom\": \"CS\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-783584\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-122113\", \"po_number\": \"PO-2026-56756\", \"grn_ref\": \"GRN-106327\", \"invoice_date\": \"14-Jun-2026\", \"due_date\": \"14-Jul-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 22.5, \"line_total\": 225.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 64.0, \"line_total\": 2560.0}, {\"line_no\": 3, \"sku\": \"PKG-3025\", \"description\": \"80ga Stretch Film 18x1500 4rl/cs\", \"uom\": \"CS\", \"qty\": 24, \"unit_price\": 76.0, \"line_total\": 1824.0}], \"subtotal\": 4609.0, \"tax_rate\": 0.06, \"tax\": 276.54, \"freight\": 0.0, \"total\": 5065.54, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56756 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2401", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-56812", "grn_number": "GRN-106412", "invoice_number": "PKR-122217", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 5160.0, "po_tax": 309.6, "po_freight": 0.0, "po_total": 5469.6, "invoice_subtotal": 5160.0, "invoice_tax": 309.6, "invoice_freight": 0.0, "invoice_total": 5469.6, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2401/PO-2026-56812.pdf", "grn_file": "documents/CASE_2401/GRN-106412.docx", "invoice_file": "documents/CASE_2401/PKR-122217.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2401/PO-2026-56812.pdf", "documents/CASE_2401/GRN-106412.docx", "documents/CASE_2401/PKR-122217.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56812\", \"order_date\": \"Feb 23, 2026\", \"expected_delivery\": \"Mar 05, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 8, \"unit_price\": 145.0, \"line_total\": 1160.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 64.0, \"line_total\": 1920.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}], \"subtotal\": 5160.0, \"tax_rate\": 0.06, \"tax\": 309.6, \"freight\": 0.0, \"total\": 5469.6, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106412\", \"po_number\": \"PO-2026-56812\", \"received_date\": \"03/03/2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-355973\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-355973\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-122217\", \"po_number\": \"PO-2026-56812\", \"grn_ref\": \"GRN-106412\", \"invoice_date\": \"07-Mar-2026\", \"due_date\": \"06-Apr-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 8, \"unit_price\": 145.0, \"line_total\": 1160.0}, {\"line_no\": 2, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 30, \"unit_price\": 64.0, \"line_total\": 1920.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 40, \"unit_price\": 52.0, \"line_total\": 2080.0}], \"subtotal\": 5160.0, \"tax_rate\": 0.06, \"tax\": 309.6, \"freight\": 0.0, \"total\": 5469.6, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56812 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2404", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-56830", "grn_number": "GRN-106448", "invoice_number": "PPS-122254", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 38615.0, "po_tax": 3185.74, "po_freight": 0.0, "po_total": 41800.74, "invoice_subtotal": 38615.0, "invoice_tax": 3185.74, "invoice_freight": 8.59, "invoice_total": 41809.33, "total_variance": 8.59, "num_documents": 3, "po_file": "documents/CASE_2404/PO-2026-56830.pdf", "grn_file": "documents/CASE_2404/GRN-106448.jpg", "invoice_file": "documents/CASE_2404/PPS-122254.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2404/PO-2026-56830.pdf", "documents/CASE_2404/GRN-106448.jpg", "documents/CASE_2404/PPS-122254.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $8.59 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 8.59, \"variance_amount\": 8.59, \"note\": \"Prepaid & Add shipping fee of $8.59 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56830\", \"order_date\": \"2026-08-28\", \"expected_delivery\": \"2026-09-07\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}], \"subtotal\": 38615.0, \"tax_rate\": 0.0825, \"tax\": 3185.74, \"freight\": 0.0, \"total\": 41800.74, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106448\", \"po_number\": \"PO-2026-56830\", \"received_date\": \"Sep 08, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-418183\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-418183\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-122254\", \"po_number\": \"PO-2026-56830\", \"grn_ref\": \"GRN-106448\", \"invoice_date\": \"09/09/2026\", \"due_date\": \"10/09/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 540.0, \"line_total\": 27000.0}, {\"line_no\": 4, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 28.5, \"line_total\": 285.0}], \"subtotal\": 38615.0, \"tax_rate\": 0.0825, \"tax\": 3185.74, \"freight\": 8.59, \"total\": 41809.33, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56830 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2417", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-56921", "grn_number": "GRN-106592", "invoice_number": "VEP-122428", "duplicate_invoice_number": "VEP-902417", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 8040.0, "po_tax": 643.2, "po_freight": 0.0, "po_total": 8683.2, "invoice_subtotal": 8040.0, "invoice_tax": 643.2, "invoice_freight": 0.0, "invoice_total": 8683.2, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_2417/PO-2026-56921.png", "grn_file": "documents/CASE_2417/GRN-106592.docx", "invoice_file": "documents/CASE_2417/VEP-122428.pdf", "duplicate_invoice_file": "documents/CASE_2417/VEP-902417.jpg", "file_paths": ["documents/CASE_2417/PO-2026-56921.png", "documents/CASE_2417/GRN-106592.docx", "documents/CASE_2417/VEP-122428.pdf", "documents/CASE_2417/VEP-902417.jpg"], "file_formats": ["png", "docx", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'VEP-122428' and 'VEP-902417' bill $8683.20 against single receipt 'GRN-106592' / PO 'PO-2026-56921'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"VEP-122428\", \"duplicate_invoice_number\": \"VEP-902417\", \"duplicate_billed_amount\": 8683.2, \"variance_amount\": 8683.2, \"note\": \"Duplicate billing detected: both 'VEP-122428' and 'VEP-902417' bill $8683.20 against single receipt 'GRN-106592' / PO 'PO-2026-56921'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56921\", \"order_date\": \"May 29, 2026\", \"expected_delivery\": \"Jun 08, 2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}], \"subtotal\": 8040.0, \"tax_rate\": 0.08, \"tax\": 643.2, \"freight\": 0.0, \"total\": 8683.2, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106592\", \"po_number\": \"PO-2026-56921\", \"received_date\": \"06/12/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-497715\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-497715\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-122428\", \"po_number\": \"PO-2026-56921\", \"grn_ref\": \"GRN-106592\", \"invoice_date\": \"17-Jun-2026\", \"due_date\": \"01-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}], \"subtotal\": 8040.0, \"tax_rate\": 0.08, \"tax\": 643.2, \"freight\": 0.0, \"total\": 8683.2, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56921 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"VEP-902417\", \"po_number\": \"PO-2026-56921\", \"grn_ref\": \"GRN-106592\", \"invoice_date\": \"30-Jun-2026\", \"due_date\": \"14-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 172.0, \"line_total\": 860.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 89.0, \"line_total\": 1780.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 540.0, \"line_total\": 5400.0}], \"subtotal\": 8040.0, \"tax_rate\": 0.08, \"tax\": 643.2, \"freight\": 0.0, \"total\": 8683.2, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-497715. Please remit to lockbox.\"}}"} {"case_id": "CASE_2419", "split": "test", "scenario": "damaged_rejected_goods", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUALITY_REJECTION", "tolerance_verdict": "HOLD_QUALITY_REJECTION", "recommended_action": "DEDUCT_REJECTED_QTY_REQUEST_RMA_CREDIT", "po_number": "PO-2026-56934", "grn_number": "GRN-106616", "invoice_number": "SSP-122451", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Vanguard Logistics & Fulfillment LLC", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 6768.0, "po_tax": 541.44, "po_freight": 0.0, "po_total": 7309.44, "invoice_subtotal": 6768.0, "invoice_tax": 541.44, "invoice_freight": 0.0, "invoice_total": 7309.44, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2419/PO-2026-56934.pdf", "grn_file": "documents/CASE_2419/GRN-106616.docx", "invoice_file": "documents/CASE_2419/SSP-122451.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2419/PO-2026-56934.pdf", "documents/CASE_2419/GRN-106616.docx", "documents/CASE_2419/SSP-122451.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "damaged_goods_billed", "primary_discrepancy_note": "2 delivered units of IND-4566 failed dock inspection and were rejected, but vendor billed full 8 units.", "discrepancies_json": "[{\"type\": \"damaged_goods_billed\", \"line_no\": 4, \"sku\": \"IND-4566\", \"po_qty\": 8, \"received_qty\": 8, \"accepted_qty\": 6, \"rejected_qty\": 2, \"invoiced_qty\": 8, \"variance_amount\": 184.0, \"note\": \"2 delivered units of IND-4566 failed dock inspection and were rejected, but vendor billed full 8 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-56934\", \"order_date\": \"17-Jul-2026\", \"expected_delivery\": \"27-Jul-2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 8, \"unit_price\": 92.0, \"line_total\": 736.0}], \"subtotal\": 6768.0, \"tax_rate\": 0.08, \"tax\": 541.44, \"freight\": 0.0, \"total\": 7309.44, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106616\", \"po_number\": \"PO-2026-56934\", \"received_date\": \"2026-07-29\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-601626\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 6, \"qty_rejected\": 2, \"condition\": \"2 Crushed/Damaged - Rejected at Dock\"}], \"stamp_text\": \"DAMAGED GOODS REJECTED\", \"handwritten_note\": \"2 units of IND-4566 water/crush damaged; refused & RMA requested! Accepted 6. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-601626\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-122451\", \"po_number\": \"PO-2026-56934\", \"grn_ref\": \"GRN-106616\", \"invoice_date\": \"Jul 30, 2026\", \"due_date\": \"Aug 29, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Vanguard Logistics & Fulfillment LLC\", \"short_name\": \"Vanguard Logistics\", \"address\": \"4900 Tradeport Blvd, Atlanta, GA 30354\", \"warehouse_address\": \"Gate 12 Distribution Hub, 4920 Tradeport Blvd, Atlanta, GA 30354\", \"phone\": \"(404) 555-0175\", \"email\": \"buyers@vanguard-fulfill.example.com\", \"ap_email\": \"ap@vanguard-fulfill.example.com\", \"tax_id\": \"58-2910443\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 8, \"unit_price\": 34.0, \"line_total\": 272.0}, {\"line_no\": 3, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 68.0, \"line_total\": 3400.0}, {\"line_no\": 4, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 8, \"unit_price\": 92.0, \"line_total\": 736.0}], \"subtotal\": 6768.0, \"tax_rate\": 0.08, \"tax\": 541.44, \"freight\": 0.0, \"total\": 7309.44, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-56934 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2428", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-57001", "grn_number": "GRN-106717", "invoice_number": "SSP-122571", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 5670.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 5670.0, "invoice_subtotal": 4785.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 4785.0, "total_variance": -885.0, "num_documents": 3, "po_file": "documents/CASE_2428/PO-2026-57001.pdf", "grn_file": "documents/CASE_2428/GRN-106717.jpg", "invoice_file": "documents/CASE_2428/SSP-122571.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2428/PO-2026-57001.pdf", "documents/CASE_2428/GRN-106717.jpg", "documents/CASE_2428/SSP-122571.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 7/10 units received and accurately billed; keep PO open for remaining 3 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 1, \"sku\": \"IND-4503\", \"po_qty\": 10, \"received_qty\": 7, \"invoiced_qty\": 7, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 7/10 units received and accurately billed; keep PO open for remaining 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57001\", \"order_date\": \"2026-08-24\", \"expected_delivery\": \"2026-09-03\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 295.0, \"line_total\": 2950.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}], \"subtotal\": 5670.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 5670.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106717\", \"po_number\": \"PO-2026-57001\", \"received_date\": \"Sep 01, 2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-465045\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 7, \"qty_accepted\": 7, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (3 EA remaining)\"}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (7/10 IND-4503). Balance on BO. - T. Nguyen\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-465045\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-122571\", \"po_number\": \"PO-2026-57001\", \"grn_ref\": \"GRN-106717\", \"invoice_date\": \"09/06/2026\", \"due_date\": \"10/21/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 7, \"unit_price\": 295.0, \"line_total\": 2065.0}, {\"line_no\": 2, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}], \"subtotal\": 4785.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 4785.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57001 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2433", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-57035", "grn_number": "GRN-106770", "invoice_number": "SSP-122632", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 3035.0, "po_tax": 242.8, "po_freight": 0.0, "po_total": 3277.8, "invoice_subtotal": 3035.0, "invoice_tax": 242.8, "invoice_freight": 0.0, "invoice_total": 3277.8, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2433/PO-2026-57035.docx", "grn_file": "documents/CASE_2433/GRN-106770.pdf", "invoice_file": "documents/CASE_2433/SSP-122632.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2433/PO-2026-57035.docx", "documents/CASE_2433/GRN-106770.pdf", "documents/CASE_2433/SSP-122632.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57035\", \"order_date\": \"Jan 21, 2026\", \"expected_delivery\": \"Jan 31, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 3035.0, \"tax_rate\": 0.08, \"tax\": 242.8, \"freight\": 0.0, \"total\": 3277.8, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106770\", \"po_number\": \"PO-2026-57035\", \"received_date\": \"01/25/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-629016\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-629016\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-122632\", \"po_number\": \"PO-2026-57035\", \"grn_ref\": \"GRN-106770\", \"invoice_date\": \"25-Jan-2026\", \"due_date\": \"24-Feb-2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 2, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 10, \"unit_price\": 92.0, \"line_total\": 920.0}, {\"line_no\": 3, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 185.0, \"line_total\": 925.0}, {\"line_no\": 4, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 20, \"unit_price\": 42.5, \"line_total\": 850.0}], \"subtotal\": 3035.0, \"tax_rate\": 0.08, \"tax\": 242.8, \"freight\": 0.0, \"total\": 3277.8, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57035 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2434", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-57043", "grn_number": "GRN-106779", "invoice_number": "INV-APX-122647", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 15960.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 15960.0, "invoice_subtotal": 15960.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 15960.0, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2434/PO-2026-57043.pdf", "grn_file": "documents/CASE_2434/GRN-106779.jpg", "invoice_file": "documents/CASE_2434/INV-APX-122647.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2434/PO-2026-57043.pdf", "documents/CASE_2434/GRN-106779.jpg", "documents/CASE_2434/INV-APX-122647.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 20 units for IND-4503, but warehouse only received 13 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 2, \"sku\": \"IND-4503\", \"po_qty\": 20, \"received_qty\": 13, \"invoiced_qty\": 20, \"overbilled_qty\": 7, \"variance_amount\": 2065.0, \"note\": \"Vendor billed 20 units for IND-4503, but warehouse only received 13 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57043\", \"order_date\": \"03/27/2026\", \"expected_delivery\": \"04/06/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}], \"subtotal\": 15960.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 15960.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106779\", \"po_number\": \"PO-2026-57043\", \"received_date\": \"08-Apr-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-527698\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 13, \"qty_accepted\": 13, \"qty_rejected\": 0, \"condition\": \"Short 7 EA (Backordered)\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 13 of 20 on IND-4503 (short 7 EA). - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-527698\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-122647\", \"po_number\": \"PO-2026-57043\", \"grn_ref\": \"GRN-106779\", \"invoice_date\": \"2026-04-09\", \"due_date\": \"2026-05-24\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 295.0, \"line_total\": 5900.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty\": 20, \"unit_price\": 34.0, \"line_total\": 680.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 68.0, \"line_total\": 340.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 185.0, \"line_total\": 4440.0}], \"subtotal\": 15960.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 15960.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57043 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2446", "split": "test", "scenario": "unordered_line_item", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_UNORDERED_ITEM", "tolerance_verdict": "HOLD_UNORDERED_ITEM", "recommended_action": "REJECT_UNORDERED_LINE_ITEM", "po_number": "PO-2026-57123", "grn_number": "GRN-106910", "invoice_number": "INV-APX-122805", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 8835.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 8835.0, "invoice_subtotal": 9205.0, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 9205.0, "total_variance": 370.0, "num_documents": 3, "po_file": "documents/CASE_2446/PO-2026-57123.pdf", "grn_file": "documents/CASE_2446/GRN-106910.jpg", "invoice_file": "documents/CASE_2446/INV-APX-122805.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2446/PO-2026-57123.pdf", "documents/CASE_2446/GRN-106910.jpg", "documents/CASE_2446/INV-APX-122805.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unordered_line_item_on_invoice", "primary_discrepancy_note": "Invoice includes line item IND-4401 ($370.00) absent from both PO and Warehouse Receipt.", "discrepancies_json": "[{\"type\": \"unordered_line_item_on_invoice\", \"line_no\": 4, \"sku\": \"IND-4401\", \"invoiced_qty\": 2, \"invoice_unit_price\": 185.0, \"variance_amount\": 370.0, \"note\": \"Invoice includes line item IND-4401 ($370.00) absent from both PO and Warehouse Receipt.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57123\", \"order_date\": \"01/25/2026\", \"expected_delivery\": \"02/04/2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}], \"subtotal\": 8835.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 8835.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106910\", \"po_number\": \"PO-2026-57123\", \"received_date\": \"29-Jan-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-421279\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-421279\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-122805\", \"po_number\": \"PO-2026-57123\", \"grn_ref\": \"GRN-106910\", \"invoice_date\": \"2026-02-03\", \"due_date\": \"2026-03-20\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty\": 50, \"unit_price\": 92.0, \"line_total\": 4600.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty\": 30, \"unit_price\": 42.5, \"line_total\": 1275.0}, {\"line_no\": 3, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 4, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty\": 2, \"unit_price\": 185.0, \"line_total\": 370.0}], \"subtotal\": 9205.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9205.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57123 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2448", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-57137", "grn_number": "GRN-106932", "invoice_number": "PPS-122828", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 21972.0, "po_tax": 1812.69, "po_freight": 35.0, "po_total": 23819.69, "invoice_subtotal": 21972.0, "invoice_tax": 1812.69, "invoice_freight": 35.0, "invoice_total": 23819.69, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2448/PO-2026-57137.docx", "grn_file": "documents/CASE_2448/GRN-106932.jpg", "invoice_file": "documents/CASE_2448/PPS-122828.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2448/PO-2026-57137.docx", "documents/CASE_2448/GRN-106932.jpg", "documents/CASE_2448/PPS-122828.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57137\", \"order_date\": \"2026-05-06\", \"expected_delivery\": \"2026-05-16\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}], \"subtotal\": 21972.0, \"tax_rate\": 0.0825, \"tax\": 1812.69, \"freight\": 35.0, \"total\": 23819.69, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-106932\", \"po_number\": \"PO-2026-57137\", \"received_date\": \"May 13, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-428758\", \"received_by\": \"S. Lindqvist\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - S. Lindqvist\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-428758\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-122828\", \"po_number\": \"PO-2026-57137\", \"grn_ref\": \"GRN-106932\", \"invoice_date\": \"05/14/2026\", \"due_date\": \"06/13/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 89.0, \"line_total\": 712.0}, {\"line_no\": 2, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 540.0, \"line_total\": 16200.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 4, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 8, \"unit_price\": 310.0, \"line_total\": 2480.0}], \"subtotal\": 21972.0, \"tax_rate\": 0.0825, \"tax\": 1812.69, \"freight\": 35.0, \"total\": 23819.69, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57137 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2454", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-57180", "grn_number": "GRN-107002", "invoice_number": "VEP-122907", "duplicate_invoice_number": "VEP-122907-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "VoltEdge Power & Automation Ltd.", "po_subtotal": 18080.0, "po_tax": 1446.4, "po_freight": 95.0, "po_total": 19621.4, "invoice_subtotal": 18080.0, "invoice_tax": 1446.4, "invoice_freight": 95.0, "invoice_total": 19621.4, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_2454/PO-2026-57180.docx", "grn_file": "documents/CASE_2454/GRN-107002.jpg", "invoice_file": "documents/CASE_2454/VEP-122907.pdf", "duplicate_invoice_file": "documents/CASE_2454/VEP-122907-R1.jpg", "file_paths": ["documents/CASE_2454/PO-2026-57180.docx", "documents/CASE_2454/GRN-107002.jpg", "documents/CASE_2454/VEP-122907.pdf", "documents/CASE_2454/VEP-122907-R1.jpg"], "file_formats": ["docx", "jpg", "pdf", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'VEP-122907' and 'VEP-122907-R1' bill $19621.40 against single receipt 'GRN-107002' / PO 'PO-2026-57180'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"VEP-122907\", \"duplicate_invoice_number\": \"VEP-122907-R1\", \"duplicate_billed_amount\": 19621.4, \"variance_amount\": 19621.4, \"note\": \"Duplicate billing detected: both 'VEP-122907' and 'VEP-122907-R1' bill $19621.40 against single receipt 'GRN-107002' / PO 'PO-2026-57180'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57180\", \"order_date\": \"08/26/2026\", \"expected_delivery\": \"09/05/2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 18080.0, \"tax_rate\": 0.08, \"tax\": 1446.4, \"freight\": 95.0, \"total\": 19621.4, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107002\", \"po_number\": \"PO-2026-57180\", \"received_date\": \"30-Aug-2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-416873\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-416873\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"VEP-122907\", \"po_number\": \"PO-2026-57180\", \"grn_ref\": \"GRN-107002\", \"invoice_date\": \"2026-09-03\", \"due_date\": \"2026-10-03\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 18080.0, \"tax_rate\": 0.08, \"tax\": 1446.4, \"freight\": 95.0, \"total\": 19621.4, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57180 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"VEP-122907-R1\", \"po_number\": \"PO-2026-57180\", \"grn_ref\": \"GRN-107002\", \"invoice_date\": \"2026-09-09\", \"due_date\": \"2026-10-09\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1006\", \"name\": \"VoltEdge Power & Automation Ltd.\", \"address\": \"9080 Katy Freeway, Suite 450, Houston, TX 77024\", \"remit_address\": \"Dept 7712, Dallas, TX 75312\", \"tax_id\": \"76-2104982\", \"phone\": \"(713) 555-0199\", \"email\": \"billing@voltedge-power.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"VEP-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 172.0, \"line_total\": 2580.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 50, \"unit_price\": 310.0, \"line_total\": 15500.0}], \"subtotal\": 18080.0, \"tax_rate\": 0.08, \"tax\": 1446.4, \"freight\": 95.0, \"total\": 19621.4, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-416873. Please remit to lockbox.\"}}"} {"case_id": "CASE_2457", "split": "test", "scenario": "short_shipment_properly_billed", "discrepancy_category": "PARTIAL_DELIVERY", "strict_verdict": "PARTIAL_DELIVERY_MATCH", "tolerance_verdict": "APPROVED_PARTIAL_DELIVERY", "recommended_action": "APPROVE_PARTIAL_KEEP_PO_OPEN", "po_number": "PO-2026-57201", "grn_number": "GRN-107028", "invoice_number": "TP-122943", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 10468.0, "po_tax": 758.93, "po_freight": 75.0, "po_total": 11301.93, "invoice_subtotal": 9976.0, "invoice_tax": 723.26, "invoice_freight": 75.0, "invoice_total": 10774.26, "total_variance": -527.67, "num_documents": 3, "po_file": "documents/CASE_2457/PO-2026-57201.docx", "grn_file": "documents/CASE_2457/GRN-107028.pdf", "invoice_file": "documents/CASE_2457/TP-122943.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2457/PO-2026-57201.docx", "documents/CASE_2457/GRN-107028.pdf", "documents/CASE_2457/TP-122943.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "partial_delivery_properly_billed", "primary_discrepancy_note": "Partial shipment of 9/12 units received and accurately billed; keep PO open for remaining 3 units.", "discrepancies_json": "[{\"type\": \"partial_delivery_properly_billed\", \"line_no\": 4, \"sku\": \"LAB-2145\", \"po_qty\": 12, \"received_qty\": 9, \"invoiced_qty\": 9, \"variance_amount\": 0.0, \"note\": \"Partial shipment of 9/12 units received and accurately billed; keep PO open for remaining 3 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57201\", \"order_date\": \"Jun 11, 2026\", \"expected_delivery\": \"Jun 21, 2026\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 30, \"unit_price\": 112.0, \"line_total\": 3360.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 135.0, \"line_total\": 1620.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 164.0, \"line_total\": 1968.0}], \"subtotal\": 10468.0, \"tax_rate\": 0.0725, \"tax\": 758.93, \"freight\": 75.0, \"total\": 11301.93, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107028\", \"po_number\": \"PO-2026-57201\", \"received_date\": \"06/19/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-585124\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 9, \"qty_accepted\": 9, \"qty_rejected\": 0, \"condition\": \"Partial Delivery 1 of 2 (3 EA remaining)\"}], \"stamp_text\": \"PARTIAL RECEIPT\", \"handwritten_note\": \"Partial shipment rec'd (9/12 LAB-2145). Balance on BO. - D. Kowalski\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-585124\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-122943\", \"po_number\": \"PO-2026-57201\", \"grn_ref\": \"GRN-107028\", \"invoice_date\": \"23-Jun-2026\", \"due_date\": \"07-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 30, \"unit_price\": 112.0, \"line_total\": 3360.0}, {\"line_no\": 2, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 12, \"unit_price\": 135.0, \"line_total\": 1620.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 88.0, \"line_total\": 3520.0}, {\"line_no\": 4, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 9, \"unit_price\": 164.0, \"line_total\": 1476.0}], \"subtotal\": 9976.0, \"tax_rate\": 0.0725, \"tax\": 723.26, \"freight\": 75.0, \"total\": 10774.26, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57201 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2458", "split": "test", "scenario": "missing_warehouse_receipt", "discrepancy_category": "MISSING_DOCUMENT", "strict_verdict": "HOLD_MISSING_RECEIPT", "tolerance_verdict": "HOLD_MISSING_RECEIPT", "recommended_action": "AWAIT_GOODS_RECEIPT_CONFIRMATION", "po_number": "PO-2026-57209", "grn_number": "", "invoice_number": "PPS-122959", "duplicate_invoice_number": "", "has_warehouse_receipt": false, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 4115.0, "po_tax": 0.0, "po_freight": 120.0, "po_total": 4235.0, "invoice_subtotal": 4115.0, "invoice_tax": 0.0, "invoice_freight": 120.0, "invoice_total": 4235.0, "total_variance": 0.0, "num_documents": 2, "po_file": "documents/CASE_2458/PO-2026-57209.pdf", "grn_file": "", "invoice_file": "documents/CASE_2458/PPS-122959.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2458/PO-2026-57209.pdf", "documents/CASE_2458/PPS-122959.docx"], "file_formats": ["pdf", "docx"], "primary_discrepancy_type": "missing_warehouse_receipt", "primary_discrepancy_note": "PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.", "discrepancies_json": "[{\"type\": \"missing_warehouse_receipt\", \"po_number\": \"PO-2026-57209\", \"invoice_number\": \"PPS-122959\", \"note\": \"PO and Vendor Invoice match, but no Warehouse Receipt (GRN) exists confirming physical delivery.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57209\", \"order_date\": \"05/01/2026\", \"expected_delivery\": \"05/11/2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 28.5, \"line_total\": 570.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 4115.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 4235.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": null, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-122959\", \"po_number\": \"PO-2026-57209\", \"grn_ref\": \"PENDING\", \"invoice_date\": \"2026-05-12\", \"due_date\": \"2026-06-11\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 10, \"unit_price\": 310.0, \"line_total\": 3100.0}, {\"line_no\": 2, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 28.5, \"line_total\": 570.0}, {\"line_no\": 3, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 5, \"unit_price\": 89.0, \"line_total\": 445.0}], \"subtotal\": 4115.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 120.0, \"total\": 4235.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57209 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2459", "split": "test", "scenario": "within_tolerance_match", "discrepancy_category": "MINOR_TOLERANCE_VARIANCE", "strict_verdict": "HOLD_VARIANCE", "tolerance_verdict": "APPROVED_WITHIN_TOLERANCE", "recommended_action": "AUTO_APPROVE_WITHIN_TOLERANCE", "po_number": "PO-2026-57215", "grn_number": "GRN-107057", "invoice_number": "PPS-122975", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 9977.5, "po_tax": 0.0, "po_freight": 0.0, "po_total": 9977.5, "invoice_subtotal": 9977.5, "invoice_tax": 0.0, "invoice_freight": 11.44, "invoice_total": 9988.94, "total_variance": 11.44, "num_documents": 3, "po_file": "documents/CASE_2459/PO-2026-57215.png", "grn_file": "documents/CASE_2459/GRN-107057.docx", "invoice_file": "documents/CASE_2459/PPS-122975.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2459/PO-2026-57215.png", "documents/CASE_2459/GRN-107057.docx", "documents/CASE_2459/PPS-122975.pdf"], "file_formats": ["png", "docx", "pdf"], "primary_discrepancy_type": "minor_freight_within_tolerance", "primary_discrepancy_note": "Prepaid & Add shipping fee of $11.44 is within the $15.00 / 1% AP tolerance policy.", "discrepancies_json": "[{\"type\": \"minor_freight_within_tolerance\", \"po_freight\": 0.0, \"invoice_freight\": 11.44, \"variance_amount\": 11.44, \"note\": \"Prepaid & Add shipping fee of $11.44 is within the $15.00 / 1% AP tolerance policy.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57215\", \"order_date\": \"01-Mar-2026\", \"expected_delivery\": \"11-Mar-2026\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"alt_description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}], \"subtotal\": 9977.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 9977.5, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107057\", \"po_number\": \"PO-2026-57215\", \"received_date\": \"2026-03-05\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-909394\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"Panel-Mount Emergency Stop Mushroom Pushbutton Twist-Release\", \"uom\": \"EA\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-909394\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-122975\", \"po_number\": \"PO-2026-57215\", \"grn_ref\": \"GRN-107057\", \"invoice_date\": \"Mar 07, 2026\", \"due_date\": \"Apr 06, 2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 40, \"unit_price\": 172.0, \"line_total\": 6880.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 30, \"unit_price\": 89.0, \"line_total\": 2670.0}, {\"line_no\": 3, \"sku\": \"ELC-7283\", \"description\": \"E-Stop Twist-Release Pushbutton 22mm\", \"uom\": \"EA\", \"qty\": 15, \"unit_price\": 28.5, \"line_total\": 427.5}], \"subtotal\": 9977.5, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 11.44, \"total\": 9988.94, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57215 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2466", "split": "test", "scenario": "exact_match", "discrepancy_category": "NONE", "strict_verdict": "APPROVED", "tolerance_verdict": "APPROVED", "recommended_action": "AUTO_APPROVE_FOR_PAYMENT", "po_number": "PO-2026-57263", "grn_number": "GRN-107134", "invoice_number": "SSP-123061", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Solstice Clean Energy Systems", "vendor_name": "Summit Safety & PPE Distributors", "po_subtotal": 10060.0, "po_tax": 729.35, "po_freight": 50.0, "po_total": 10839.35, "invoice_subtotal": 10060.0, "invoice_tax": 729.35, "invoice_freight": 50.0, "invoice_total": 10839.35, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2466/PO-2026-57263.docx", "grn_file": "documents/CASE_2466/GRN-107134.jpg", "invoice_file": "documents/CASE_2466/SSP-123061.pdf", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2466/PO-2026-57263.docx", "documents/CASE_2466/GRN-107134.jpg", "documents/CASE_2466/SSP-123061.pdf"], "file_formats": ["docx", "jpg", "pdf"], "primary_discrepancy_type": "none", "primary_discrepancy_note": "Exact 3-way match across Purchase Order, Warehouse Receipt, and Vendor Invoice.", "discrepancies_json": "[]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57263\", \"order_date\": \"03/25/2026\", \"expected_delivery\": \"04/04/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"alt_description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"alt_description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"alt_description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"alt_description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"alt_description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 185.0, \"line_total\": 1850.0}], \"subtotal\": 10060.0, \"tax_rate\": 0.0725, \"tax\": 729.35, \"freight\": 50.0, \"total\": 10839.35, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107134\", \"po_number\": \"PO-2026-57263\", \"received_date\": \"03-Apr-2026\", \"carrier\": \"XPO Logistics\", \"bol_number\": \"BOL-357412\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"Digital Torque Wrench 1/2-Inch Drive (25-250 ft-lb)\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"Lockout/Tagout Safety Padlock Station (12-Lock)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"High-Temp Silicone Flange Gasket Kit DN80\", \"uom\": \"KIT\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Nitrile Chemical-Resistant Work Gloves (Case of 12 Pairs)\", \"uom\": \"CS\", \"qty_ordered\": 40, \"qty_received\": 40, \"qty_accepted\": 40, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Heavy-Duty Pneumatic Actuator Valve 2-Inch\", \"uom\": \"EA\", \"qty_ordered\": 10, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - D. Kowalski\", \"notes\": \"Carrier: XPO Logistics | Bill of Lading: BOL-357412\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"SSP-123061\", \"po_number\": \"PO-2026-57263\", \"grn_ref\": \"GRN-107134\", \"invoice_date\": \"2026-04-04\", \"due_date\": \"2026-05-19\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Solstice Clean Energy Systems\", \"short_name\": \"Solstice Energy\", \"address\": \"2700 Barton Springs Rd, Bldg C, Austin, TX 78746\", \"warehouse_address\": \"Plant 2 Receiving - 6100 E Stassney Ln, Austin, TX 78744\", \"phone\": \"(512) 555-0163\", \"email\": \"supplychain@solstice-energy.example.com\", \"ap_email\": \"billing@solstice-energy.example.com\", \"tax_id\": \"74-9928172\"}, \"vendor\": {\"id\": \"VND-1007\", \"name\": \"Summit Safety & PPE Distributors\", \"address\": \"1120 Wazee St, Denver, CO 80202\", \"remit_address\": \"PO Box 5509, Denver, CO 80217\", \"tax_id\": \"84-3920115\", \"phone\": \"(303) 555-0141\", \"email\": \"invoices@summitsafety.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"SSP-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4503\", \"description\": \"1/2in Digital Torque Wrench 250ft-lb\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 295.0, \"line_total\": 2360.0}, {\"line_no\": 2, \"sku\": \"IND-4520\", \"description\": \"LOTO 12-Padlock Wall Station\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 148.0, \"line_total\": 2960.0}, {\"line_no\": 3, \"sku\": \"IND-4479\", \"description\": \"Silicone Flange Gasket DN80 Hi-Temp\", \"uom\": \"KIT\", \"qty\": 5, \"unit_price\": 34.0, \"line_total\": 170.0}, {\"line_no\": 4, \"sku\": \"IND-4452\", \"description\": \"Chem-Resist Nitrile Gloves 12pr/cs\", \"uom\": \"CS\", \"qty\": 40, \"unit_price\": 68.0, \"line_total\": 2720.0}, {\"line_no\": 5, \"sku\": \"IND-4401\", \"description\": \"Pneumatic Actuator Valve 2in HD\", \"uom\": \"EA\", \"qty\": 10, \"unit_price\": 185.0, \"line_total\": 1850.0}], \"subtotal\": 10060.0, \"tax_rate\": 0.0725, \"tax\": 729.35, \"freight\": 50.0, \"total\": 10839.35, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57263 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2476", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-57335", "grn_number": "GRN-107241", "invoice_number": "PPS-123196", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 9332.0, "po_tax": 746.56, "po_freight": 0.0, "po_total": 10078.56, "invoice_subtotal": 9474.32, "invoice_tax": 757.95, "invoice_freight": 0.0, "invoice_total": 10232.27, "total_variance": 153.71, "num_documents": 3, "po_file": "documents/CASE_2476/PO-2026-57335.pdf", "grn_file": "documents/CASE_2476/GRN-107241.jpg", "invoice_file": "documents/CASE_2476/PPS-123196.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2476/PO-2026-57335.pdf", "documents/CASE_2476/GRN-107241.jpg", "documents/CASE_2476/PPS-123196.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $100.86 exceeds contracted PO unit price $89.00 for ELC-7218.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 2, \"sku\": \"ELC-7218\", \"po_unit_price\": 89.0, \"invoice_unit_price\": 100.86, \"qty\": 12, \"variance_amount\": 142.32, \"note\": \"Invoice unit price $100.86 exceeds contracted PO unit price $89.00 for ELC-7218.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57335\", \"order_date\": \"2026-09-05\", \"expected_delivery\": \"2026-09-15\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 89.0, \"line_total\": 1068.0}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}], \"subtotal\": 9332.0, \"tax_rate\": 0.08, \"tax\": 746.56, \"freight\": 0.0, \"total\": 10078.56, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107241\", \"po_number\": \"PO-2026-57335\", \"received_date\": \"Sep 12, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-990485\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 12, \"qty_accepted\": 12, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-990485\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-123196\", \"po_number\": \"PO-2026-57335\", \"grn_ref\": \"GRN-107241\", \"invoice_date\": \"09/12/2026\", \"due_date\": \"10/12/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 20, \"unit_price\": 310.0, \"line_total\": 6200.0}, {\"line_no\": 2, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 100.86, \"line_total\": 1210.32}, {\"line_no\": 3, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 172.0, \"line_total\": 2064.0}], \"subtotal\": 9474.32, \"tax_rate\": 0.08, \"tax\": 757.95, \"freight\": 0.0, \"total\": 10232.27, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57335 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2482", "split": "test", "scenario": "duplicate_invoice", "discrepancy_category": "DUPLICATE_BILLING", "strict_verdict": "REJECT_DUPLICATE_INVOICE", "tolerance_verdict": "REJECT_DUPLICATE_INVOICE", "recommended_action": "APPROVE_PRIMARY_BLOCK_DUPLICATE_INVOICE", "po_number": "PO-2026-57375", "grn_number": "GRN-107310", "invoice_number": "PPS-123268", "duplicate_invoice_number": "PPS-123268-R1", "has_warehouse_receipt": true, "has_duplicate_invoice": true, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Pacific Photonics & Sensors Inc.", "po_subtotal": 28978.0, "po_tax": 1738.68, "po_freight": 35.0, "po_total": 30751.68, "invoice_subtotal": 28978.0, "invoice_tax": 1738.68, "invoice_freight": 35.0, "invoice_total": 30751.68, "total_variance": 0.0, "num_documents": 4, "po_file": "documents/CASE_2482/PO-2026-57375.pdf", "grn_file": "documents/CASE_2482/GRN-107310.jpg", "invoice_file": "documents/CASE_2482/PPS-123268.docx", "duplicate_invoice_file": "documents/CASE_2482/PPS-123268-R1.jpg", "file_paths": ["documents/CASE_2482/PO-2026-57375.pdf", "documents/CASE_2482/GRN-107310.jpg", "documents/CASE_2482/PPS-123268.docx", "documents/CASE_2482/PPS-123268-R1.jpg"], "file_formats": ["pdf", "jpg", "docx", "jpg"], "primary_discrepancy_type": "duplicate_invoice_submission", "primary_discrepancy_note": "Duplicate billing detected: both 'PPS-123268' and 'PPS-123268-R1' bill $30751.68 against single receipt 'GRN-107310' / PO 'PO-2026-57375'.", "discrepancies_json": "[{\"type\": \"duplicate_invoice_submission\", \"primary_invoice_number\": \"PPS-123268\", \"duplicate_invoice_number\": \"PPS-123268-R1\", \"duplicate_billed_amount\": 30751.68, \"variance_amount\": 30751.68, \"note\": \"Duplicate billing detected: both 'PPS-123268' and 'PPS-123268-R1' bill $30751.68 against single receipt 'GRN-107310' / PO 'PO-2026-57375'.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57375\", \"order_date\": \"04/12/2026\", \"expected_delivery\": \"04/22/2026\", \"buyer_agent\": \"Priya Nair\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"alt_description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"alt_description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"alt_description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"alt_description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}], \"subtotal\": 28978.0, \"tax_rate\": 0.06, \"tax\": 1738.68, \"freight\": 35.0, \"total\": 30751.68, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107310\", \"po_number\": \"PO-2026-57375\", \"received_date\": \"21-Apr-2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-193905\", \"received_by\": \"J. Miller\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"DIN-Rail 24V DC 480W Industrial Switching Power Supply\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"Shielded 8-Conductor Control Cable 18AWG (500ft Spool)\", \"uom\": \"SPOOL\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"Programmable Logic Controller 16-DI / 16-DO Ethernet Module\", \"uom\": \"EA\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"Optical Retro-Reflective Proximity Sensor IP67 M18\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - J. Miller\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-193905\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PPS-123268\", \"po_number\": \"PO-2026-57375\", \"grn_ref\": \"GRN-107310\", \"invoice_date\": \"2026-04-23\", \"due_date\": \"2026-06-07\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}], \"subtotal\": 28978.0, \"tax_rate\": 0.06, \"tax\": 1738.68, \"freight\": 35.0, \"total\": 30751.68, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57375 on remittance.\"}, \"duplicate_invoice\": {\"doc_type\": \"invoice_duplicate\", \"invoice_number\": \"PPS-123268-R1\", \"po_number\": \"PO-2026-57375\", \"grn_ref\": \"GRN-107310\", \"invoice_date\": \"2026-05-07\", \"due_date\": \"2026-06-21\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Origin, Prepaid & Add\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1008\", \"name\": \"Pacific Photonics & Sensors Inc.\", \"address\": \"3050 Bowers Ave, Santa Clara, CA 95054\", \"remit_address\": \"3050 Bowers Ave, Finance Dept, Santa Clara, CA 95054\", \"tax_id\": \"94-8821034\", \"phone\": \"(408) 555-0177\", \"email\": \"ar@pacificphotonics.example.com\", \"category\": \"electronics\", \"inv_prefix\": \"PPS-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"ELC-7201\", \"description\": \"24VDC 480W DIN-Rail PSU\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 172.0, \"line_total\": 4128.0}, {\"line_no\": 2, \"sku\": \"ELC-7260\", \"description\": \"18AWG 8C Shielded Control Cable 500ft\", \"uom\": \"SPOOL\", \"qty\": 24, \"unit_price\": 310.0, \"line_total\": 7440.0}, {\"line_no\": 3, \"sku\": \"ELC-7244\", \"description\": \"PLC 16DI/16DO Ethernet I/O Unit\", \"uom\": \"EA\", \"qty\": 24, \"unit_price\": 540.0, \"line_total\": 12960.0}, {\"line_no\": 4, \"sku\": \"ELC-7218\", \"description\": \"M18 Retro-Reflective Photo Sensor IP67\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 89.0, \"line_total\": 4450.0}], \"subtotal\": 28978.0, \"tax_rate\": 0.06, \"tax\": 1738.68, \"freight\": 35.0, \"total\": 30751.68, \"stamp_text\": \"SECOND SUBMISSION / COPY\", \"notes\": \"Re-billing reference shipment BOL-193905. Please remit to lockbox.\"}}"} {"case_id": "CASE_2488", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-57419", "grn_number": "GRN-107371", "invoice_number": "INV-APX-123352", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "Apex Industrial Supply Co.", "po_subtotal": 2400.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 2400.0, "invoice_subtotal": 2400.0, "invoice_tax": 0.0, "invoice_freight": 240.0, "invoice_total": 2640.0, "total_variance": 240.0, "num_documents": 3, "po_file": "documents/CASE_2488/PO-2026-57419.pdf", "grn_file": "documents/CASE_2488/GRN-107371.jpg", "invoice_file": "documents/CASE_2488/INV-APX-123352.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2488/PO-2026-57419.pdf", "documents/CASE_2488/GRN-107371.jpg", "documents/CASE_2488/INV-APX-123352.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 240.0, \"variance_amount\": 240.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $240.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57419\", \"order_date\": \"2026-09-12\", \"expected_delivery\": \"2026-09-22\", \"buyer_agent\": \"Hannah Brooks\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"alt_description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"alt_description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}], \"subtotal\": 2400.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 2400.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107371\", \"po_number\": \"PO-2026-57419\", \"received_date\": \"Sep 24, 2026\", \"carrier\": \"UPS Supply Chain\", \"bol_number\": \"BOL-200753\", \"received_by\": \"T. Nguyen\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"Synthetic Hydraulic Oil AW-46 (5-Gallon Pail)\", \"uom\": \"PAIL\", \"qty_ordered\": 15, \"qty_received\": 15, \"qty_accepted\": 15, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"316 Stainless Steel Hex Bolt Kit (M10 x 40mm, 100/pk)\", \"uom\": \"BOX\", \"qty_ordered\": 24, \"qty_received\": 24, \"qty_accepted\": 24, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - T. Nguyen\", \"notes\": \"Carrier: UPS Supply Chain | Bill of Lading: BOL-200753\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"INV-APX-123352\", \"po_number\": \"PO-2026-57419\", \"grn_ref\": \"GRN-107371\", \"invoice_date\": \"09/26/2026\", \"due_date\": \"11/10/2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1001\", \"name\": \"Apex Industrial Supply Co.\", \"address\": \"742 Evergreen Commerce Dr, Toledo, OH 43604\", \"remit_address\": \"PO Box 88412, Chicago, IL 60680\", \"tax_id\": \"36-8192031\", \"phone\": \"(419) 555-0114\", \"email\": \"ar@apexindustrial.example.com\", \"category\": \"industrial\", \"inv_prefix\": \"INV-APX-\", \"template_style\": \"industrial_grid\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"IND-4566\", \"description\": \"AW-46 Hydraulic Fluid 5Gal Pail\", \"uom\": \"PAIL\", \"qty\": 15, \"unit_price\": 92.0, \"line_total\": 1380.0}, {\"line_no\": 2, \"sku\": \"IND-4418\", \"description\": \"SS316 Hex Bolt M10x40 100ct Box\", \"uom\": \"BOX\", \"qty\": 24, \"unit_price\": 42.5, \"line_total\": 1020.0}], \"subtotal\": 2400.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 240.0, \"total\": 2640.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57419 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2493", "split": "test", "scenario": "unit_price_hike", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "DISPUTE_UNIT_PRICE_WITH_VENDOR", "po_number": "PO-2026-57454", "grn_number": "GRN-107426", "invoice_number": "TP-123415", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Meridian Precision Manufacturing Inc.", "vendor_name": "ThermoPure Scientific Instruments", "po_subtotal": 6275.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 6275.0, "invoice_subtotal": 6396.05, "invoice_tax": 0.0, "invoice_freight": 0.0, "invoice_total": 6396.05, "total_variance": 121.05, "num_documents": 3, "po_file": "documents/CASE_2493/PO-2026-57454.docx", "grn_file": "documents/CASE_2493/GRN-107426.pdf", "invoice_file": "documents/CASE_2493/TP-123415.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2493/PO-2026-57454.docx", "documents/CASE_2493/GRN-107426.pdf", "documents/CASE_2493/TP-123415.png"], "file_formats": ["docx", "pdf", "png"], "primary_discrepancy_type": "unit_price_hike", "primary_discrepancy_note": "Invoice unit price $159.21 exceeds contracted PO unit price $135.00 for LAB-2104.", "discrepancies_json": "[{\"type\": \"unit_price_hike\", \"line_no\": 4, \"sku\": \"LAB-2104\", \"po_unit_price\": 135.0, \"invoice_unit_price\": 159.21, \"qty\": 5, \"variance_amount\": 121.05, \"note\": \"Invoice unit price $159.21 exceeds contracted PO unit price $135.00 for LAB-2104.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57454\", \"order_date\": \"Jun 29, 2026\", \"expected_delivery\": \"Jul 09, 2026\", \"buyer_agent\": \"David Chen\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"alt_description\": \"Acetonitrile HPLC 99.9% 4L Bottle\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 164.0, \"line_total\": 3280.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"alt_description\": \"Cryo Vials 2mL Int-Thread 500pk\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"alt_description\": \"500mL Borosilicate Media Bottle GL45 10/cs\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 88.0, \"line_total\": 1760.0}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"alt_description\": \"200uL Filter Pipette Tips Sterile 10rk\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 135.0, \"line_total\": 675.0}], \"subtotal\": 6275.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 6275.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107426\", \"po_number\": \"PO-2026-57454\", \"received_date\": \"07/13/2026\", \"carrier\": \"FedEx Freight\", \"bol_number\": \"BOL-270311\", \"received_by\": \"M. Okafor\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty_ordered\": 20, \"qty_received\": 20, \"qty_accepted\": 20, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty_ordered\": 5, \"qty_received\": 5, \"qty_accepted\": 5, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - M. Okafor\", \"notes\": \"Carrier: FedEx Freight | Bill of Lading: BOL-270311\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"TP-123415\", \"po_number\": \"PO-2026-57454\", \"grn_ref\": \"GRN-107426\", \"invoice_date\": \"14-Jul-2026\", \"due_date\": \"28-Aug-2026\", \"payment_terms\": \"Net 45\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Meridian Precision Manufacturing Inc.\", \"short_name\": \"Meridian Mfg\", \"address\": \"1400 Industrial Parkway, Suite 300, Columbus, OH 43215\", \"warehouse_address\": \"Dock B - 1420 Industrial Parkway, Columbus, OH 43215\", \"phone\": \"(614) 555-0192\", \"email\": \"procurement@meridian-mfg.example.com\", \"ap_email\": \"ap-invoices@meridian-mfg.example.com\", \"tax_id\": \"31-4829104\"}, \"vendor\": {\"id\": \"VND-1003\", \"name\": \"ThermoPure Scientific Instruments\", \"address\": \"620 Kendall Square, Cambridge, MA 02139\", \"remit_address\": \"620 Kendall Square, Dept AR, Cambridge, MA 02139\", \"tax_id\": \"04-6629180\", \"phone\": \"(617) 555-0130\", \"email\": \"billing@thermopure-sci.example.com\", \"category\": \"lab_supplies\", \"inv_prefix\": \"TP-\", \"template_style\": \"minimal_clean\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"LAB-2145\", \"description\": \"HPLC Grade Acetonitrile 99.9% Purity (4L Amber Glass)\", \"uom\": \"EA\", \"qty\": 20, \"unit_price\": 164.0, \"line_total\": 3280.0}, {\"line_no\": 2, \"sku\": \"LAB-2188\", \"description\": \"Cryogenic Storage Vials 2.0mL Internal Thread (500/Bag)\", \"uom\": \"BAG\", \"qty\": 5, \"unit_price\": 112.0, \"line_total\": 560.0}, {\"line_no\": 3, \"sku\": \"LAB-2119\", \"description\": \"Borosilicate Graduated Media Bottles 500mL GL45 (Case of 10)\", \"uom\": \"CS\", \"qty\": 20, \"unit_price\": 88.0, \"line_total\": 1760.0}, {\"line_no\": 4, \"sku\": \"LAB-2104\", \"description\": \"Sterile Low-Retention Filter Pipette Tips 200uL (10 Racks)\", \"uom\": \"CS\", \"qty\": 5, \"unit_price\": 159.21, \"line_total\": 796.05}], \"subtotal\": 6396.05, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 6396.05, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57454 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2497", "split": "test", "scenario": "short_shipment_overbilled", "discrepancy_category": "QUANTITY_MISMATCH", "strict_verdict": "HOLD_QUANTITY_VARIANCE", "tolerance_verdict": "HOLD_QUANTITY_VARIANCE", "recommended_action": "REQUEST_CREDIT_MEMO_OR_SHORT_PAY", "po_number": "PO-2026-57484", "grn_number": "GRN-107470", "invoice_number": "KWS-123468", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Kestrel Workspace & Ergonomics", "po_subtotal": 10760.0, "po_tax": 887.7, "po_freight": 0.0, "po_total": 11647.7, "invoice_subtotal": 10760.0, "invoice_tax": 887.7, "invoice_freight": 0.0, "invoice_total": 11647.7, "total_variance": 0.0, "num_documents": 3, "po_file": "documents/CASE_2497/PO-2026-57484.pdf", "grn_file": "documents/CASE_2497/GRN-107470.docx", "invoice_file": "documents/CASE_2497/KWS-123468.png", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2497/PO-2026-57484.pdf", "documents/CASE_2497/GRN-107470.docx", "documents/CASE_2497/KWS-123468.png"], "file_formats": ["pdf", "docx", "png"], "primary_discrepancy_type": "short_shipment_overbilled", "primary_discrepancy_note": "Vendor billed 12 units for FRN-6102, but warehouse only received 10 units.", "discrepancies_json": "[{\"type\": \"short_shipment_overbilled\", \"line_no\": 1, \"sku\": \"FRN-6102\", \"po_qty\": 12, \"received_qty\": 10, \"invoiced_qty\": 12, \"overbilled_qty\": 2, \"variance_amount\": 1280.0, \"note\": \"Vendor billed 12 units for FRN-6102, but warehouse only received 10 units.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57484\", \"order_date\": \"Mar 30, 2026\", \"expected_delivery\": \"Apr 09, 2026\", \"buyer_agent\": \"Marcus Sterling\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"alt_description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"alt_description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}], \"subtotal\": 10760.0, \"tax_rate\": 0.0825, \"tax\": 887.7, \"freight\": 0.0, \"total\": 11647.7, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107470\", \"po_number\": \"PO-2026-57484\", \"received_date\": \"04/05/2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-475552\", \"received_by\": \"D. Kowalski\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"Dual-Motor Electric Sit-Stand Desk Frame & 60x30 Walnut Top\", \"uom\": \"EA\", \"qty_ordered\": 12, \"qty_received\": 10, \"qty_accepted\": 10, \"qty_rejected\": 0, \"condition\": \"Short 2 EA (Backordered)\"}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergonomic Mesh Task Chair w/ 4D Armrests & Lumbar Support\", \"uom\": \"EA\", \"qty_ordered\": 8, \"qty_received\": 8, \"qty_accepted\": 8, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"SHORT SHIPMENT NOTED\", \"handwritten_note\": \"Counted 10 of 12 on FRN-6102 (short 2 EA). - D. Kowalski\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-475552\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"KWS-123468\", \"po_number\": \"PO-2026-57484\", \"grn_ref\": \"GRN-107470\", \"invoice_date\": \"08-Apr-2026\", \"due_date\": \"23-Apr-2026\", \"payment_terms\": \"Net 15\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1005\", \"name\": \"Kestrel Workspace & Ergonomics\", \"address\": \"415 Fulton St W, Grand Rapids, MI 49504\", \"remit_address\": \"415 Fulton St W, Suite 100, Grand Rapids, MI 49504\", \"tax_id\": \"38-5591023\", \"phone\": \"(616) 555-0122\", \"email\": \"ar@kestrelworkspace.example.com\", \"category\": \"furniture\", \"inv_prefix\": \"KWS-\", \"template_style\": \"corporate_modern\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"FRN-6102\", \"description\": \"60x30 Electric Standing Desk Walnut\", \"uom\": \"EA\", \"qty\": 12, \"unit_price\": 640.0, \"line_total\": 7680.0}, {\"line_no\": 2, \"sku\": \"FRN-6118\", \"description\": \"Ergo Mesh Task Chair 4D Arms Blk\", \"uom\": \"EA\", \"qty\": 8, \"unit_price\": 385.0, \"line_total\": 3080.0}], \"subtotal\": 10760.0, \"tax_rate\": 0.0825, \"tax\": 887.7, \"freight\": 0.0, \"total\": 11647.7, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57484 on remittance.\"}, \"duplicate_invoice\": null}"} {"case_id": "CASE_2500", "split": "test", "scenario": "unapproved_freight_or_surcharge", "discrepancy_category": "PRICE_MISMATCH", "strict_verdict": "HOLD_PRICE_VARIANCE", "tolerance_verdict": "HOLD_PRICE_VARIANCE", "recommended_action": "REJECT_UNAPPROVED_FREIGHT_CHARGE", "po_number": "PO-2026-57504", "grn_number": "GRN-107502", "invoice_number": "PKR-123509", "duplicate_invoice_number": "", "has_warehouse_receipt": true, "has_duplicate_invoice": false, "buyer_name": "Cascade BioLabs & Diagnostics Corp.", "vendor_name": "Corrugated & PackRight Materials", "po_subtotal": 13135.0, "po_tax": 0.0, "po_freight": 0.0, "po_total": 13135.0, "invoice_subtotal": 13135.0, "invoice_tax": 0.0, "invoice_freight": 185.0, "invoice_total": 13320.0, "total_variance": 185.0, "num_documents": 3, "po_file": "documents/CASE_2500/PO-2026-57504.pdf", "grn_file": "documents/CASE_2500/GRN-107502.jpg", "invoice_file": "documents/CASE_2500/PKR-123509.docx", "duplicate_invoice_file": "", "file_paths": ["documents/CASE_2500/PO-2026-57504.pdf", "documents/CASE_2500/GRN-107502.jpg", "documents/CASE_2500/PKR-123509.docx"], "file_formats": ["pdf", "jpg", "docx"], "primary_discrepancy_type": "unapproved_freight_charge", "primary_discrepancy_note": "PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.", "discrepancies_json": "[{\"type\": \"unapproved_freight_charge\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"po_freight\": 0.0, \"invoice_freight\": 185.0, \"variance_amount\": 185.0, \"note\": \"PO specifies 'FOB Destination (Freight Included)' ($0.00 freight), but vendor added $185.00 freight/fuel surcharge.\"}]", "ground_truth_json": "{\"purchase_order\": {\"doc_type\": \"purchase_order\", \"po_number\": \"PO-2026-57504\", \"order_date\": \"2026-07-29\", \"expected_delivery\": \"2026-08-08\", \"buyer_agent\": \"Elena Vance\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"alt_description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"alt_description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 50, \"unit_price\": 145.0, \"line_total\": 7250.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"alt_description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}, {\"line_no\": 4, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"alt_description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}], \"subtotal\": 13135.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 0.0, \"total\": 13135.0, \"stamp_text\": \"AUTHORIZED PO\", \"notes\": \"All deliveries require PO number on packing slip and must report to receiving dock.\"}, \"warehouse_receipt\": {\"doc_type\": \"warehouse_receipt\", \"grn_number\": \"GRN-107502\", \"po_number\": \"PO-2026-57504\", \"received_date\": \"Aug 10, 2026\", \"carrier\": \"Old Dominion LTL\", \"bol_number\": \"BOL-446336\", \"received_by\": \"R. Castellanos\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"Acrylic Carton Sealing Tape 3in x 110yd Clear (24 Rolls/Case)\", \"uom\": \"CS\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"Double-Wall Corrugated Gaylord Pallet Box 48x40x36 (Bundle of 5)\", \"uom\": \"BDL\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"Anti-Static Pink Bubble Cushion Roll 24in x 250ft\", \"uom\": \"ROLL\", \"qty_ordered\": 30, \"qty_received\": 30, \"qty_accepted\": 30, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}, {\"line_no\": 4, \"sku\": \"PKG-3091\", \"description\": \"Heat-Treated GMA Hardwood Pallets 48x40 Grade A\", \"uom\": \"EA\", \"qty_ordered\": 50, \"qty_received\": 50, \"qty_accepted\": 50, \"qty_rejected\": 0, \"condition\": \"Good / Intact\"}], \"stamp_text\": \"RECEIVED & VERIFIED\", \"handwritten_note\": \"Checked & unloaded at dock. Seal intact. - R. Castellanos\", \"notes\": \"Carrier: Old Dominion LTL | Bill of Lading: BOL-446336\"}, \"invoice\": {\"doc_type\": \"invoice\", \"invoice_number\": \"PKR-123509\", \"po_number\": \"PO-2026-57504\", \"grn_ref\": \"GRN-107502\", \"invoice_date\": \"08/14/2026\", \"due_date\": \"09/13/2026\", \"payment_terms\": \"Net 30\", \"shipping_terms\": \"FOB Destination (Freight Included)\", \"buyer\": {\"name\": \"Cascade BioLabs & Diagnostics Corp.\", \"short_name\": \"Cascade BioLabs\", \"address\": \"850 South Lake Union Way, Floor 6, Seattle, WA 98109\", \"warehouse_address\": \"Receiving Bay 4 - 2201 Harbor Ave SW, Seattle, WA 98126\", \"phone\": \"(206) 555-0148\", \"email\": \"purchasing@cascadebiolabs.example.com\", \"ap_email\": \"accounts.payable@cascadebiolabs.example.com\", \"tax_id\": \"91-7730281\"}, \"vendor\": {\"id\": \"VND-1004\", \"name\": \"Corrugated & PackRight Materials\", \"address\": \"3310 Riverfront Pkwy, Memphis, TN 38103\", \"remit_address\": \"PO Box 1902, Memphis, TN 38101\", \"tax_id\": \"62-4481029\", \"phone\": \"(901) 555-0156\", \"email\": \"receivables@packright.example.com\", \"category\": \"packaging\", \"inv_prefix\": \"PKR-\", \"template_style\": \"classic_ledger\"}, \"lines\": [{\"line_no\": 1, \"sku\": \"PKG-3042\", \"description\": \"3in x 110yd Clear Carton Tape 24/cs\", \"uom\": \"CS\", \"qty\": 50, \"unit_price\": 64.0, \"line_total\": 3200.0}, {\"line_no\": 2, \"sku\": \"PKG-3010\", \"description\": \"48x40x36 DW Corrugated Gaylord 5/bdl\", \"uom\": \"BDL\", \"qty\": 50, \"unit_price\": 145.0, \"line_total\": 7250.0}, {\"line_no\": 3, \"sku\": \"PKG-3078\", \"description\": \"ESD Pink Bubble Wrap 24inx250ft\", \"uom\": \"ROLL\", \"qty\": 30, \"unit_price\": 52.0, \"line_total\": 1560.0}, {\"line_no\": 4, \"sku\": \"PKG-3091\", \"description\": \"48x40 HT GMA Wood Pallet Gr-A\", \"uom\": \"EA\", \"qty\": 50, \"unit_price\": 22.5, \"line_total\": 1125.0}], \"subtotal\": 13135.0, \"tax_rate\": 0.0, \"tax\": 0.0, \"freight\": 185.0, \"total\": 13320.0, \"stamp_text\": \"AP RECEIVED\", \"notes\": \"Thank you for your business. Reference PO PO-2026-57504 on remittance.\"}, \"duplicate_invoice\": null}"}