Complete Execution Output (JSON):
{
"execution_summary": {
"completed_tasks": 5,
"dependencies_detected": false,
"end_time": "2025-07-16T04:39:17.124421",
"execution_mode": "distributed",
"start_time": "2025-07-16T04:38:55.900234",
"total_tasks": 6
},
"extract_invoice_data": {
"agent_type": "assistant",
"ai_response": "{\n \"vendor_name\": \"Hensley, Harrison and Miller\",\n \"invoice_number\": \"22758345\",\n \"date\": \"2015-12-21\",\n \"po_number\": null,\n \"amount\": \"2694.13\",\n \"line_items\": [\n {\n \"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\",\n \"quantity\": \"15\",\n \"price\": \"4.00\",\n \"total\": \"694.76\"\n },\n {\n \"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\",\n \"quantity\": \"1\",\n \"price\": \"12.00\",\n \"total\": \"13.20\"\n },\n {\n \"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\",\n \"quantity\": \"2\",\n \"price\": \"32.00\",\n \"total\": \"70.40\"\n },\n {\n \"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\",\n \"quantity\": \"4\",\n \"price\": \"29.99\",\n \"total\": \"131.96\"\n },\n {\n \"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\",\n \"quantity\": \"5\",\n \"price\": \"324.33\",\n \"total\": \"1783.81\"\n }\n ]\n}",
"execution_details": {
"actual_result": {
"agent_type": "assistant",
"execution_details": {
"agent_type": "assistant",
"input_length": 1155,
"model": "gpt-4o-mini",
"output_length": 1040,
"provider": "openai",
"system_message": "Extract only these key fields from the OCR text. Return ONLY a valid JSON object with **escaped characters where necessary**, especially inside string values (e.g., escape double quotes within strings as `\\\\\\\"`). Ensure all values are properly JSON-encoded.:\n{\n \"vendor_name\": \"extracted vendor name or null\",\n \"invoice_number\": \"extracted invoice number or null\",\n \"date\": \"YYYY-MM-DD format or null\",\n \"po_number\": \"extracted PO number or null\", \n \"amount\": \"numeric amount or null\",\n \"line_items\": [\n {\n \"description\": \"item description\",\n \"quantity\": \"numeric quantity\",\n \"price\": \"numeric price\",\n \"total\": \"numeric total\"\n }\n ]\n}\n"
},
"input_format": "json",
"model_client_id": "invoice_extractor",
"output": "{\n \"vendor_name\": \"Hensley, Harrison and Miller\",\n \"invoice_number\": \"22758345\",\n \"date\": \"2015-12-21\",\n \"po_number\": null,\n \"amount\": \"2694.13\",\n \"line_items\": [\n {\n \"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\",\n \"quantity\": \"15\",\n \"price\": \"4.00\",\n \"total\": \"694.76\"\n },\n {\n \"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\",\n \"quantity\": \"1\",\n \"price\": \"12.00\",\n \"total\": \"13.20\"\n },\n {\n \"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\",\n \"quantity\": \"2\",\n \"price\": \"32.00\",\n \"total\": \"70.40\"\n },\n {\n \"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\",\n \"quantity\": \"4\",\n \"price\": \"29.99\",\n \"total\": \"131.96\"\n },\n {\n \"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\",\n \"quantity\": \"5\",\n \"price\": \"324.33\",\n \"total\": \"1783.81\"\n }\n ]\n}\n__OUTPUTS__ {\"ai_response\": \"{\\n \\\"vendor_name\\\": \\\"Hensley, Harrison and Miller\\\",\\n \\\"invoice_number\\\": \\\"22758345\\\",\\n \\\"date\\\": \\\"2015-12-21\\\",\\n \\\"po_number\\\": null,\\n \\\"amount\\\": \\\"2694.13\\\",\\n \\\"line_items\\\": [\\n {\\n \\\"description\\\": \\\"Selmash Lux Home Alcohol Distiller Kit for wine brewing\\\",\\n \\\"quantity\\\": \\\"15\\\",\\n \\\"price\\\": \\\"4.00\\\",\\n \\\"total\\\": \\\"694.76\\\"\\n },\\n {\\n \\\"description\\\": \\\"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\\\",\\n \\\"quantity\\\": \\\"1\\\",\\n \\\"price\\\": \\\"12.00\\\",\\n \\\"total\\\": \\\"13.20\\\"\\n },\\n {\\n \\\"description\\\": \\\"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\\\",\\n \\\"quantity\\\": \\\"2\\\",\\n \\\"price\\\": \\\"32.00\\\",\\n \\\"total\\\": \\\"70.40\\\"\\n },\\n {\\n \\\"description\\\": \\\"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\\\",\\n \\\"quantity\\\": \\\"4\\\",\\n \\\"price\\\": \\\"29.99\\\",\\n \\\"total\\\": \\\"131.96\\\"\\n },\\n {\\n \\\"description\\\": \\\"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\\\",\\n \\\"quantity\\\": \\\"5\\\",\\n \\\"price\\\": \\\"324.33\\\",\\n \\\"total\\\": \\\"1783.81\\\"\\n }\\n ]\\n}\", \"model_client_id\": \"invoice_extractor\", \"agent_type\": \"assistant\", \"model\": \"gpt-4o-mini\", \"provider\": \"openai\", \"status\": \"completed\", \"token_usage\": {\"prompt_tokens\": 598, \"completion_tokens\": 317, \"total_tokens\": 915, \"estimated_cost\": {\"amount\": 0.00028, \"currency\": \"USD\"}, \"model\": \"gpt-4o-mini\", \"provider\": \"openai\"}}",
"output_format": "json",
"return_code": 0,
"status": "completed",
"stderr": "",
"token_usage": {
"completion_tokens": 317,
"estimated_cost": {
"amount": 0.00028,
"currency": "USD"
},
"model": "gpt-4o-mini",
"prompt_tokens": 598,
"provider": "openai",
"total_tokens": 915
}
},
"duration_seconds": 8.220842,
"end_time": "2025-07-16T04:39:13.947550",
"message_sent": true,
"start_time": "2025-07-16T04:39:05.726708",
"timestamp": "2025-07-16T04:39:13.947550",
"worker_executed": true,
"workers_notified": true
},
"model": "gpt-4o-mini",
"model_client_id": "invoice_extractor",
"output": "{\n \"vendor_name\": \"Hensley, Harrison and Miller\",\n \"invoice_number\": \"22758345\",\n \"date\": \"2015-12-21\",\n \"po_number\": null,\n \"amount\": \"2694.13\",\n \"line_items\": [\n {\n \"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\",\n \"quantity\": \"15\",\n \"price\": \"4.00\",\n \"total\": \"694.76\"\n },\n {\n \"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\",\n \"quantity\": \"1\",\n \"price\": \"12.00\",\n \"total\": \"13.20\"\n },\n {\n \"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\",\n \"quantity\": \"2\",\n \"price\": \"32.00\",\n \"total\": \"70.40\"\n },\n {\n \"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\",\n \"quantity\": \"4\",\n \"price\": \"29.99\",\n \"total\": \"131.96\"\n },\n {\n \"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\",\n \"quantity\": \"5\",\n \"price\": \"324.33\",\n \"total\": \"1783.81\"\n }\n ]\n}\n__OUTPUTS__ {\"ai_response\": \"{\\n \\\"vendor_name\\\": \\\"Hensley, Harrison and Miller\\\",\\n \\\"invoice_number\\\": \\\"22758345\\\",\\n \\\"date\\\": \\\"2015-12-21\\\",\\n \\\"po_number\\\": null,\\n \\\"amount\\\": \\\"2694.13\\\",\\n \\\"line_items\\\": [\\n {\\n \\\"description\\\": \\\"Selmash Lux Home Alcohol Distiller Kit for wine brewing\\\",\\n \\\"quantity\\\": \\\"15\\\",\\n \\\"price\\\": \\\"4.00\\\",\\n \\\"total\\\": \\\"694.76\\\"\\n },\\n {\\n \\\"description\\\": \\\"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\\\",\\n \\\"quantity\\\": \\\"1\\\",\\n \\\"price\\\": \\\"12.00\\\",\\n \\\"total\\\": \\\"13.20\\\"\\n },\\n {\\n \\\"description\\\": \\\"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\\\",\\n \\\"quantity\\\": \\\"2\\\",\\n \\\"price\\\": \\\"32.00\\\",\\n \\\"total\\\": \\\"70.40\\\"\\n },\\n {\\n \\\"description\\\": \\\"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\\\",\\n \\\"quantity\\\": \\\"4\\\",\\n \\\"price\\\": \\\"29.99\\\",\\n \\\"total\\\": \\\"131.96\\\"\\n },\\n {\\n \\\"description\\\": \\\"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\\\",\\n \\\"quantity\\\": \\\"5\\\",\\n \\\"price\\\": \\\"324.33\\\",\\n \\\"total\\\": \\\"1783.81\\\"\\n }\\n ]\\n}\", \"model_client_id\": \"invoice_extractor\", \"agent_type\": \"assistant\", \"model\": \"gpt-4o-mini\", \"provider\": \"openai\", \"status\": \"completed\", \"token_usage\": {\"prompt_tokens\": 598, \"completion_tokens\": 317, \"total_tokens\": 915, \"estimated_cost\": {\"amount\": 0.00028, \"currency\": \"USD\"}, \"model\": \"gpt-4o-mini\", \"provider\": \"openai\"}}",
"provider": "openai",
"return_code": 0,
"status": "completed",
"stderr": "",
"task_id": "extract_invoice_data",
"token_usage": {
"completion_tokens": 317,
"estimated_cost": {
"amount": 0.00028,
"currency": "USD"
},
"model": "gpt-4o-mini",
"prompt_tokens": 598,
"provider": "openai",
"total_tokens": 915
}
},
"generate_summary": {
"amount": "2694.13",
"automation_level": "fully_automated",
"execution_details": {
"actual_result": {
"output": "Generating summary for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nProcessing summary generated\nStatus: completed\nInvoice: 22758345\n__OUTPUTS__ {\"processing_status\": \"completed\", \"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"po_number\": null, \"line_items_count\": 5, \"sap_document\": \"51374566\", \"processing_time\": \"5 minutes\", \"automation_level\": \"fully_automated\"}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 0.182806,
"end_time": "2025-07-16T04:39:14.547347",
"message_sent": true,
"start_time": "2025-07-16T04:39:14.364541",
"timestamp": "2025-07-16T04:39:14.547347",
"worker_executed": true,
"workers_notified": true
},
"invoice_number": "22758345",
"line_items_count": 5,
"output": "Generating summary for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nProcessing summary generated\nStatus: completed\nInvoice: 22758345\n__OUTPUTS__ {\"processing_status\": \"completed\", \"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"po_number\": null, \"line_items_count\": 5, \"sap_document\": \"51374566\", \"processing_time\": \"5 minutes\", \"automation_level\": \"fully_automated\"}\n",
"po_number": null,
"processing_status": "completed",
"processing_time": "5 minutes",
"return_code": 0,
"sap_document": "51374566",
"status": "completed",
"stderr": "",
"task_id": "generate_summary",
"vendor_name": "Hensley, Harrison and Miller"
},
"ocr_processing": {
"error": null,
"execution_details": {
"actual_result": {
"error": null,
"result": [
{
"annotations": null,
"text": "Invoice no: 22758345\nDate of issue: 12/21/2015\n\nSeller:\nHensley, Harrison and Miller\n9983 Gonzalez Shoal Suite 223\nJeffreyberg, ND 71223\n\nClient:\nPeters LLC\n27910 Lindsey Inlet\nPort Martinside, NM 22708\n\nTax Id: 941-70-5402\nIBAN: GB36KYWK10385657483744\nTax Id: 942-74-5002\n\nITEMS\nNo. Description Qty UM Net price Net worth VAT [%] Gross worth\n1. Selmash Lux Home Alcohol Distiller Kit for wine brewing, 15 20 30 | 4,00 each 157,90 631,60 10% 694,76\n2. Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter 1,00 each 12,00 12,00 10% 13,20\n3. Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3 2,00 each 32,00 64,00 10% 70,40\n4. 2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl 4,00 each 29,99 119,96 10% 131,96\n5. 50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit 5,00 each 324,33 1 621,65 10% 1 783,81\n\nSUMMARY\nVAT [%] Net worth VAT Gross worth\n10% 2 449,21 244,92 2 694,13\nTotal $ 2 449,21 $ 244,92 $ 2 694,13",
"type": "text"
}
],
"status": "success",
"tool_name": "ocr_image_url"
},
"duration_seconds": 8.743019,
"end_time": "2025-07-16T04:39:05.705279",
"message_sent": true,
"start_time": "2025-07-16T04:38:56.962260",
"timestamp": "2025-07-16T04:39:05.705279",
"worker_executed": true,
"workers_notified": true
},
"output": "Task completed successfully",
"result": [
{
"annotations": null,
"text": "Invoice no: 22758345\nDate of issue: 12/21/2015\n\nSeller:\nHensley, Harrison and Miller\n9983 Gonzalez Shoal Suite 223\nJeffreyberg, ND 71223\n\nClient:\nPeters LLC\n27910 Lindsey Inlet\nPort Martinside, NM 22708\n\nTax Id: 941-70-5402\nIBAN: GB36KYWK10385657483744\nTax Id: 942-74-5002\n\nITEMS\nNo. Description Qty UM Net price Net worth VAT [%] Gross worth\n1. Selmash Lux Home Alcohol Distiller Kit for wine brewing, 15 20 30 | 4,00 each 157,90 631,60 10% 694,76\n2. Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter 1,00 each 12,00 12,00 10% 13,20\n3. Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3 2,00 each 32,00 64,00 10% 70,40\n4. 2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl 4,00 each 29,99 119,96 10% 131,96\n5. 50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit 5,00 each 324,33 1 621,65 10% 1 783,81\n\nSUMMARY\nVAT [%] Net worth VAT Gross worth\n10% 2 449,21 244,92 2 694,13\nTotal $ 2 449,21 $ 244,92 $ 2 694,13",
"type": "text"
}
],
"return_code": 0,
"status": "success",
"stderr": "",
"task_id": "ocr_processing",
"tool_name": "ocr_image_url"
},
"post_to_sap": {
"amount_posted": "2694.13",
"document_type": "Invoice",
"execution_details": {
"actual_result": {
"output": "Posting to SAP for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nSAP posting completed\nDocument number: 51161613\nAmount: UNRESOLVED_sap_result[\u0027amount_posted\u0027]\n__OUTPUTS__ {\"posting_status\": \"success\", \"sap_document_number\": \"51161613\", \"vendor_code\": \"V45941\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"amount_posted\": \"2694.13\", \"posting_date\": \"2024-07-15\", \"document_type\": \"Invoice\"}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 0.157068,
"end_time": "2025-07-16T04:39:14.322746",
"message_sent": true,
"start_time": "2025-07-16T04:39:14.165678",
"timestamp": "2025-07-16T04:39:14.322746",
"worker_executed": true,
"workers_notified": true
},
"invoice_number": "22758345",
"output": "Posting to SAP for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nSAP posting completed\nDocument number: 51161613\nAmount: UNRESOLVED_sap_result[\u0027amount_posted\u0027]\n__OUTPUTS__ {\"posting_status\": \"success\", \"sap_document_number\": \"51161613\", \"vendor_code\": \"V45941\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"amount_posted\": \"2694.13\", \"posting_date\": \"2024-07-15\", \"document_type\": \"Invoice\"}\n",
"posting_date": "2024-07-15",
"posting_status": "success",
"return_code": 0,
"sap_document_number": "51161613",
"status": "completed",
"stderr": "",
"task_id": "post_to_sap",
"vendor_code": "V45941",
"vendor_name": "Hensley, Harrison and Miller"
},
"status": "FAILED",
"task_outputs": {
"extract_invoice_data": {
"agent_type": "assistant",
"ai_response": "{\n \"vendor_name\": \"Hensley, Harrison and Miller\",\n \"invoice_number\": \"22758345\",\n \"date\": \"2015-12-21\",\n \"po_number\": null,\n \"amount\": \"2694.13\",\n \"line_items\": [\n {\n \"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\",\n \"quantity\": \"15\",\n \"price\": \"4.00\",\n \"total\": \"694.76\"\n },\n {\n \"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\",\n \"quantity\": \"1\",\n \"price\": \"12.00\",\n \"total\": \"13.20\"\n },\n {\n \"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\",\n \"quantity\": \"2\",\n \"price\": \"32.00\",\n \"total\": \"70.40\"\n },\n {\n \"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\",\n \"quantity\": \"4\",\n \"price\": \"29.99\",\n \"total\": \"131.96\"\n },\n {\n \"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\",\n \"quantity\": \"5\",\n \"price\": \"324.33\",\n \"total\": \"1783.81\"\n }\n ]\n}",
"execution_details": {
"actual_result": {
"agent_type": "assistant",
"execution_details": {
"agent_type": "assistant",
"input_length": 1155,
"model": "gpt-4o-mini",
"output_length": 1040,
"provider": "openai",
"system_message": "Extract only these key fields from the OCR text. Return ONLY a valid JSON object with **escaped characters where necessary**, especially inside string values (e.g., escape double quotes within strings as `\\\\\\\"`). Ensure all values are properly JSON-encoded.:\n{\n \"vendor_name\": \"extracted vendor name or null\",\n \"invoice_number\": \"extracted invoice number or null\",\n \"date\": \"YYYY-MM-DD format or null\",\n \"po_number\": \"extracted PO number or null\", \n \"amount\": \"numeric amount or null\",\n \"line_items\": [\n {\n \"description\": \"item description\",\n \"quantity\": \"numeric quantity\",\n \"price\": \"numeric price\",\n \"total\": \"numeric total\"\n }\n ]\n}\n"
},
"input_format": "json",
"model_client_id": "invoice_extractor",
"output": "{\n \"vendor_name\": \"Hensley, Harrison and Miller\",\n \"invoice_number\": \"22758345\",\n \"date\": \"2015-12-21\",\n \"po_number\": null,\n \"amount\": \"2694.13\",\n \"line_items\": [\n {\n \"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\",\n \"quantity\": \"15\",\n \"price\": \"4.00\",\n \"total\": \"694.76\"\n },\n {\n \"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\",\n \"quantity\": \"1\",\n \"price\": \"12.00\",\n \"total\": \"13.20\"\n },\n {\n \"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\",\n \"quantity\": \"2\",\n \"price\": \"32.00\",\n \"total\": \"70.40\"\n },\n {\n \"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\",\n \"quantity\": \"4\",\n \"price\": \"29.99\",\n \"total\": \"131.96\"\n },\n {\n \"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\",\n \"quantity\": \"5\",\n \"price\": \"324.33\",\n \"total\": \"1783.81\"\n }\n ]\n}\n__OUTPUTS__ {\"ai_response\": \"{\\n \\\"vendor_name\\\": \\\"Hensley, Harrison and Miller\\\",\\n \\\"invoice_number\\\": \\\"22758345\\\",\\n \\\"date\\\": \\\"2015-12-21\\\",\\n \\\"po_number\\\": null,\\n \\\"amount\\\": \\\"2694.13\\\",\\n \\\"line_items\\\": [\\n {\\n \\\"description\\\": \\\"Selmash Lux Home Alcohol Distiller Kit for wine brewing\\\",\\n \\\"quantity\\\": \\\"15\\\",\\n \\\"price\\\": \\\"4.00\\\",\\n \\\"total\\\": \\\"694.76\\\"\\n },\\n {\\n \\\"description\\\": \\\"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\\\",\\n \\\"quantity\\\": \\\"1\\\",\\n \\\"price\\\": \\\"12.00\\\",\\n \\\"total\\\": \\\"13.20\\\"\\n },\\n {\\n \\\"description\\\": \\\"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\\\",\\n \\\"quantity\\\": \\\"2\\\",\\n \\\"price\\\": \\\"32.00\\\",\\n \\\"total\\\": \\\"70.40\\\"\\n },\\n {\\n \\\"description\\\": \\\"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\\\",\\n \\\"quantity\\\": \\\"4\\\",\\n \\\"price\\\": \\\"29.99\\\",\\n \\\"total\\\": \\\"131.96\\\"\\n },\\n {\\n \\\"description\\\": \\\"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\\\",\\n \\\"quantity\\\": \\\"5\\\",\\n \\\"price\\\": \\\"324.33\\\",\\n \\\"total\\\": \\\"1783.81\\\"\\n }\\n ]\\n}\", \"model_client_id\": \"invoice_extractor\", \"agent_type\": \"assistant\", \"model\": \"gpt-4o-mini\", \"provider\": \"openai\", \"status\": \"completed\", \"token_usage\": {\"prompt_tokens\": 598, \"completion_tokens\": 317, \"total_tokens\": 915, \"estimated_cost\": {\"amount\": 0.00028, \"currency\": \"USD\"}, \"model\": \"gpt-4o-mini\", \"provider\": \"openai\"}}",
"output_format": "json",
"return_code": 0,
"status": "completed",
"stderr": "",
"token_usage": {
"completion_tokens": 317,
"estimated_cost": {
"amount": 0.00028,
"currency": "USD"
},
"model": "gpt-4o-mini",
"prompt_tokens": 598,
"provider": "openai",
"total_tokens": 915
}
},
"duration_seconds": 8.220842,
"end_time": "2025-07-16T04:39:13.947550",
"message_sent": true,
"start_time": "2025-07-16T04:39:05.726708",
"timestamp": "2025-07-16T04:39:13.947550",
"worker_executed": true,
"workers_notified": true
},
"model": "gpt-4o-mini",
"model_client_id": "invoice_extractor",
"output": "{\n \"vendor_name\": \"Hensley, Harrison and Miller\",\n \"invoice_number\": \"22758345\",\n \"date\": \"2015-12-21\",\n \"po_number\": null,\n \"amount\": \"2694.13\",\n \"line_items\": [\n {\n \"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\",\n \"quantity\": \"15\",\n \"price\": \"4.00\",\n \"total\": \"694.76\"\n },\n {\n \"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\",\n \"quantity\": \"1\",\n \"price\": \"12.00\",\n \"total\": \"13.20\"\n },\n {\n \"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\",\n \"quantity\": \"2\",\n \"price\": \"32.00\",\n \"total\": \"70.40\"\n },\n {\n \"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\",\n \"quantity\": \"4\",\n \"price\": \"29.99\",\n \"total\": \"131.96\"\n },\n {\n \"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\",\n \"quantity\": \"5\",\n \"price\": \"324.33\",\n \"total\": \"1783.81\"\n }\n ]\n}\n__OUTPUTS__ {\"ai_response\": \"{\\n \\\"vendor_name\\\": \\\"Hensley, Harrison and Miller\\\",\\n \\\"invoice_number\\\": \\\"22758345\\\",\\n \\\"date\\\": \\\"2015-12-21\\\",\\n \\\"po_number\\\": null,\\n \\\"amount\\\": \\\"2694.13\\\",\\n \\\"line_items\\\": [\\n {\\n \\\"description\\\": \\\"Selmash Lux Home Alcohol Distiller Kit for wine brewing\\\",\\n \\\"quantity\\\": \\\"15\\\",\\n \\\"price\\\": \\\"4.00\\\",\\n \\\"total\\\": \\\"694.76\\\"\\n },\\n {\\n \\\"description\\\": \\\"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\\\",\\n \\\"quantity\\\": \\\"1\\\",\\n \\\"price\\\": \\\"12.00\\\",\\n \\\"total\\\": \\\"13.20\\\"\\n },\\n {\\n \\\"description\\\": \\\"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\\\",\\n \\\"quantity\\\": \\\"2\\\",\\n \\\"price\\\": \\\"32.00\\\",\\n \\\"total\\\": \\\"70.40\\\"\\n },\\n {\\n \\\"description\\\": \\\"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\\\",\\n \\\"quantity\\\": \\\"4\\\",\\n \\\"price\\\": \\\"29.99\\\",\\n \\\"total\\\": \\\"131.96\\\"\\n },\\n {\\n \\\"description\\\": \\\"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\\\",\\n \\\"quantity\\\": \\\"5\\\",\\n \\\"price\\\": \\\"324.33\\\",\\n \\\"total\\\": \\\"1783.81\\\"\\n }\\n ]\\n}\", \"model_client_id\": \"invoice_extractor\", \"agent_type\": \"assistant\", \"model\": \"gpt-4o-mini\", \"provider\": \"openai\", \"status\": \"completed\", \"token_usage\": {\"prompt_tokens\": 598, \"completion_tokens\": 317, \"total_tokens\": 915, \"estimated_cost\": {\"amount\": 0.00028, \"currency\": \"USD\"}, \"model\": \"gpt-4o-mini\", \"provider\": \"openai\"}}",
"provider": "openai",
"return_code": 0,
"status": "completed",
"stderr": "",
"task_id": "extract_invoice_data",
"token_usage": {
"completion_tokens": 317,
"estimated_cost": {
"amount": 0.00028,
"currency": "USD"
},
"model": "gpt-4o-mini",
"prompt_tokens": 598,
"provider": "openai",
"total_tokens": 915
}
},
"generate_summary": {
"amount": "2694.13",
"automation_level": "fully_automated",
"execution_details": {
"actual_result": {
"output": "Generating summary for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nProcessing summary generated\nStatus: completed\nInvoice: 22758345\n__OUTPUTS__ {\"processing_status\": \"completed\", \"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"po_number\": null, \"line_items_count\": 5, \"sap_document\": \"51374566\", \"processing_time\": \"5 minutes\", \"automation_level\": \"fully_automated\"}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 0.182806,
"end_time": "2025-07-16T04:39:14.547347",
"message_sent": true,
"start_time": "2025-07-16T04:39:14.364541",
"timestamp": "2025-07-16T04:39:14.547347",
"worker_executed": true,
"workers_notified": true
},
"invoice_number": "22758345",
"line_items_count": 5,
"output": "Generating summary for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nProcessing summary generated\nStatus: completed\nInvoice: 22758345\n__OUTPUTS__ {\"processing_status\": \"completed\", \"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"po_number\": null, \"line_items_count\": 5, \"sap_document\": \"51374566\", \"processing_time\": \"5 minutes\", \"automation_level\": \"fully_automated\"}\n",
"po_number": null,
"processing_status": "completed",
"processing_time": "5 minutes",
"return_code": 0,
"sap_document": "51374566",
"status": "completed",
"stderr": "",
"task_id": "generate_summary",
"vendor_name": "Hensley, Harrison and Miller"
},
"ocr_processing": {
"error": null,
"execution_details": {
"actual_result": {
"error": null,
"result": [
{
"annotations": null,
"text": "Invoice no: 22758345\nDate of issue: 12/21/2015\n\nSeller:\nHensley, Harrison and Miller\n9983 Gonzalez Shoal Suite 223\nJeffreyberg, ND 71223\n\nClient:\nPeters LLC\n27910 Lindsey Inlet\nPort Martinside, NM 22708\n\nTax Id: 941-70-5402\nIBAN: GB36KYWK10385657483744\nTax Id: 942-74-5002\n\nITEMS\nNo. Description Qty UM Net price Net worth VAT [%] Gross worth\n1. Selmash Lux Home Alcohol Distiller Kit for wine brewing, 15 20 30 | 4,00 each 157,90 631,60 10% 694,76\n2. Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter 1,00 each 12,00 12,00 10% 13,20\n3. Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3 2,00 each 32,00 64,00 10% 70,40\n4. 2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl 4,00 each 29,99 119,96 10% 131,96\n5. 50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit 5,00 each 324,33 1 621,65 10% 1 783,81\n\nSUMMARY\nVAT [%] Net worth VAT Gross worth\n10% 2 449,21 244,92 2 694,13\nTotal $ 2 449,21 $ 244,92 $ 2 694,13",
"type": "text"
}
],
"status": "success",
"tool_name": "ocr_image_url"
},
"duration_seconds": 8.743019,
"end_time": "2025-07-16T04:39:05.705279",
"message_sent": true,
"start_time": "2025-07-16T04:38:56.962260",
"timestamp": "2025-07-16T04:39:05.705279",
"worker_executed": true,
"workers_notified": true
},
"output": "Task completed successfully",
"result": [
{
"annotations": null,
"text": "Invoice no: 22758345\nDate of issue: 12/21/2015\n\nSeller:\nHensley, Harrison and Miller\n9983 Gonzalez Shoal Suite 223\nJeffreyberg, ND 71223\n\nClient:\nPeters LLC\n27910 Lindsey Inlet\nPort Martinside, NM 22708\n\nTax Id: 941-70-5402\nIBAN: GB36KYWK10385657483744\nTax Id: 942-74-5002\n\nITEMS\nNo. Description Qty UM Net price Net worth VAT [%] Gross worth\n1. Selmash Lux Home Alcohol Distiller Kit for wine brewing, 15 20 30 | 4,00 each 157,90 631,60 10% 694,76\n2. Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter 1,00 each 12,00 12,00 10% 13,20\n3. Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3 2,00 each 32,00 64,00 10% 70,40\n4. 2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl 4,00 each 29,99 119,96 10% 131,96\n5. 50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit 5,00 each 324,33 1 621,65 10% 1 783,81\n\nSUMMARY\nVAT [%] Net worth VAT Gross worth\n10% 2 449,21 244,92 2 694,13\nTotal $ 2 449,21 $ 244,92 $ 2 694,13",
"type": "text"
}
],
"return_code": 0,
"status": "success",
"stderr": "",
"task_id": "ocr_processing",
"tool_name": "ocr_image_url"
},
"post_to_sap": {
"amount_posted": "2694.13",
"document_type": "Invoice",
"execution_details": {
"actual_result": {
"output": "Posting to SAP for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nSAP posting completed\nDocument number: 51161613\nAmount: UNRESOLVED_sap_result[\u0027amount_posted\u0027]\n__OUTPUTS__ {\"posting_status\": \"success\", \"sap_document_number\": \"51161613\", \"vendor_code\": \"V45941\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"amount_posted\": \"2694.13\", \"posting_date\": \"2024-07-15\", \"document_type\": \"Invoice\"}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 0.157068,
"end_time": "2025-07-16T04:39:14.322746",
"message_sent": true,
"start_time": "2025-07-16T04:39:14.165678",
"timestamp": "2025-07-16T04:39:14.322746",
"worker_executed": true,
"workers_notified": true
},
"invoice_number": "22758345",
"output": "Posting to SAP for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_amount\nSAP posting completed\nDocument number: 51161613\nAmount: UNRESOLVED_sap_result[\u0027amount_posted\u0027]\n__OUTPUTS__ {\"posting_status\": \"success\", \"sap_document_number\": \"51161613\", \"vendor_code\": \"V45941\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"amount_posted\": \"2694.13\", \"posting_date\": \"2024-07-15\", \"document_type\": \"Invoice\"}\n",
"posting_date": "2024-07-15",
"posting_status": "success",
"return_code": 0,
"sap_document_number": "51161613",
"status": "completed",
"stderr": "",
"task_id": "post_to_sap",
"vendor_code": "V45941",
"vendor_name": "Hensley, Harrison and Miller"
},
"upload_to_supabase": {
"bucket_name": "ubspublic",
"csv_structure": {
"column_count": 22,
"columns": [
"processing_timestamp",
"workflow_id",
"workflow_version",
"invoice_number",
"vendor_name",
"invoice_date",
"po_number",
"invoice_amount",
"line_items_count",
"sap_posting_status",
"sap_document_number",
"vendor_code",
"amount_posted",
"sap_posting_date",
"document_type",
"overall_processing_status",
"processing_time",
"automation_level",
"image_url",
"notification_email",
"processed_by",
"processing_node"
],
"row_count": 1
},
"data_summary": {
"amount": "2694.13",
"invoice_number": "22758345",
"processing_status": "completed",
"sap_document": "51161613",
"vendor_name": "Hensley, Harrison and Miller"
},
"execution_details": {
"actual_result": {
"output": "Successfully parsed data from previous nodes\nGenerated CSV file: invoice_processing_22758345_20250716_043916.csv\nCSV content size: 725 characters\nData rows: 1\nFile uploaded successfully to Supabase\nUpload completed successfully\nPublic URL: https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\nRecords uploaded: 1\n__OUTPUTS__ {\"upload_status\": \"success\", \"bucket_name\": \"ubspublic\", \"filename\": \"invoice_processing_22758345_20250716_043916.csv\", \"file_size_bytes\": 725, \"public_url\": \"https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\", \"upload_timestamp\": \"2025-07-16T04:39:16.861686\", \"records_uploaded\": 1, \"data_summary\": {\"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"sap_document\": \"51161613\", \"processing_status\": \"completed\"}, \"csv_structure\": {\"columns\": [\"processing_timestamp\", \"workflow_id\", \"workflow_version\", \"invoice_number\", \"vendor_name\", \"invoice_date\", \"po_number\", \"invoice_amount\", \"line_items_count\", \"sap_posting_status\", \"sap_document_number\", \"vendor_code\", \"amount_posted\", \"sap_posting_date\", \"document_type\", \"overall_processing_status\", \"processing_time\", \"automation_level\", \"image_url\", \"notification_email\", \"processed_by\", \"processing_node\"], \"column_count\": 22, \"row_count\": 1}}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 2.48755,
"end_time": "2025-07-16T04:39:17.105499",
"message_sent": true,
"start_time": "2025-07-16T04:39:14.617949",
"timestamp": "2025-07-16T04:39:17.105499",
"worker_executed": true,
"workers_notified": true
},
"file_size_bytes": 725,
"filename": "invoice_processing_22758345_20250716_043916.csv",
"output": "Successfully parsed data from previous nodes\nGenerated CSV file: invoice_processing_22758345_20250716_043916.csv\nCSV content size: 725 characters\nData rows: 1\nFile uploaded successfully to Supabase\nUpload completed successfully\nPublic URL: https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\nRecords uploaded: 1\n__OUTPUTS__ {\"upload_status\": \"success\", \"bucket_name\": \"ubspublic\", \"filename\": \"invoice_processing_22758345_20250716_043916.csv\", \"file_size_bytes\": 725, \"public_url\": \"https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\", \"upload_timestamp\": \"2025-07-16T04:39:16.861686\", \"records_uploaded\": 1, \"data_summary\": {\"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"sap_document\": \"51161613\", \"processing_status\": \"completed\"}, \"csv_structure\": {\"columns\": [\"processing_timestamp\", \"workflow_id\", \"workflow_version\", \"invoice_number\", \"vendor_name\", \"invoice_date\", \"po_number\", \"invoice_amount\", \"line_items_count\", \"sap_posting_status\", \"sap_document_number\", \"vendor_code\", \"amount_posted\", \"sap_posting_date\", \"document_type\", \"overall_processing_status\", \"processing_time\", \"automation_level\", \"image_url\", \"notification_email\", \"processed_by\", \"processing_node\"], \"column_count\": 22, \"row_count\": 1}}\n",
"public_url": "https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?",
"records_uploaded": 1,
"return_code": 0,
"status": "completed",
"stderr": "",
"task_id": "upload_to_supabase",
"upload_status": "success",
"upload_timestamp": "2025-07-16T04:39:16.861686"
},
"validate_data": {
"amount": "2694.13",
"date": "2015-12-21",
"execution_details": {
"actual_result": {
"output": "Using extracted data from AI response\nVendor: Hensley, Harrison and Miller\nInvoice: 22758345\nAmount: 2694.13\nValidation completed for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_validation_result[\u0027amount\u0027]\n__OUTPUTS__ {\"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"date\": \"2015-12-21\", \"po_number\": null, \"amount\": \"2694.13\", \"line_items\": [{\"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\", \"quantity\": \"15\", \"price\": \"4.00\", \"total\": \"694.76\"}, {\"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\", \"quantity\": \"1\", \"price\": \"12.00\", \"total\": \"13.20\"}, {\"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\", \"quantity\": \"2\", \"price\": \"32.00\", \"total\": \"70.40\"}, {\"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\", \"quantity\": \"4\", \"price\": \"29.99\", \"total\": \"131.96\"}, {\"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\", \"quantity\": \"5\", \"price\": \"324.33\", \"total\": \"1783.81\"}], \"validation_status\": \"passed\", \"total_items\": 5}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 0.173487,
"end_time": "2025-07-16T04:39:14.143483",
"message_sent": true,
"start_time": "2025-07-16T04:39:13.969996",
"timestamp": "2025-07-16T04:39:14.143483",
"worker_executed": true,
"workers_notified": true
},
"invoice_number": "22758345",
"line_items": [
{
"description": "Selmash Lux Home Alcohol Distiller Kit for wine brewing",
"price": "4.00",
"quantity": "15",
"total": "694.76"
},
{
"description": "Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter",
"price": "12.00",
"quantity": "1",
"total": "13.20"
},
{
"description": "Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3",
"price": "32.00",
"quantity": "2",
"total": "70.40"
},
{
"description": "2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl",
"price": "29.99",
"quantity": "4",
"total": "131.96"
},
{
"description": "50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit",
"price": "324.33",
"quantity": "5",
"total": "1783.81"
}
],
"output": "Using extracted data from AI response\nVendor: Hensley, Harrison and Miller\nInvoice: 22758345\nAmount: 2694.13\nValidation completed for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_validation_result[\u0027amount\u0027]\n__OUTPUTS__ {\"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"date\": \"2015-12-21\", \"po_number\": null, \"amount\": \"2694.13\", \"line_items\": [{\"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\", \"quantity\": \"15\", \"price\": \"4.00\", \"total\": \"694.76\"}, {\"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\", \"quantity\": \"1\", \"price\": \"12.00\", \"total\": \"13.20\"}, {\"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\", \"quantity\": \"2\", \"price\": \"32.00\", \"total\": \"70.40\"}, {\"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\", \"quantity\": \"4\", \"price\": \"29.99\", \"total\": \"131.96\"}, {\"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\", \"quantity\": \"5\", \"price\": \"324.33\", \"total\": \"1783.81\"}], \"validation_status\": \"passed\", \"total_items\": 5}\n",
"po_number": null,
"return_code": 0,
"status": "completed",
"stderr": "",
"task_id": "validate_data",
"total_items": 5,
"validation_status": "passed",
"vendor_name": "Hensley, Harrison and Miller"
}
},
"upload_to_supabase": {
"bucket_name": "ubspublic",
"csv_structure": {
"column_count": 22,
"columns": [
"processing_timestamp",
"workflow_id",
"workflow_version",
"invoice_number",
"vendor_name",
"invoice_date",
"po_number",
"invoice_amount",
"line_items_count",
"sap_posting_status",
"sap_document_number",
"vendor_code",
"amount_posted",
"sap_posting_date",
"document_type",
"overall_processing_status",
"processing_time",
"automation_level",
"image_url",
"notification_email",
"processed_by",
"processing_node"
],
"row_count": 1
},
"data_summary": {
"amount": "2694.13",
"invoice_number": "22758345",
"processing_status": "completed",
"sap_document": "51161613",
"vendor_name": "Hensley, Harrison and Miller"
},
"execution_details": {
"actual_result": {
"output": "Successfully parsed data from previous nodes\nGenerated CSV file: invoice_processing_22758345_20250716_043916.csv\nCSV content size: 725 characters\nData rows: 1\nFile uploaded successfully to Supabase\nUpload completed successfully\nPublic URL: https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\nRecords uploaded: 1\n__OUTPUTS__ {\"upload_status\": \"success\", \"bucket_name\": \"ubspublic\", \"filename\": \"invoice_processing_22758345_20250716_043916.csv\", \"file_size_bytes\": 725, \"public_url\": \"https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\", \"upload_timestamp\": \"2025-07-16T04:39:16.861686\", \"records_uploaded\": 1, \"data_summary\": {\"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"sap_document\": \"51161613\", \"processing_status\": \"completed\"}, \"csv_structure\": {\"columns\": [\"processing_timestamp\", \"workflow_id\", \"workflow_version\", \"invoice_number\", \"vendor_name\", \"invoice_date\", \"po_number\", \"invoice_amount\", \"line_items_count\", \"sap_posting_status\", \"sap_document_number\", \"vendor_code\", \"amount_posted\", \"sap_posting_date\", \"document_type\", \"overall_processing_status\", \"processing_time\", \"automation_level\", \"image_url\", \"notification_email\", \"processed_by\", \"processing_node\"], \"column_count\": 22, \"row_count\": 1}}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 2.48755,
"end_time": "2025-07-16T04:39:17.105499",
"message_sent": true,
"start_time": "2025-07-16T04:39:14.617949",
"timestamp": "2025-07-16T04:39:17.105499",
"worker_executed": true,
"workers_notified": true
},
"file_size_bytes": 725,
"filename": "invoice_processing_22758345_20250716_043916.csv",
"output": "Successfully parsed data from previous nodes\nGenerated CSV file: invoice_processing_22758345_20250716_043916.csv\nCSV content size: 725 characters\nData rows: 1\nFile uploaded successfully to Supabase\nUpload completed successfully\nPublic URL: https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\nRecords uploaded: 1\n__OUTPUTS__ {\"upload_status\": \"success\", \"bucket_name\": \"ubspublic\", \"filename\": \"invoice_processing_22758345_20250716_043916.csv\", \"file_size_bytes\": 725, \"public_url\": \"https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?\", \"upload_timestamp\": \"2025-07-16T04:39:16.861686\", \"records_uploaded\": 1, \"data_summary\": {\"invoice_number\": \"22758345\", \"vendor_name\": \"Hensley, Harrison and Miller\", \"amount\": \"2694.13\", \"sap_document\": \"51161613\", \"processing_status\": \"completed\"}, \"csv_structure\": {\"columns\": [\"processing_timestamp\", \"workflow_id\", \"workflow_version\", \"invoice_number\", \"vendor_name\", \"invoice_date\", \"po_number\", \"invoice_amount\", \"line_items_count\", \"sap_posting_status\", \"sap_document_number\", \"vendor_code\", \"amount_posted\", \"sap_posting_date\", \"document_type\", \"overall_processing_status\", \"processing_time\", \"automation_level\", \"image_url\", \"notification_email\", \"processed_by\", \"processing_node\"], \"column_count\": 22, \"row_count\": 1}}\n",
"public_url": "https://mbauzgvitqvxceqanzjw.supabase.co/storage/v1/object/public/ubspublic/invoice_processing_22758345_20250716_043916.csv?",
"records_uploaded": 1,
"return_code": 0,
"status": "completed",
"stderr": "",
"task_id": "upload_to_supabase",
"upload_status": "success",
"upload_timestamp": "2025-07-16T04:39:16.861686"
},
"validate_data": {
"amount": "2694.13",
"date": "2015-12-21",
"execution_details": {
"actual_result": {
"output": "Using extracted data from AI response\nVendor: Hensley, Harrison and Miller\nInvoice: 22758345\nAmount: 2694.13\nValidation completed for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_validation_result[\u0027amount\u0027]\n__OUTPUTS__ {\"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"date\": \"2015-12-21\", \"po_number\": null, \"amount\": \"2694.13\", \"line_items\": [{\"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\", \"quantity\": \"15\", \"price\": \"4.00\", \"total\": \"694.76\"}, {\"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\", \"quantity\": \"1\", \"price\": \"12.00\", \"total\": \"13.20\"}, {\"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\", \"quantity\": \"2\", \"price\": \"32.00\", \"total\": \"70.40\"}, {\"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\", \"quantity\": \"4\", \"price\": \"29.99\", \"total\": \"131.96\"}, {\"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\", \"quantity\": \"5\", \"price\": \"324.33\", \"total\": \"1783.81\"}], \"validation_status\": \"passed\", \"total_items\": 5}\n",
"return_code": 0,
"status": "completed",
"stderr": ""
},
"duration_seconds": 0.173487,
"end_time": "2025-07-16T04:39:14.143483",
"message_sent": true,
"start_time": "2025-07-16T04:39:13.969996",
"timestamp": "2025-07-16T04:39:14.143483",
"worker_executed": true,
"workers_notified": true
},
"invoice_number": "22758345",
"line_items": [
{
"description": "Selmash Lux Home Alcohol Distiller Kit for wine brewing",
"price": "4.00",
"quantity": "15",
"total": "694.76"
},
{
"description": "Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter",
"price": "12.00",
"quantity": "1",
"total": "13.20"
},
{
"description": "Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3",
"price": "32.00",
"quantity": "2",
"total": "70.40"
},
{
"description": "2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl",
"price": "29.99",
"quantity": "4",
"total": "131.96"
},
{
"description": "50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit",
"price": "324.33",
"quantity": "5",
"total": "1783.81"
}
],
"output": "Using extracted data from AI response\nVendor: Hensley, Harrison and Miller\nInvoice: 22758345\nAmount: 2694.13\nValidation completed for invoice: 22758345\nVendor: Hensley, Harrison and Miller\nAmount: UNRESOLVED_validation_result[\u0027amount\u0027]\n__OUTPUTS__ {\"vendor_name\": \"Hensley, Harrison and Miller\", \"invoice_number\": \"22758345\", \"date\": \"2015-12-21\", \"po_number\": null, \"amount\": \"2694.13\", \"line_items\": [{\"description\": \"Selmash Lux Home Alcohol Distiller Kit for wine brewing\", \"quantity\": \"15\", \"price\": \"4.00\", \"total\": \"694.76\"}, {\"description\": \"Rabbit Wine Bottle Opener Corkscrew Set With Foil Cutter\", \"quantity\": \"1\", \"price\": \"12.00\", \"total\": \"13.20\"}, {\"description\": \"Frosted Satin Wine Goblet Glasses Crooked Stem Set Of 3\", \"quantity\": \"2\", \"price\": \"32.00\", \"total\": \"70.40\"}, {\"description\": \"2 Hand Blown Wine Water Goblet Glass Art Mexico Pulled Feather Iridescent Swirl\", \"quantity\": \"4\", \"price\": \"29.99\", \"total\": \"131.96\"}, {\"description\": \"50L/70L Moonshine Still Home Alcohol Oil Distiller Wine Making Water Brew Kit\", \"quantity\": \"5\", \"price\": \"324.33\", \"total\": \"1783.81\"}], \"validation_status\": \"passed\", \"total_items\": 5}\n",
"po_number": null,
"return_code": 0,
"status": "completed",
"stderr": "",
"task_id": "validate_data",
"total_items": 5,
"validation_status": "passed",
"vendor_name": "Hensley, Harrison and Miller"
}
}