{
  "name": "Freight carrier settlement intake",
  "description": "Extract carrier name, settlement reference, settlement period from carrier settlement sheet. 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": "carrier_name",
      "label": "Carrier Name",
      "type": "string",
      "required": false,
      "description": "Carrier name exactly as printed in this carrier settlement sheet. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "settlement_reference",
      "label": "Settlement Reference",
      "type": "string",
      "required": false,
      "description": "Settlement reference exactly as printed in this carrier settlement sheet. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "settlement_period",
      "label": "Settlement Period",
      "type": "string",
      "required": false,
      "description": "Settlement period exactly as printed in this carrier settlement sheet. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "load_payment_rows",
      "label": "Load Payment Rows",
      "type": "array",
      "required": false,
      "description": "Every visible load payment rows row in this carrier settlement sheet. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "load_reference",
            "label": "Load Reference",
            "type": "string",
            "required": false,
            "description": "Load reference exactly as printed in this carrier settlement sheet. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "delivery_date",
            "label": "Delivery Date",
            "type": "date",
            "required": false,
            "description": "Delivery date explicitly printed in this carrier settlement sheet. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          },
          {
            "key": "gross_pay",
            "label": "Gross Pay",
            "type": "currency",
            "required": false,
            "description": "Gross pay explicitly labeled in this carrier settlement sheet. 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 carrier settlement sheet. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "stated_net_pay",
            "label": "Stated Net Pay",
            "type": "currency",
            "required": false,
            "description": "Stated net pay explicitly labeled in this carrier settlement sheet. Preserve its sign and stated currency; do not calculate a missing amount."
          }
        ]
      }
    },
    {
      "key": "gross_pay",
      "label": "Gross Pay",
      "type": "currency",
      "required": false,
      "description": "Gross pay explicitly labeled in this carrier settlement sheet. Preserve its sign and stated currency; do not calculate a missing amount."
    },
    {
      "key": "deduction_rows",
      "label": "Deduction Rows",
      "type": "array",
      "required": false,
      "description": "Every visible deduction rows row in this carrier settlement sheet. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "reference",
            "label": "Reference",
            "type": "string",
            "required": false,
            "description": "Reference exactly as printed in this carrier settlement sheet. 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 carrier settlement sheet. 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 carrier settlement sheet. Preserve its sign and stated currency; do not calculate a missing amount."
          }
        ]
      }
    },
    {
      "key": "stated_net_pay",
      "label": "Stated Net Pay",
      "type": "currency",
      "required": false,
      "description": "Stated net pay explicitly labeled in this carrier settlement sheet. Preserve its sign and stated currency; do not calculate a missing amount."
    }
  ]
}