---
sidebar_position: 1
title: AI Contract Ingestion & OCR
description: High-fidelity vision AI and OCR extraction of Master Service Agreements (MSAs), Order Forms, and Statements of Work (SOWs).
keywords:
  - contract ingestion
  - contract OCR
  - AI contract extraction
  - order form extraction
---

# AI Contract Ingestion & OCR

**AI Contract Ingestion & OCR in GAAPx** is the automated document processing engine that extracts structured accounting data, commercial terms, and non-standard clauses from signed contract PDFs. Leveraging proprietary financial vision models and multimodal LLMs, GAAPx eliminates manual contract review and spreadsheet transcription.

:::info SCREENSHOT PLACEHOLDER: AI Contract Extraction Interface
**Location in App**: `App > Contracts > Ingestion > [Contract ID]`  
**Visual Description**: Split-screen view showing original PDF contract on the left with interactive bounding boxes, and extracted structured JSON terms on the right.  
**Recommended Dimensions**: `1200 x 675`  
:::

---

## Ingestion Sources

GAAPx continuously ingests contracts from multiple enterprise channels:

```mermaid
flowchart LR
  A["Salesforce / HubSpot Deals"] --> GAAPx["GAAPx OCR & Vision Engine"]
  B["DocuSign / PandaDoc Webhooks"] --> GAAPx
  C["Box (Box AI) / Google Drive"] --> GAAPx
  D["Direct Email Forwarding<br/>(inbound@ingest.gaapx.ai)"] --> GAAPx
```

* **Cloud Storage Watchers**: Automatic synchronization when new signed PDFs are dropped into monitored **Box** or **Google Drive** folders.
* **E-Signature Webhooks**: Real-time payload delivery upon DocuSign / Adobe Sign completion.
* **Email Ingest**: Forwarding signed PDF attachments directly to your dedicated organization inbox.

---

## Key Extracted Data Fields

| Category | Extracted Fields | Accounting Purpose |
| :--- | :--- | :--- |
| **Header Metadata** | Legal Entity Names, Effective Date, Governing Law | Customer identity & contract boundaries (ASC 606 Step 1) |
| **Line Items** | SKU Name, Quantity, Unit Price, Contract Term | Transaction price determination (ASC 606 Step 3) |
| **Billing Terms** | Invoice Cadence, Net Payment Terms, Milestone Triggers | Billing subledger schedule creation |
| **Non-Standard Terms** | SLA Penalty Clauses, Most Favored Nation (MFN), Termination for Convenience | Variable consideration constraints & risk scoring |
| **Ramp & Discounts** | Multi-year price ramps, free period offsets | Ratable vs. carve-out allocation |

---

## Human-in-the-Loop Verification

Every extracted contract receives a **Confidence Score (0-100%)**:
* **Confidence $\ge 95\%$**: Automatically generates draft billing and revenue schedules.
* **Confidence $< 95\%$**: Flags specific fields for 1-click verification by RevOps or Technical Accounting before activation.
