{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Map supplied receipt text to a defined internal expense category without extracting amounts or deciding tax treatment.",
  "question": "Classify the supplied receipt by its stated purchased items and business purpose: Software for hosted software services or software subscriptions; Travel for transport or accommodation; Office for physical office supplies; Meals for food or drinks. Use Review for missing purpose, mixed categories, or a purchase outside this taxonomy. Never infer a category solely from the merchant name.",
  "choices": [
    "Software",
    "Travel",
    "Office",
    "Meals",
    "Review"
  ],
  "actions": {
    "Software": {
      "action": "preview_jev_receipt_expense_category",
      "payload": {
        "decision": "Software"
      },
      "pending": true
    },
    "Travel": {
      "action": "preview_jev_receipt_expense_category",
      "payload": {
        "decision": "Travel"
      },
      "pending": true
    },
    "Office": {
      "action": "preview_jev_receipt_expense_category",
      "payload": {
        "decision": "Office"
      },
      "pending": true
    },
    "Meals": {
      "action": "preview_jev_receipt_expense_category",
      "payload": {
        "decision": "Meals"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_receipt_expense_category",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Hosted database",
      "expected": "Software",
      "request": {
        "context": "{\n  \"task\": \"Map supplied receipt text to a defined internal expense category without extracting amounts or deciding tax treatment.\",\n  \"evidence\": {\n    \"merchant\": \"CloudHost\",\n    \"items\": \"Monthly hosted database plan\",\n    \"purpose\": \"Application database subscription\",\n    \"amount\": \"120.00 USD\"\n  }\n}",
        "question": "Classify the supplied receipt by its stated purchased items and business purpose: Software for hosted software services or software subscriptions; Travel for transport or accommodation; Office for physical office supplies; Meals for food or drinks. Use Review for missing purpose, mixed categories, or a purchase outside this taxonomy. Never infer a category solely from the merchant name.",
        "choices": [
          "Software",
          "Travel",
          "Office",
          "Meals",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Train to meeting",
      "expected": "Travel",
      "request": {
        "context": "{\n  \"task\": \"Map supplied receipt text to a defined internal expense category without extracting amounts or deciding tax treatment.\",\n  \"evidence\": {\n    \"merchant\": \"Metro Rail\",\n    \"items\": \"Return train ticket\",\n    \"purpose\": \"Travel to a client workshop\",\n    \"amount\": \"48.00 USD\"\n  }\n}",
        "question": "Classify the supplied receipt by its stated purchased items and business purpose: Software for hosted software services or software subscriptions; Travel for transport or accommodation; Office for physical office supplies; Meals for food or drinks. Use Review for missing purpose, mixed categories, or a purchase outside this taxonomy. Never infer a category solely from the merchant name.",
        "choices": [
          "Software",
          "Travel",
          "Office",
          "Meals",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Printer paper",
      "expected": "Office",
      "request": {
        "context": "{\n  \"task\": \"Map supplied receipt text to a defined internal expense category without extracting amounts or deciding tax treatment.\",\n  \"evidence\": {\n    \"merchant\": \"Marketbox\",\n    \"items\": \"Two boxes of printer paper\",\n    \"purpose\": \"Office printing\",\n    \"amount\": \"26.00 USD\"\n  }\n}",
        "question": "Classify the supplied receipt by its stated purchased items and business purpose: Software for hosted software services or software subscriptions; Travel for transport or accommodation; Office for physical office supplies; Meals for food or drinks. Use Review for missing purpose, mixed categories, or a purchase outside this taxonomy. Never infer a category solely from the merchant name.",
        "choices": [
          "Software",
          "Travel",
          "Office",
          "Meals",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Team lunch",
      "expected": "Meals",
      "request": {
        "context": "{\n  \"task\": \"Map supplied receipt text to a defined internal expense category without extracting amounts or deciding tax treatment.\",\n  \"evidence\": {\n    \"merchant\": \"Harbor Cafe\",\n    \"items\": \"Lunch for project planning meeting\",\n    \"purpose\": \"Team lunch\",\n    \"amount\": \"92.00 USD\"\n  }\n}",
        "question": "Classify the supplied receipt by its stated purchased items and business purpose: Software for hosted software services or software subscriptions; Travel for transport or accommodation; Office for physical office supplies; Meals for food or drinks. Use Review for missing purpose, mixed categories, or a purchase outside this taxonomy. Never infer a category solely from the merchant name.",
        "choices": [
          "Software",
          "Travel",
          "Office",
          "Meals",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Unknown order",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Map supplied receipt text to a defined internal expense category without extracting amounts or deciding tax treatment.\",\n  \"evidence\": {\n    \"merchant\": \"Marketbox\",\n    \"items\": null,\n    \"purpose\": null,\n    \"amount\": \"312.08 USD\"\n  }\n}",
        "question": "Classify the supplied receipt by its stated purchased items and business purpose: Software for hosted software services or software subscriptions; Travel for transport or accommodation; Office for physical office supplies; Meals for food or drinks. Use Review for missing purpose, mixed categories, or a purchase outside this taxonomy. Never infer a category solely from the merchant name.",
        "choices": [
          "Software",
          "Travel",
          "Office",
          "Meals",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Mixed receipt",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Map supplied receipt text to a defined internal expense category without extracting amounts or deciding tax treatment.\",\n  \"evidence\": {\n    \"merchant\": \"Office Corner\",\n    \"items\": \"Printer paper and staff snacks\",\n    \"purpose\": \"Restock office\",\n    \"amount\": \"64.00 USD\"\n  }\n}",
        "question": "Classify the supplied receipt by its stated purchased items and business purpose: Software for hosted software services or software subscriptions; Travel for transport or accommodation; Office for physical office supplies; Meals for food or drinks. Use Review for missing purpose, mixed categories, or a purchase outside this taxonomy. Never infer a category solely from the merchant name.",
        "choices": [
          "Software",
          "Travel",
          "Office",
          "Meals",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
