{
  "name": "Invoice and PO matching preparation",
  "description": "Extract invoice references and line amounts for your PO matching logic. Prepare comparable data while your system owns tolerances and exceptions.",
  "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": "Invoice supplier for your vendor lookup."
    },
    {
      "key": "invoice_number",
      "label": "Invoice Number",
      "type": "string",
      "required": false,
      "description": "Reference used to identify this invoice."
    },
    {
      "key": "purchase_order_number",
      "label": "Purchase Order Number",
      "type": "string",
      "required": false,
      "description": "PO reference printed on the invoice."
    },
    {
      "key": "currency_code",
      "label": "Currency Code",
      "type": "string",
      "required": false,
      "description": "Explicit currency for comparison with purchasing records."
    },
    {
      "key": "line_items",
      "label": "Line Items",
      "type": "array",
      "required": false,
      "description": "Item reference, description, quantity, unit, unit price and line amount."
    },
    {
      "key": "shipping_amount",
      "label": "Shipping Amount",
      "type": "currency",
      "required": false,
      "description": "Separately printed freight or delivery charge."
    },
    {
      "key": "invoice_total",
      "label": "Invoice Total",
      "type": "currency",
      "required": false,
      "description": "Printed total, including charges shown on the document."
    }
  ]
}