{
  "name": "Employee expense report intake",
  "description": "Extract employee name, report reference, period start from expense report. Start with an editable schema, inspect JSON and review exceptions before your system handoff.",
  "prompt_additions": "Extract only information explicitly present in this document. Do not infer missing values, verify authenticity, make business decisions, or compare other documents. Preserve identifiers as strings. Return amounts as numbers and dates as YYYY-MM-DD. Review and set required fields for your process before using this schema in production.",
  "fields": [
    {
      "key": "employee_name",
      "label": "Employee Name",
      "type": "string",
      "required": false,
      "description": "Employee name exactly as printed in this expense report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "report_reference",
      "label": "Report Reference",
      "type": "string",
      "required": false,
      "description": "Report reference exactly as printed in this expense report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "period_start",
      "label": "Period Start",
      "type": "date",
      "required": false,
      "description": "Opening date printed for the reporting period, separate from the issue date."
    },
    {
      "key": "period_end",
      "label": "Period End",
      "type": "date",
      "required": false,
      "description": "Closing date printed for the reporting period, separate from payment or posting dates."
    },
    {
      "key": "cost_center",
      "label": "Cost Center",
      "type": "string",
      "required": false,
      "description": "Cost center exactly as printed in this expense report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "expense_rows",
      "label": "Expense Rows",
      "type": "array",
      "required": false,
      "description": "Every visible expense rows row in this expense report. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "expense_date",
            "label": "Expense Date",
            "type": "date",
            "required": false,
            "description": "Expense date explicitly printed in this expense report. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          },
          {
            "key": "category",
            "label": "Category",
            "type": "string",
            "required": false,
            "description": "Category exactly as printed in this expense report. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "description",
            "label": "Description",
            "type": "string",
            "required": false,
            "description": "Description exactly as printed in this expense report. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "amount",
            "label": "Amount",
            "type": "currency",
            "required": false,
            "description": "Amount explicitly labeled in this expense report. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "personal_portion",
            "label": "Personal Portion",
            "type": "currency",
            "required": false,
            "description": "Personal amount explicitly identified in the expense row, kept separate from reimbursement."
          },
          {
            "key": "reimbursable_amount",
            "label": "Reimbursable Amount",
            "type": "currency",
            "required": false,
            "description": "Amount labeled reimbursable in the submitted report. Policy approval remains external."
          }
        ]
      }
    },
    {
      "key": "requested_reimbursement",
      "label": "Requested Reimbursement",
      "type": "currency",
      "required": false,
      "description": "Requested reimbursement explicitly labeled in this expense report. Preserve its sign and stated currency; do not calculate a missing amount."
    }
  ]
}