{
  "id": "invoice_header_reference",
  "name": "Invoice header reference",
  "description": "Reference for manual entry in Schemas. The current UI does not import JSON templates.",
  "fields": [
    {
      "id": "reference_1",
      "name": "Vendor",
      "type": "string",
      "description": "Business issuing the invoice; do not use the customer name."
    },
    {
      "id": "reference_2",
      "name": "Invoice number",
      "type": "string",
      "description": "Supplier invoice identifier, preserving prefixes and leading zeros."
    },
    {
      "id": "reference_3",
      "name": "Invoice date",
      "type": "date",
      "description": "Printed issue date; not the due date. Preserve ambiguous dates for review."
    },
    {
      "id": "reference_4",
      "name": "Currency",
      "type": "string",
      "description": "Explicit currency code or symbol as printed; do not infer from address alone."
    },
    {
      "id": "reference_5",
      "name": "Subtotal",
      "type": "currency",
      "description": "Printed subtotal before tax; do not calculate a missing value."
    },
    {
      "id": "reference_6",
      "name": "Tax amount",
      "type": "currency",
      "description": "Printed total tax amount; not a percentage."
    },
    {
      "id": "reference_7",
      "name": "Total",
      "type": "currency",
      "description": "Printed invoice total including tax; not the remaining balance."
    }
  ]
}
