Help
← Runs236bad01-9d81-4cef-9056-4cf80d44d690Completed

Run 236bad01-9d8

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

Timeline

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

Agents

Reaped
Reaped
Reaped
Started
Jun 8, 2026, 09:23 AM
Completed
Jun 8, 2026, 09:30 AM
Duration
6m 40s

Details

Manager · step Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 1Completed
{
  "input": {
    "invoice_file": "trigger/invoice_file/Bill_TNB-20260228-7842156_Tenaga_AP.pdf"
  },
  "output": {
    "lines": "[{\"description\": \"Energy Charge (Tariff B)\", \"quantity\": 832, \"unit_price\": 0.2700, \"subtotal\": 224.64, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Capacity Charge\", \"quantity\": 832, \"unit_price\": 0.0455, \"subtotal\": 37.86, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Network Charge\", \"quantity\": 832, \"unit_price\": 0.1285, \"subtotal\": 106.91, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Retail Charge (fixed monthly)\", \"quantity\": 1, \"unit_price\": 10.0000, \"subtotal\": 10.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Renewable Energy Fund (KWTBB, 1.6%)\", \"quantity\": null, \"unit_price\": null, \"subtotal\": 2.81, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Sales & Service Tax (SST 8%)\", \"quantity\": null, \"unit_price\": null, \"subtotal\": 0.00, \"tax_amount\": 30.58, \"account_code_raw\": null}]",
    "result": "no_match",
    "invoice": "{\"counterparty_name_raw\": \"TENAGA NASIONAL BERHAD\", \"document_number\": \"TNB-20260228-7842156\", \"document_date\": \"2026-02-28\", \"due_date\": \"2026-03-14\", \"currency\": \"MYR\", \"total_amount\": 412.80, \"direction\": \"incoming\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"tally_ok\": true, \"remarks\": \"Contract Account No. 220041785632, Premise Account No. 0034 7821 9456, Meter MTR-KL-447821, Billing Period 01 Feb 2026 - 28 Feb 2026\", \"source_filename\": \"Bill_TNB-20260228-7842156_Tenaga_AP.pdf\"}",
    "missing_fields": [],
    "raw_extraction": "{\"fields\": {\"counterparty_name_raw\": \"TENAGA NASIONAL BERHAD\", \"document_number\": \"TNB-20260228-7842156\", \"document_date\": \"2026-02-28\", \"due_date\": \"2026-03-14\", \"currency\": \"MYR\", \"total_amount\": 412.80, \"direction\": \"incoming\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"line_items\": [{\"description\": \"Energy Charge (Tariff B)\", \"quantity\": 832, \"unit_price\": 0.2700, \"subtotal\": 224.64, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Capacity Charge\", \"quantity\": 832, \"unit_price\": 0.0455, \"subtotal\": 37.86, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Network Charge\", \"quantity\": 832, \"unit_price\": 0.1285, \"subtotal\": 106.91, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Retail Charge (fixed monthly)\", \"quantity\": 1, \"unit_price\": 10.0000, \"subtotal\": 10.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Renewable Energy Fund (KWTBB, 1.6%)\", \"quantity\": null, \"unit_price\": null, \"subtotal\": 2.81, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Sales & Service Tax (SST 8%)\", \"quantity\": null, \"unit_price\": null, \"subtotal\": 0.00, \"tax_amount\": 30.58, \"account_code_raw\": null}], \"tally_ok\": true, \"remarks\": \"Contract Account No. 220041785632, Premise Account No. 0034 7821 9456, Meter MTR-KL-447821, Billing Period 01 Feb 2026 - 28 Feb 2026\", \"source_filename\": \"Bill_TNB-20260228-7842156_Tenaga_AP.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.99, \"doc_type\": 0.95, \"parent_invoice_ref_raw\": 0.0, \"line_items\": 0.97, \"tally_ok\": 1.0, \"remarks\": 0.95, \"source_filename\": 1.0}}",
    "proposed_counterparty": "{\"name_raw\": \"TENAGA NASIONAL BERHAD\", \"country\": \"MY\", \"type\": \"vendor\", \"registration_number\": \"199001000003\", \"tax_id\": \"W10-2002-32000063\", \"address\": \"No. 129, Jalan Bangsar, 59200 Kuala Lumpur\"}",
    "resolved_counterparty_id": null
  },
  "error": null
}
Worker · step 2Completed
{
  "input": {
    "proposed_counterparty": "{\"name_raw\": \"TENAGA NASIONAL BERHAD\", \"country\": \"MY\", \"type\": \"vendor\", \"registration_number\": \"199001000003\", \"tax_id\": \"W10-2002-32000063\", \"address\": \"No. 129, Jalan Bangsar, 59200 Kuala Lumpur\"}"
  },
  "output": {
    "code": "TNB",
    "name": "TENAGA NASIONAL BERHAD",
    "email": null,
    "result": "approved",
    "location": "No. 129, Jalan Bangsar, 59200 Kuala Lumpur, Malaysia",
    "contact_name": null,
    "missing_fields": [
      "email",
      "contact_name"
    ],
    "existing_counterparty_id": null
  },
  "error": null
}
Worker · step 2Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 3Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 3Completed
{
  "input": {
    "code": "TNB",
    "name": "TENAGA NASIONAL BERHAD",
    "email": null,
    "location": "No. 129, Jalan Bangsar, 59200 Kuala Lumpur, Malaysia",
    "contact_name": null,
    "existing_counterparty_id": null
  },
  "output": {
    "result": "created",
    "missing_fields": [],
    "counterparty_id": "022aa1b2-a12b-4db3-81bd-8c1513a25417",
    "counterparty_origin": "new"
  },
  "error": null
}
Worker · step 3Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 4Completed
{
  "input": {
    "invoice": "{\"counterparty_name_raw\": \"TENAGA NASIONAL BERHAD\", \"document_number\": \"TNB-20260228-7842156\", \"document_date\": \"2026-02-28\", \"due_date\": \"2026-03-14\", \"currency\": \"MYR\", \"total_amount\": 412.80, \"direction\": \"incoming\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"tally_ok\": true, \"remarks\": \"Contract Account No. 220041785632, Premise Account No. 0034 7821 9456, Meter MTR-KL-447821, Billing Period 01 Feb 2026 - 28 Feb 2026\", \"source_filename\": \"Bill_TNB-20260228-7842156_Tenaga_AP.pdf\"}",
    "counterparty_id": "022aa1b2-a12b-4db3-81bd-8c1513a25417",
    "counterparty_origin": "new"
  },
  "output": {
    "result": "unique",
    "missing_fields": [],
    "existing_invoice_id": null
  },
  "error": null
}
Worker · step 5Completed
{
  "input": {
    "lines": "[{\"description\": \"Energy Charge (Tariff B)\", \"quantity\": 832, \"unit_price\": 0.2700, \"subtotal\": 224.64, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Capacity Charge\", \"quantity\": 832, \"unit_price\": 0.0455, \"subtotal\": 37.86, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Network Charge\", \"quantity\": 832, \"unit_price\": 0.1285, \"subtotal\": 106.91, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Retail Charge (fixed monthly)\", \"quantity\": 1, \"unit_price\": 10.0000, \"subtotal\": 10.00, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Renewable Energy Fund (KWTBB, 1.6%)\", \"quantity\": null, \"unit_price\": null, \"subtotal\": 2.81, \"tax_amount\": 0.00, \"account_code_raw\": null}, {\"description\": \"Sales & Service Tax (SST 8%)\", \"quantity\": null, \"unit_price\": null, \"subtotal\": 0.00, \"tax_amount\": 30.58, \"account_code_raw\": null}]",
    "invoice": "{\"counterparty_name_raw\": \"TENAGA NASIONAL BERHAD\", \"document_number\": \"TNB-20260228-7842156\", \"document_date\": \"2026-02-28\", \"due_date\": \"2026-03-14\", \"currency\": \"MYR\", \"total_amount\": 412.80, \"direction\": \"incoming\", \"doc_type\": \"invoice\", \"parent_invoice_ref_raw\": null, \"tally_ok\": true, \"remarks\": \"Contract Account No. 220041785632, Premise Account No. 0034 7821 9456, Meter MTR-KL-447821, Billing Period 01 Feb 2026 - 28 Feb 2026\", \"source_filename\": \"Bill_TNB-20260228-7842156_Tenaga_AP.pdf\"}",
    "counterparty_id": "022aa1b2-a12b-4db3-81bd-8c1513a25417"
  },
  "output": {
    "result": "stored",
    "invoice_id": "56b2b291-9ed6-4a8c-be5c-5b0fd344488e",
    "missing_fields": []
  },
  "error": null
}
Worker · step 6Completed
{
  "input": {},
  "output": {
    "rate": null,
    "result": "composed",
    "doc_type": "invoice",
    "direction": "incoming",
    "rate_date": null,
    "entry_date": "2026-02-28",
    "fx_rate_id": null,
    "invoice_id": "56b2b291-9ed6-4a8c-be5c-5b0fd344488e",
    "is_reversal": "false",
    "journal_lines": "[{\"account_id\":\"6d27ad31-7115-4df7-8d27-673c14d37947\",\"line_seq\":1,\"debit\":412.80,\"currency\":\"MYR\",\"base_amount\":412.80,\"description\":\"Utility charges - TNB electricity (Energy Charge, Capacity Charge, Network Charge, Retail Charge, Renewable Energy Fund, SST)\"},{\"account_id\":\"de365012-142e-4802-a95a-b1f61a717d15\",\"line_seq\":2,\"credit\":412.80,\"currency\":\"MYR\",\"base_amount\":412.80,\"description\":\"AP control - TENAGA NASIONAL BERHAD\"}]",
    "missing_fields": [],
    "needs_manual_fx": "false",
    "source_currency": null,
    "journal_reference": "TNB-20260228-7842156",
    "converted_currency": null,
    "journal_description": "AP Invoice TNB-20260228-7842156 - TENAGA NASIONAL BERHAD - Electricity bill for billing period 01 Feb 2026 - 28 Feb 2026 (Contract Account No. 220041785632)",
    "original_journal_id": null
  },
  "error": null
}
Worker · step 7Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 8Completed
{
  "input": {
    "reference": "TNB-20260228-7842156",
    "entry_date": "2026-02-28",
    "invoice_id": "56b2b291-9ed6-4a8c-be5c-5b0fd344488e",
    "description": "AP Invoice TNB-20260228-7842156 - TENAGA NASIONAL BERHAD - Electricity bill for billing period 01 Feb 2026 - 28 Feb 2026 (Contract Account No. 220041785632)",
    "is_reversal": "false",
    "original_journal_id": null,
    "proposed_journal_lines": "[{\"account_id\":\"6d27ad31-7115-4df7-8d27-673c14d37947\",\"line_seq\":1,\"debit\":412.80,\"currency\":\"MYR\",\"base_amount\":412.80,\"description\":\"Utility charges - TNB electricity (Energy Charge, Capacity Charge, Network Charge, Retail Charge, Renewable Energy Fund, SST)\"},{\"account_id\":\"de365012-142e-4802-a95a-b1f61a717d15\",\"line_seq\":2,\"credit\":412.80,\"currency\":\"MYR\",\"base_amount\":412.80,\"description\":\"AP control - TENAGA NASIONAL BERHAD\"}]"
  },
  "output": {
    "result": "approved",
    "status": "pending_approval",
    "reference": "TNB-20260228-7842156",
    "entry_date": "2026-02-28",
    "description": "AP Invoice TNB-20260228-7842156 - TENAGA NASIONAL BERHAD - Electricity bill for billing period 01 Feb 2026 - 28 Feb 2026 (Contract Account No. 220041785632)",
    "source_type": "invoice",
    "missing_fields": [],
    "source_invoice_id": "56b2b291-9ed6-4a8c-be5c-5b0fd344488e",
    "source_bank_txn_id": null,
    "reversal_of_journal_id": null
  },
  "error": null
}
Worker · step 9Completed
{
  "input": {
    "status": "pending_approval",
    "reference": "TNB-20260228-7842156",
    "entry_date": "2026-02-28",
    "description": "AP Invoice TNB-20260228-7842156 - TENAGA NASIONAL BERHAD - Electricity bill for billing period 01 Feb 2026 - 28 Feb 2026 (Contract Account No. 220041785632)",
    "source_type": "invoice",
    "source_invoice_id": "56b2b291-9ed6-4a8c-be5c-5b0fd344488e",
    "source_bank_txn_id": null,
    "reversal_of_journal_id": null
  },
  "output": {
    "result": "created",
    "journal_id": "ac46464d-9990-4b88-9095-a4131a81a147",
    "missing_fields": []
  },
  "error": null
}
Worker · step 9Idle
{
  "input": {},
  "output": {},
  "error": null
}
Worker · step 10Completed
{
  "input": {
    "lines": "[{\"account_id\":\"6d27ad31-7115-4df7-8d27-673c14d37947\",\"line_seq\":1,\"debit\":412.80,\"currency\":\"MYR\",\"base_amount\":412.80,\"description\":\"Utility charges - TNB electricity (Energy Charge, Capacity Charge, Network Charge, Retail Charge, Renewable Energy Fund, SST)\"},{\"account_id\":\"de365012-142e-4802-a95a-b1f61a717d15\",\"line_seq\":2,\"credit\":412.80,\"currency\":\"MYR\",\"base_amount\":412.80,\"description\":\"AP control - TENAGA NASIONAL BERHAD\"}]",
    "journal_id": "ac46464d-9990-4b88-9095-a4131a81a147"
  },
  "output": {
    "result": "created"
  },
  "error": null
}
Worker · step 11Completed
{
  "input": {
    "invoice_id": "56b2b291-9ed6-4a8c-be5c-5b0fd344488e",
    "journal_id": "ac46464d-9990-4b88-9095-a4131a81a147"
  },
  "output": {
    "result": "posted"
  },
  "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.