{
  "id": "doc_home_itemized",
  "object": "document",
  "document_type": "invoice",
  "schema_version": "invoice.v1",
  "created_at": "2026-08-01T12:00:00.000Z",
  "external_id": null,
  "accounting_entity_id": null,
  "policy": {
    "required_fields": [],
    "line_items": "advisory",
    "checks": {
      "duplicate_detection": true
    }
  },
  "callback": null,
  "metadata": {},
  "status": "completed",
  "completed_at": "2026-08-01T12:00:03.000Z",
  "document": {
    "filename": "synthetic-itemized.pdf",
    "content_type": "application/pdf",
    "page_count": 1
  },
  "data": {
    "vendor": {
      "name": "Example Harbor Supply LLC",
      "tax_id": null,
      "address": null
    },
    "customer": {
      "name": "Sample Automation Studio",
      "tax_id": null,
      "address": null
    },
    "invoice": {
      "number": "SYN-HOME-2001",
      "issue_date": "2026-08-01",
      "due_date": "2026-08-31",
      "purchase_order_number": "PO-EXAMPLE-2048",
      "currency": "USD",
      "payment_terms": "Net 30"
    },
    "line_items": [
      {
        "description": "Synthetic desk organizers",
        "product_code": null,
        "quantity": "2",
        "unit_of_measure": "each",
        "unit_price": {
          "amount": "25.00",
          "currency": "USD"
        },
        "discount": null,
        "tax": null,
        "line_total": {
          "amount": "50.00",
          "currency": "USD"
        }
      },
      {
        "description": "Synthetic archive folders",
        "product_code": null,
        "quantity": "3",
        "unit_of_measure": "pack",
        "unit_price": {
          "amount": "10.00",
          "currency": "USD"
        },
        "discount": null,
        "tax": null,
        "line_total": {
          "amount": "30.00",
          "currency": "USD"
        }
      }
    ],
    "line_items_status": "complete",
    "totals": {
      "subtotal": {
        "amount": "80.00",
        "currency": "USD"
      },
      "discount": null,
      "shipping": null,
      "other_charges": null,
      "tax": {
        "amount": "6.40",
        "currency": "USD"
      },
      "total": {
        "amount": "86.40",
        "currency": "USD"
      },
      "amount_due": {
        "amount": "86.40",
        "currency": "USD"
      }
    },
    "taxes": []
  },
  "validation": {
    "review_required": false,
    "checks": [
      {
        "code": "total_consistency",
        "status": "pass",
        "severity": "info",
        "message": "Subtotal plus tax matches the total; no other invoice adjustments apply in this synthetic example.",
        "paths": [
          "/data/totals/subtotal",
          "/data/totals/tax",
          "/data/totals/total"
        ],
        "details": null
      },
      {
        "code": "line_item_arithmetic",
        "status": "pass",
        "severity": "info",
        "message": "Quantity multiplied by unit price matches the line total.",
        "paths": [
          "/data/line_items/0/quantity",
          "/data/line_items/0/unit_price",
          "/data/line_items/0/line_total"
        ],
        "details": null
      },
      {
        "code": "line_item_arithmetic",
        "status": "pass",
        "severity": "info",
        "message": "Quantity multiplied by unit price matches the line total.",
        "paths": [
          "/data/line_items/1/quantity",
          "/data/line_items/1/unit_price",
          "/data/line_items/1/line_total"
        ],
        "details": null
      }
    ]
  },
  "processing": {
    "pipeline_version": "homepage-synthetic.v1",
    "duration_ms": 3000,
    "processed_pages": 1,
    "result_expires_at": "2026-08-08T12:00:03.000Z"
  }
}
