{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Select the known supplier that issued an invoice using the provided seller evidence and candidate list.",
  "question": "Select supplier A, B or C only when invoice seller evidence matches that supplied supplier, including explicitly documented aliases. Ignore bill-to customer names. Choose None if a clearly identified issuer is outside the list. Choose Unclear if seller evidence is missing or conflicting. Do not invent aliases, verify payment details or create supplier records.",
  "choices": [
    "A",
    "B",
    "C",
    "None",
    "Unclear"
  ],
  "actions": {
    "A": {
      "action": "preview_jev_invoice_issuer_match",
      "payload": {
        "decision": "A"
      },
      "pending": true
    },
    "B": {
      "action": "preview_jev_invoice_issuer_match",
      "payload": {
        "decision": "B"
      },
      "pending": true
    },
    "C": {
      "action": "preview_jev_invoice_issuer_match",
      "payload": {
        "decision": "C"
      },
      "pending": true
    },
    "None": {
      "action": "preview_jev_invoice_issuer_match",
      "payload": {
        "decision": "None"
      },
      "pending": true
    },
    "Unclear": {
      "action": "preview_jev_invoice_issuer_match",
      "payload": {
        "decision": "Unclear"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Seller versus customer",
      "expected": "A",
      "request": {
        "context": "{\n  \"task\": \"Select the known supplier that issued an invoice using the provided seller evidence and candidate list.\",\n  \"evidence\": {\n    \"suppliers\": {\n      \"A\": \"Alder Tools\",\n      \"B\": \"Birch Studio\",\n      \"C\": \"Cedar Hosting\"\n    },\n    \"invoice\": \"Issued by Alder Tools. Bill to Birch Studio.\"\n  }\n}",
        "question": "Select supplier A, B or C only when invoice seller evidence matches that supplied supplier, including explicitly documented aliases. Ignore bill-to customer names. Choose None if a clearly identified issuer is outside the list. Choose Unclear if seller evidence is missing or conflicting. Do not invent aliases, verify payment details or create supplier records.",
        "choices": [
          "A",
          "B",
          "C",
          "None",
          "Unclear"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Documented trading name",
      "expected": "B",
      "request": {
        "context": "{\n  \"task\": \"Select the known supplier that issued an invoice using the provided seller evidence and candidate list.\",\n  \"evidence\": {\n    \"suppliers\": {\n      \"A\": \"Alder Tools\",\n      \"B\": \"Birch Studio, documented trading name B Studio\",\n      \"C\": \"Cedar Hosting\"\n    },\n    \"invoice\": \"Seller: B Studio. Customer: Harbor Labs.\"\n  }\n}",
        "question": "Select supplier A, B or C only when invoice seller evidence matches that supplied supplier, including explicitly documented aliases. Ignore bill-to customer names. Choose None if a clearly identified issuer is outside the list. Choose Unclear if seller evidence is missing or conflicting. Do not invent aliases, verify payment details or create supplier records.",
        "choices": [
          "A",
          "B",
          "C",
          "None",
          "Unclear"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Hosting invoice",
      "expected": "C",
      "request": {
        "context": "{\n  \"task\": \"Select the known supplier that issued an invoice using the provided seller evidence and candidate list.\",\n  \"evidence\": {\n    \"suppliers\": {\n      \"A\": \"Alder Tools\",\n      \"B\": \"Birch Studio\",\n      \"C\": \"Cedar Hosting\"\n    },\n    \"invoice\": \"From Cedar Hosting, for the listed hosting service. Bill to Alder Tools.\"\n  }\n}",
        "question": "Select supplier A, B or C only when invoice seller evidence matches that supplied supplier, including explicitly documented aliases. Ignore bill-to customer names. Choose None if a clearly identified issuer is outside the list. Choose Unclear if seller evidence is missing or conflicting. Do not invent aliases, verify payment details or create supplier records.",
        "choices": [
          "A",
          "B",
          "C",
          "None",
          "Unclear"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Unknown issuer",
      "expected": "None",
      "request": {
        "context": "{\n  \"task\": \"Select the known supplier that issued an invoice using the provided seller evidence and candidate list.\",\n  \"evidence\": {\n    \"suppliers\": {\n      \"A\": \"Alder Tools\",\n      \"B\": \"Birch Studio\",\n      \"C\": \"Cedar Hosting\"\n    },\n    \"invoice\": \"Seller: Delta Repairs, a separate company not included in the supplied supplier list.\"\n  }\n}",
        "question": "Select supplier A, B or C only when invoice seller evidence matches that supplied supplier, including explicitly documented aliases. Ignore bill-to customer names. Choose None if a clearly identified issuer is outside the list. Choose Unclear if seller evidence is missing or conflicting. Do not invent aliases, verify payment details or create supplier records.",
        "choices": [
          "A",
          "B",
          "C",
          "None",
          "Unclear"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Only bill-to",
      "expected": "Unclear",
      "request": {
        "context": "{\n  \"task\": \"Select the known supplier that issued an invoice using the provided seller evidence and candidate list.\",\n  \"evidence\": {\n    \"suppliers\": {\n      \"A\": \"Alder Tools\",\n      \"B\": \"Birch Studio\",\n      \"C\": \"Cedar Hosting\"\n    },\n    \"invoice\": \"Bill to Alder Tools. The seller section is unreadable.\"\n  }\n}",
        "question": "Select supplier A, B or C only when invoice seller evidence matches that supplied supplier, including explicitly documented aliases. Ignore bill-to customer names. Choose None if a clearly identified issuer is outside the list. Choose Unclear if seller evidence is missing or conflicting. Do not invent aliases, verify payment details or create supplier records.",
        "choices": [
          "A",
          "B",
          "C",
          "None",
          "Unclear"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Contradictory seller",
      "expected": "Unclear",
      "request": {
        "context": "{\n  \"task\": \"Select the known supplier that issued an invoice using the provided seller evidence and candidate list.\",\n  \"evidence\": {\n    \"suppliers\": {\n      \"A\": \"Alder Tools\",\n      \"B\": \"Birch Studio\",\n      \"C\": \"Cedar Hosting\"\n    },\n    \"invoice\": \"Header identifies Alder Tools as issuer; signed seller block identifies Birch Studio. No explanation is provided.\"\n  }\n}",
        "question": "Select supplier A, B or C only when invoice seller evidence matches that supplied supplier, including explicitly documented aliases. Ignore bill-to customer names. Choose None if a clearly identified issuer is outside the list. Choose Unclear if seller evidence is missing or conflicting. Do not invent aliases, verify payment details or create supplier records.",
        "choices": [
          "A",
          "B",
          "C",
          "None",
          "Unclear"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
