Help
← Runs963f9e7f-96be-49a2-afc3-a35b55d9fcf3Failed

Run 963f9e7f-96b

Workflow 202734a9-ecf · triggered Manual · 2d ago

Timeline

ManagerIdle
Worker · step 1Completed
Worker · step 2Idle
Worker · step 2Completed
Worker · step 3Completed
Worker · step 3Idle
Worker · step 3Idle
Worker · step 4Idle
Worker · step 5Idle
Worker · step 6Completed
Worker · step 7Idle
Worker · step 8Completed
Worker · step 9Failed
Worker · step 9Idle
Worker · step 10Idle
Worker · step 11Idle
Worker · step 12Idle

Agents

Reaped
Reaped
Started
Jun 8, 2026, 09:35 AM
Completed
Jun 8, 2026, 09:44 AM
Duration
8m 47s

Details

Manager · step Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 1Completed
{
  "input": {
    "invoice_file": "trigger/invoice_file/Invoice_IEFS-0145_IEFSpaces_MYR.pdf"
  },
  "output": {
    "lines": "[{\"description\": \"CrinEar Nova In-Ear Monitor\", \"quantity\": 40.00, \"unit_price\": 299.00, \"subtotal\": 11960.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Hangout USB-C Dongle DAC\", \"quantity\": 25.00, \"unit_price\": 129.00, \"subtotal\": 3225.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Leather Carry Pouch\", \"quantity\": 40.00, \"unit_price\": 45.00, \"subtotal\": 1800.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"IEM Cleaning & Care Kit\", \"quantity\": 30.00, \"unit_price\": 25.00, \"subtotal\": 750.00, \"tax_amount\": 0.00, \"account_code_raw\": null}]",
    "result": "match_found",
    "invoice": "{\"counterparty_name_raw\": \"Linsoul Inc\", \"document_number\": \"IEFS-0145\", \"document_date\": \"2026-06-07\", \"due_date\": \"2026-06-21\", \"currency\": \"MYR\", \"total_amount\": 17735.00, \"direction\": \"outgoing\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"tally_ok\": true, \"remarks\": \"Please quote invoice number IEFS-0145 as payment reference. Account Number: ACC-LIN-0007\", \"source_filename\": \"Invoice_IEFS-0145_IEFSpaces_MYR.pdf\"}",
    "missing_fields": [],
    "raw_extraction": "{\"fields\": {\"counterparty_name_raw\": \"Linsoul Inc\", \"document_number\": \"IEFS-0145\", \"document_date\": \"2026-06-07\", \"due_date\": \"2026-06-21\", \"currency\": \"MYR\", \"total_amount\": 17735.00, \"direction\": \"outgoing\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"line_items\": [{\"description\": \"CrinEar Nova In-Ear Monitor\", \"quantity\": 40.00, \"unit_price\": 299.00, \"subtotal\": 11960.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Hangout USB-C Dongle DAC\", \"quantity\": 25.00, \"unit_price\": 129.00, \"subtotal\": 3225.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Leather Carry Pouch\", \"quantity\": 40.00, \"unit_price\": 45.00, \"subtotal\": 1800.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"IEM Cleaning & Care Kit\", \"quantity\": 30.00, \"unit_price\": 25.00, \"subtotal\": 750.00, \"tax_amount\": 0.00, \"account_code_raw\": null}], \"tally_ok\": true, \"remarks\": \"Please quote invoice number IEFS-0145 as payment reference. Account Number: ACC-LIN-0007\", \"source_filename\": \"Invoice_IEFS-0145_IEFSpaces_MYR.pdf\"}, \"confidences\": {\"counterparty_name_raw\": 0.99, \"document_number\": 0.99, \"document_date\": 0.99, \"due_date\": 0.99, \"currency\": 0.99, \"total_amount\": 0.99, \"direction\": 0.98, \"doc_type\": 0.99, \"parent_invoice_ref_raw\": 0.0, \"line_items\": 0.99, \"tally_ok\": 1.0, \"remarks\": 0.95}}",
    "proposed_counterparty": null,
    "resolved_counterparty_id": "9aa8460b-c184-4972-80a7-465f95b9e1fd"
  },
  "error": null
}
Worker · step 2Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 2Completed
{
  "input": {
    "invoice": "{\"counterparty_name_raw\": \"Linsoul Inc\", \"document_number\": \"IEFS-0145\", \"document_date\": \"2026-06-07\", \"due_date\": \"2026-06-21\", \"currency\": \"MYR\", \"total_amount\": 17735.00, \"direction\": \"outgoing\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"tally_ok\": true, \"remarks\": \"Please quote invoice number IEFS-0145 as payment reference. Account Number: ACC-LIN-0007\", \"source_filename\": \"Invoice_IEFS-0145_IEFSpaces_MYR.pdf\"}",
    "counterparty_id": "9aa8460b-c184-4972-80a7-465f95b9e1fd"
  },
  "output": {
    "result": "unique",
    "missing_fields": [],
    "existing_invoice_id": null
  },
  "error": null
}
Worker · step 3Completed
{
  "input": {
    "lines": "[{\"description\": \"CrinEar Nova In-Ear Monitor\", \"quantity\": 40.00, \"unit_price\": 299.00, \"subtotal\": 11960.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Hangout USB-C Dongle DAC\", \"quantity\": 25.00, \"unit_price\": 129.00, \"subtotal\": 3225.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Leather Carry Pouch\", \"quantity\": 40.00, \"unit_price\": 45.00, \"subtotal\": 1800.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"IEM Cleaning & Care Kit\", \"quantity\": 30.00, \"unit_price\": 25.00, \"subtotal\": 750.00, \"tax_amount\": 0.00, \"account_code_raw\": null}]",
    "invoice": "{\"counterparty_name_raw\": \"Linsoul Inc\", \"document_number\": \"IEFS-0145\", \"document_date\": \"2026-06-07\", \"due_date\": \"2026-06-21\", \"currency\": \"MYR\", \"total_amount\": 17735.00, \"direction\": \"outgoing\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"tally_ok\": true, \"remarks\": \"Please quote invoice number IEFS-0145 as payment reference. Account Number: ACC-LIN-0007\", \"source_filename\": \"Invoice_IEFS-0145_IEFSpaces_MYR.pdf\"}"
  },
  "output": {
    "result": "stored",
    "invoice_id": "66570b50-e454-4160-b7eb-3485d43fb713",
    "missing_fields": []
  },
  "error": null
}
Worker · step 3Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 3Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 4Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 5Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 6Completed
{
  "input": {
    "invoice_id": "66570b50-e454-4160-b7eb-3485d43fb713"
  },
  "output": {
    "rate": null,
    "result": "composed",
    "doc_type": "invoice",
    "direction": "outgoing",
    "rate_date": null,
    "entry_date": "2026-06-07",
    "fx_rate_id": null,
    "invoice_id": "66570b50-e454-4160-b7eb-3485d43fb713",
    "is_reversal": "false",
    "journal_lines": "[{\"account_id\":\"4d5e9ac3-623f-417b-aee1-18687b022996\",\"line_seq\":1,\"debit\":17735.00,\"currency\":\"MYR\",\"base_amount\":17735.00},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":2,\"credit\":11960.00,\"currency\":\"MYR\",\"base_amount\":11960.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":3,\"credit\":3225.00,\"currency\":\"MYR\",\"base_amount\":3225.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":4,\"credit\":1800.00,\"currency\":\"MYR\",\"base_amount\":1800.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":5,\"credit\":750.00,\"currency\":\"MYR\",\"base_amount\":750.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"}]",
    "missing_fields": [],
    "needs_manual_fx": "false",
    "source_currency": null,
    "journal_reference": "IEFS-0145",
    "converted_currency": null,
    "journal_description": "AR recognition - customer invoice IEFS-0145 to Linsoul Inc for audio equipment sales",
    "original_journal_id": null
  },
  "error": null
}
Worker · step 7Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 8Completed
{
  "input": {
    "reference": "IEFS-0145",
    "entry_date": "2026-06-07",
    "invoice_id": "66570b50-e454-4160-b7eb-3485d43fb713",
    "description": "AR recognition - customer invoice IEFS-0145 to Linsoul Inc for audio equipment sales",
    "is_reversal": "false",
    "original_journal_id": null,
    "proposed_journal_lines": "[{\"account_id\":\"4d5e9ac3-623f-417b-aee1-18687b022996\",\"line_seq\":1,\"debit\":17735.00,\"currency\":\"MYR\",\"base_amount\":17735.00},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":2,\"credit\":11960.00,\"currency\":\"MYR\",\"base_amount\":11960.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":3,\"credit\":3225.00,\"currency\":\"MYR\",\"base_amount\":3225.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":4,\"credit\":1800.00,\"currency\":\"MYR\",\"base_amount\":1800.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"},{\"account_id\":\"17c6a737-6eaa-4105-a9bb-326433332aa4\",\"line_seq\":5,\"credit\":750.00,\"currency\":\"MYR\",\"base_amount\":750.00,\"flag\":\"No exact code match - using general revenue account for audio equipment sales\"}]"
  },
  "output": {
    "result": "approved",
    "status": "pending_approval",
    "reference": "IEFS-0145",
    "entry_date": "2026-06-07",
    "description": "AR recognition - customer invoice IEFS-0145 to Linsoul Inc for audio equipment sales",
    "source_type": "invoice",
    "missing_fields": [],
    "source_invoice_id": "66570b50-e454-4160-b7eb-3485d43fb713",
    "source_bank_txn_id": null,
    "reversal_of_journal_id": null
  },
  "error": null
}
Worker · step 9Failed
{
  "input": {
    "status": "pending_approval",
    "reference": "IEFS-0145",
    "entry_date": "2026-06-07",
    "description": "AR recognition - customer invoice IEFS-0145 to Linsoul Inc for audio equipment sales",
    "source_type": "invoice",
    "source_invoice_id": "66570b50-e454-4160-b7eb-3485d43fb713",
    "source_bank_txn_id": null,
    "reversal_of_journal_id": null
  },
  "output": {
    "error": "Tool 'mcp__ontology__create_journal' failed — step cannot be marked complete with a failed side-effect.",
    "tool_failures": [
      {
        "name": "mcp__ontology__create_journal",
        "preview": "\"{\\\"ok\\\":false,\\\"error\\\":\\\"InputSchemaViolation\\\",\\\"issues\\\":[{\\\"path\\\":\\\"/status\\\",\\\"message\\\":\\\"must be equal to one of the allowed values\\\",\\\"params\\\":{\\\"allowedValues\\\":[\\\"posted\\\",\\\"reversed\\\"]}}]}\"",
        "tool_use_id": "toolu_01B632h7Lw1FUhhfhbspXgYj"
      }
    ]
  },
  "error": {
    "error": "Tool 'mcp__ontology__create_journal' failed — step cannot be marked complete with a failed side-effect.",
    "tool_failures": [
      {
        "name": "mcp__ontology__create_journal",
        "preview": "\"{\\\"ok\\\":false,\\\"error\\\":\\\"InputSchemaViolation\\\",\\\"issues\\\":[{\\\"path\\\":\\\"/status\\\",\\\"message\\\":\\\"must be equal to one of the allowed values\\\",\\\"params\\\":{\\\"allowedValues\\\":[\\\"posted\\\",\\\"reversed\\\"]}}]}\"",
        "tool_use_id": "toolu_01B632h7Lw1FUhhfhbspXgYj"
      }
    ]
  }
}
Worker · step 9Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 10Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 11Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 12Idle
{
  "input": {},
  "output": {},
  "error": null
}
Trigger metadata
{}
Download a workspace file

Fetch a short-lived signed URL for any file this run produced or consumed, by its workspace-relative path.