Skip to Main Content
Trade DocumentComing Soon

From messy commercial documents to structured business data.

Invoices and receipts often arrive as inconsistent commercial documents. Trade Document turns supported invoice and receipt URLs into structured business data for downstream workflows.

Product availability

Coming Soon

This API is part of The Wo product system but is not currently available for use.

Transformation

From input to structured output.

Input

Invoice / receipt

The Wo

Extract · normalize · structure

Output

Structured business data

Use cases

Common use cases

  • Invoice extraction

    Turn invoice content into normalized business fields for downstream workflows.

  • Receipt processing

    Structure receipt information for bookkeeping or operational ingestion.

  • Missing-field review

    Surface information that could not be confidently extracted for review.

  • Commercial-document ingestion

    Convert supported document content into a predictable structured representation.

API preview

A representative request and response

POST /v1/documents/extract

Request
{
  "documentUrl": "https://example.com/documents/sample-invoice.pdf",
  "expectedType": "invoice",
  "language": "en"
}
Response
{
  "id": "trade_document_example_01",
  "status": "completed",
  "documentType": "invoice",
  "extracted": {
    "documentNumber": "INV-2026-104",
    "issuedAt": "2026-10-19",
    "supplier": {
      "name": "Example Paper Goods",
      "taxIdentifier": "SUP-104"
    },
    "buyer": {
      "name": "Northstar Workshop",
      "taxIdentifier": "BUY-104"
    },
    "subtotal": {
      "minorUnits": 2000,
      "currency": "USD"
    },
    "tax": {
      "minorUnits": 0,
      "currency": "USD"
    },
    "total": {
      "minorUnits": 2000,
      "currency": "USD"
    },
    "items": [
      {
        "description": "Workshop materials",
        "quantity": 2,
        "unitPrice": {
          "minorUnits": 1000,
          "currency": "USD"
        },
        "lineTotal": {
          "minorUnits": 2000,
          "currency": "USD"
        }
      }
    ]
  },
  "missingFields": [],
  "riskFlags": [],
  "confidence": 0.93,
  "usage": {
    "operation": "document_extraction",
    "units": 1
  },
  "createdAt": "2026-10-20T12:00:00.000Z"
}

Technical highlights

Built for clear API workflows

  • API-key authentication
  • ProductEntitlement enforcement
  • Optional Idempotency-Key for safe retries
  • Commercial quota enforcement
  • Technical rate limiting
  • Secure retrieval from a remote document URL
  • Synchronous normalized extraction result
  • One successful extraction consumes one document_extraction unit

Limitations

What to know before integrating

  • The initial scope supports invoices and receipts only; purchase orders and contracts are not supported.
  • Documents are retrieved from a remote URL; direct file upload is not supported.
  • Trade Document is not a general-purpose OCR service.
  • Extraction does not certify document authenticity or determine fraud.
  • The result does not provide legal, tax, regulatory, or compliance conclusions.
  • Confidence describes extraction confidence only; it does not establish factual correctness.

Documentation

Explore The Wo documentation

Browse The Wo documentation for platform guidance and current product information.