{
  "name": "Commission statement payout preparation",
  "description": "Extract payee name, statement period, commission rows from commission statement. 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": "payee_name",
      "label": "Payee Name",
      "type": "string",
      "required": false,
      "description": "Payee name exactly as printed in this commission statement. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "statement_period",
      "label": "Statement Period",
      "type": "string",
      "required": false,
      "description": "Statement period exactly as printed in this commission statement. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "commission_rows",
      "label": "Commission Rows",
      "type": "array",
      "required": false,
      "description": "Every visible commission rows row in this commission statement. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "deal_reference",
            "label": "Deal Reference",
            "type": "string",
            "required": false,
            "description": "Deal reference exactly as printed in this commission statement. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "transaction_type",
            "label": "Transaction Type",
            "type": "string",
            "required": false,
            "description": "Transaction type exactly as printed in this commission statement. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "commission_basis",
            "label": "Commission Basis",
            "type": "currency",
            "required": false,
            "description": "Commission basis explicitly labeled in this commission statement. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "commission_amount",
            "label": "Commission Amount",
            "type": "currency",
            "required": false,
            "description": "Commission amount explicitly labeled in this commission statement. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "adjustment_amount",
            "label": "Adjustment Amount",
            "type": "currency",
            "required": false,
            "description": "Adjustment amount explicitly labeled in this commission statement. Preserve its sign and stated currency; do not calculate a missing amount."
          }
        ]
      }
    },
    {
      "key": "gross_commission",
      "label": "Gross Commission",
      "type": "currency",
      "required": false,
      "description": "Gross commission explicitly labeled in this commission statement. Preserve its sign and stated currency; do not calculate a missing amount."
    },
    {
      "key": "adjustments",
      "label": "Adjustments",
      "type": "currency",
      "required": false,
      "description": "Adjustments explicitly labeled in this commission statement. Preserve its sign and stated currency; do not calculate a missing amount."
    },
    {
      "key": "stated_net_commission",
      "label": "Stated Net Commission",
      "type": "currency",
      "required": false,
      "description": "Stated net commission explicitly labeled in this commission statement. Preserve its sign and stated currency; do not calculate a missing amount."
    }
  ]
}