{
  "name": "Parcel surcharge invoice review inputs",
  "description": "Extract carrier name, invoice reference, invoice date from parcel bill. 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 parcel bill. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "invoice_reference",
      "label": "Invoice Reference",
      "type": "string",
      "required": false,
      "description": "Invoice reference exactly as printed in this parcel bill. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "invoice_date",
      "label": "Invoice Date",
      "type": "date",
      "required": false,
      "description": "Invoice date explicitly printed in this parcel bill. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "account_reference",
      "label": "Account Reference",
      "type": "string",
      "required": false,
      "description": "Account reference exactly as printed in this parcel bill. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "parcel_charge_rows",
      "label": "Parcel Charge Rows",
      "type": "array",
      "required": false,
      "description": "Every visible parcel charge rows row in this parcel bill. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "tracking_reference",
            "label": "Tracking Reference",
            "type": "string",
            "required": false,
            "description": "Tracking reference exactly as printed in this parcel bill. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "charge_type",
            "label": "Charge Type",
            "type": "string",
            "required": false,
            "description": "Charge type exactly as printed in this parcel bill. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "service_date",
            "label": "Service Date",
            "type": "date",
            "required": false,
            "description": "Service date explicitly printed in this parcel bill. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          },
          {
            "key": "billed_weight",
            "label": "Billed Weight",
            "type": "number",
            "required": false,
            "description": "Billed weight as reported in this parcel bill. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "weight_unit",
            "label": "Weight Unit",
            "type": "string",
            "required": false,
            "description": "Unit printed beside the weight, kept separate from the numerical weight."
          },
          {
            "key": "amount",
            "label": "Amount",
            "type": "currency",
            "required": false,
            "description": "Amount explicitly labeled in this parcel bill. Preserve its sign and stated currency; do not calculate a missing amount."
          }
        ]
      }
    },
    {
      "key": "stated_total",
      "label": "Stated Total",
      "type": "currency",
      "required": false,
      "description": "Stated total explicitly labeled in this parcel bill. Preserve its sign and stated currency; do not calculate a missing amount."
    }
  ]
}