{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Classify readable financial-document text for an intake queue, without evaluating the person or organization.",
  "question": "Identify the document purpose: Bank for a deposit-account statement with balances and transactions; Card for a credit-card statement with a card balance and payment terms; Paystub for employee earnings and deductions for a pay period; Financials for a company balance sheet, income statement or cash-flow statement. Use Other when outside these types or insufficient. Do not rely on the filename alone.",
  "choices": [
    "Bank",
    "Card",
    "Paystub",
    "Financials",
    "Other"
  ],
  "actions": {
    "Bank": {
      "action": "preview_jev_financial_document_kind",
      "payload": {
        "decision": "Bank"
      },
      "pending": true
    },
    "Card": {
      "action": "preview_jev_financial_document_kind",
      "payload": {
        "decision": "Card"
      },
      "pending": true
    },
    "Paystub": {
      "action": "preview_jev_financial_document_kind",
      "payload": {
        "decision": "Paystub"
      },
      "pending": true
    },
    "Financials": {
      "action": "preview_jev_financial_document_kind",
      "payload": {
        "decision": "Financials"
      },
      "pending": true
    },
    "Other": {
      "action": "preview_jev_financial_document_kind",
      "payload": {
        "decision": "Other"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Deposit transactions",
      "expected": "Bank",
      "request": {
        "context": "{\n  \"task\": \"Classify readable financial-document text for an intake queue, without evaluating the person or organization.\",\n  \"evidence\": {\n    \"text\": \"Current account statement. Opening balance, deposits, withdrawals and closing balance for the month.\"\n  }\n}",
        "question": "Identify the document purpose: Bank for a deposit-account statement with balances and transactions; Card for a credit-card statement with a card balance and payment terms; Paystub for employee earnings and deductions for a pay period; Financials for a company balance sheet, income statement or cash-flow statement. Use Other when outside these types or insufficient. Do not rely on the filename alone.",
        "choices": [
          "Bank",
          "Card",
          "Paystub",
          "Financials",
          "Other"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Card payment terms",
      "expected": "Card",
      "request": {
        "context": "{\n  \"task\": \"Classify readable financial-document text for an intake queue, without evaluating the person or organization.\",\n  \"evidence\": {\n    \"text\": \"Card statement. Statement balance, credit limit, minimum payment and payment due date.\"\n  }\n}",
        "question": "Identify the document purpose: Bank for a deposit-account statement with balances and transactions; Card for a credit-card statement with a card balance and payment terms; Paystub for employee earnings and deductions for a pay period; Financials for a company balance sheet, income statement or cash-flow statement. Use Other when outside these types or insufficient. Do not rely on the filename alone.",
        "choices": [
          "Bank",
          "Card",
          "Paystub",
          "Financials",
          "Other"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Payroll record",
      "expected": "Paystub",
      "request": {
        "context": "{\n  \"task\": \"Classify readable financial-document text for an intake queue, without evaluating the person or organization.\",\n  \"evidence\": {\n    \"text\": \"Employee pay statement. Pay period, gross wages, payroll deductions and net pay.\"\n  }\n}",
        "question": "Identify the document purpose: Bank for a deposit-account statement with balances and transactions; Card for a credit-card statement with a card balance and payment terms; Paystub for employee earnings and deductions for a pay period; Financials for a company balance sheet, income statement or cash-flow statement. Use Other when outside these types or insufficient. Do not rely on the filename alone.",
        "choices": [
          "Bank",
          "Card",
          "Paystub",
          "Financials",
          "Other"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Company report",
      "expected": "Financials",
      "request": {
        "context": "{\n  \"task\": \"Classify readable financial-document text for an intake queue, without evaluating the person or organization.\",\n  \"evidence\": {\n    \"text\": \"Company balance sheet. Total assets, liabilities and shareholders’ equity at period end.\"\n  }\n}",
        "question": "Identify the document purpose: Bank for a deposit-account statement with balances and transactions; Card for a credit-card statement with a card balance and payment terms; Paystub for employee earnings and deductions for a pay period; Financials for a company balance sheet, income statement or cash-flow statement. Use Other when outside these types or insufficient. Do not rely on the filename alone.",
        "choices": [
          "Bank",
          "Card",
          "Paystub",
          "Financials",
          "Other"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Invoice instead",
      "expected": "Other",
      "request": {
        "context": "{\n  \"task\": \"Classify readable financial-document text for an intake queue, without evaluating the person or organization.\",\n  \"evidence\": {\n    \"text\": \"Invoice for equipment repair. Amount payable for the listed service.\"\n  }\n}",
        "question": "Identify the document purpose: Bank for a deposit-account statement with balances and transactions; Card for a credit-card statement with a card balance and payment terms; Paystub for employee earnings and deductions for a pay period; Financials for a company balance sheet, income statement or cash-flow statement. Use Other when outside these types or insufficient. Do not rely on the filename alone.",
        "choices": [
          "Bank",
          "Card",
          "Paystub",
          "Financials",
          "Other"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Filename only",
      "expected": "Other",
      "request": {
        "context": "{\n  \"task\": \"Classify readable financial-document text for an intake queue, without evaluating the person or organization.\",\n  \"evidence\": {\n    \"filename\": \"bank-statement.pdf\",\n    \"text\": null\n  }\n}",
        "question": "Identify the document purpose: Bank for a deposit-account statement with balances and transactions; Card for a credit-card statement with a card balance and payment terms; Paystub for employee earnings and deductions for a pay period; Financials for a company balance sheet, income statement or cash-flow statement. Use Other when outside these types or insufficient. Do not rely on the filename alone.",
        "choices": [
          "Bank",
          "Card",
          "Paystub",
          "Financials",
          "Other"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
