{
  "name": "Commercial invoice landed cost inputs",
  "description": "Extract supplier name, buyer name, invoice reference from commercial invoice. 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": "supplier_name",
      "label": "Supplier Name",
      "type": "string",
      "required": false,
      "description": "Supplier name exactly as printed in this commercial invoice. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "buyer_name",
      "label": "Buyer Name",
      "type": "string",
      "required": false,
      "description": "Buyer name exactly as printed in this commercial invoice. 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 commercial invoice. 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 commercial invoice. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "currency_code",
      "label": "Currency Code",
      "type": "string",
      "required": false,
      "description": "Currency explicitly stated in this source; leave empty when it is not stated."
    },
    {
      "key": "incoterm",
      "label": "Incoterm",
      "type": "string",
      "required": false,
      "description": "Incoterm exactly as printed in this commercial invoice. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "item_rows",
      "label": "Item Rows",
      "type": "array",
      "required": false,
      "description": "Every visible item rows row in this commercial invoice. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "item_reference",
            "label": "Item Reference",
            "type": "string",
            "required": false,
            "description": "Item reference exactly as printed in this commercial invoice. 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 commercial invoice. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "quantity",
            "label": "Quantity",
            "type": "number",
            "required": false,
            "description": "Quantity as reported in this commercial invoice. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "unit_of_measure",
            "label": "Unit Of Measure",
            "type": "string",
            "required": false,
            "description": "Printed quantity unit, kept distinct from package type or pricing unit."
          },
          {
            "key": "stated_origin",
            "label": "Stated Origin",
            "type": "string",
            "required": false,
            "description": "Stated origin exactly as printed in this commercial invoice. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "unit_price",
            "label": "Unit Price",
            "type": "currency",
            "required": false,
            "description": "Unit price explicitly labeled in this commercial invoice. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "line_total",
            "label": "Line Total",
            "type": "currency",
            "required": false,
            "description": "Line total explicitly labeled in this commercial invoice. Preserve its sign and stated currency; do not calculate a missing amount."
          }
        ]
      }
    },
    {
      "key": "freight_amount",
      "label": "Freight Amount",
      "type": "currency",
      "required": false,
      "description": "Freight amount explicitly labeled in this commercial invoice. 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 commercial invoice. Preserve its sign and stated currency; do not calculate a missing amount."
    }
  ]
}