{
  "document": {
    "type": "invoice",
    "subtype": null,
    "language": "en",
    "source_format": "pdf_text",
    "page_count": 1,
    "confidence": 0.9
  },
  "seller": {
    "name": "Riverbank Studio LLC",
    "address": null,
    "email": "billing@riverbankstudio.example",
    "tax_id": "87-1234567",
    "tax_id_type": "EIN",
    "confidence": 0.9
  },
  "buyer": {
    "name": "Northwood Coffee Co",
    "address": "1100 Summer St, Seattle, WA 98101, Payment Terms: Net 15",
    "contact": null,
    "confidence": 0.9
  },
  "invoice": {
    "number": "INV-2026-0042",
    "issue_date": "2026-04-26",
    "due_date": "2026-05-11",
    "supply_date": null,
    "po_number": "4421",
    "currency": "USD",
    "payment_terms": "Net 15",
    "confidence": 0.95
  },
  "line_items": [
    {
      "description": "Brand identity design \u2014 discovery, moodboards, three concept rounds, refinement",
      "quantity": 40.0,
      "unit": "hrs",
      "unit_price_minor": 8500,
      "amount_minor": 340000,
      "tax_rate": null,
      "period_start": null,
      "period_end": null,
      "confidence": 0.9
    },
    {
      "description": "Website homepage design",
      "quantity": 1.0,
      "unit": "flat",
      "unit_price_minor": 65000,
      "amount_minor": 65000,
      "tax_rate": null,
      "period_start": null,
      "period_end": null,
      "confidence": 0.9
    }
  ],
  "totals": {
    "subtotal_minor": 405000,
    "discount_minor": 0,
    "tax": [
      {
        "rate": 0.0,
        "base_minor": null,
        "amount_minor": 0,
        "label": "Sales tax"
      }
    ],
    "total_minor": 405000,
    "amount_paid_minor": 0,
    "balance_due_minor": 405000
  },
  "payment": {
    "method_hint": null,
    "bank_account_last4": null,
    "notes": null
  },
  "checks": {
    "arithmetic": "pass",
    "line_sum_matches_subtotal": true,
    "tax_matches_rate": null,
    "total_matches_subtotal_plus_tax_minus_discount": true,
    "currency_consistent": true,
    "dates_sane": true
  },
  "flags": [],
  "evidence": {
    "invoice_number": {
      "page": 1,
      "text": "        Invoice # INV-2026-0042"
    },
    "issue_date": {
      "page": 1,
      "text": "        Invoice Date: April 26, 2026"
    },
    "due_date": {
      "page": 1,
      "text": "        Due Date: May 11, 2026"
    },
    "po_number": {
      "page": 1,
      "text": "        PO Number: 4421"
    },
    "payment_terms": {
      "page": 1,
      "text": "        Payment Terms: Net 15"
    },
    "currency": {
      "page": 1,
      "text": "currency symbols in document"
    },
    "seller_name": {
      "page": 1,
      "text": "Riverbank Studio LLC"
    },
    "seller_tax_id": {
      "page": 1,
      "text": "87-1234567"
    },
    "seller_tax_id_type": {
      "page": 1,
      "text": "87-1234567"
    },
    "seller_email": {
      "page": 1,
      "text": "billing@riverbankstudio.example"
    },
    "buyer_name": {
      "page": 1,
      "text": "Bill To: Northwood Coffee Co"
    },
    "buyer_address": {
      "page": 1,
      "text": "1100 Summer St, Seattle, WA 98101, Payment Terms: Net 15"
    },
    "subtotal": {
      "page": 1,
      "text": "Subtotal $4,050.00"
    },
    "total": {
      "page": 1,
      "text": "Total due $4,050.00"
    },
    "balance_due": {
      "page": 1,
      "text": "Balance due $4,050.00"
    }
  },
  "review_required": false,
  "review_reasons": []
}
