{
  "model": "Qwen3-VL-2B-Instruct",
  "temperature": 0,
  "seed": 42,
  "max_tokens": 160,
  "stream": false,
  "cache_prompt": false,
  "response_format": {
    "type": "json_schema",
    "json_schema": {
      "name": "receipt",
      "strict": true,
      "schema": {
        "type": "object",
        "properties": {
          "total_due": {
            "type": [
              "integer",
              "null"
            ]
          },
          "cash_tendered": {
            "type": [
              "integer",
              "null"
            ]
          },
          "change": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "total_due",
          "cash_tendered",
          "change"
        ],
        "additionalProperties": false
      }
    }
  },
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "Read this Indonesian receipt. Return three amounts in whole rupiah: total_due (final purchase total after discounts), cash_tendered (cash the customer handed over), and change (cash returned). Use an integer for a printed amount. Use null for a missing or unreadable field. Do not invent a zero or infer an unprinted amount. A card payment is not cash. Return only the JSON object.\nBefore returning any integer, locate that exact amount in the OCR transcript. If you cannot find it, return null. Do not complete a plausible cash transaction from arithmetic.\n\nOCR transcript:\n2F\nco\nOS71-1854 RL US WAIT\n1002-g08g SHOPPING\ni ane *\nCC. Viss\n"
        }
      ]
    }
  ]
}