This platform is under active development — not intended for public use.

API Tools

5 APIs. Plug Into
Any Stack.

Use them inside Clendan or call them directly. JSON in, JSON out.

POST /v1/parse/invoice

Invoice Parser API

Extracts vendor, amount, line items, due date, and VAT from any invoice format — PDF, image, or structured data.

  • Automated invoice ingestion
  • AP workflow automation
  • ERP data entry elimination

Request

curl -X POST https://api.clendan.com/v1/parse/invoice \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"file_url": "https://storage.example.com/inv-4821.pdf"}'

Response

{
  "data": {
    "vendor": "Acme Corp Ltd",
    "amount_pence": 38000,
    "currency": "GBP",
    "due_date": "2026-07-01",
    "vat_pence": 6333,
    "line_items": [
      { "desc": "Consulting services", "qty": 1, "unit_pence": 38000 }
    ]
  },
  "trace_id": "cln_tr_8f4d2a",
  "timestamp": "2026-06-05T09:14:32Z"
}
POST /v1/parse/receipt

Receipt OCR + Policy Check

Extracts merchant, amount, category, and date from any receipt image, then validates the spend against your configured expense policy.

  • Expense claim automation
  • Policy violation detection
  • Receipt data extraction at scale

Request

curl -X POST https://api.clendan.com/v1/parse/receipt \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"image_url": "https://...", "policy_id": "pol_abc"}'

Response

{
  "data": {
    "merchant": "Costa Coffee",
    "amount_pence": 485,
    "category": "meals_and_entertainment",
    "policy_result": "approved",
    "confidence": 0.98
  },
  "trace_id": "cln_tr_9a1b3c",
  "timestamp": "2026-06-05T09:14:33Z"
}
POST /v1/reconcile

Document Reconciliation

Matches two financial datasets — bank transactions vs ledger entries, invoices vs payments — and returns matched, unmatched, and flagged rows.

  • Month-end close automation
  • Bank statement reconciliation
  • AP/AR mismatch detection

Request

curl -X POST https://api.clendan.com/v1/reconcile \
  -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: idem_xyz" \
  -d '{"source_a_id": "bank_stmt_jun", "source_b_id": "ledger_jun"}'

Response

{
  "data": {
    "matched": 142,
    "unmatched": 3,
    "flagged": 1,
    "flagged_rows": [
      { "id": "tx_44f1", "reason": "amount_mismatch", "delta_pence": -200 }
    ]
  },
  "trace_id": "cln_tr_2c8e5d",
  "timestamp": "2026-06-05T09:14:34Z"
}
POST /v1/fraud/score

Fraud Signal API

Returns a risk score between 0 and 1 with structured reasoning for any transaction. Integrates into your approval flow or triggers automatic blocks.

  • Real-time payment fraud screening
  • Anomaly detection in expense claims
  • Pre-authorisation risk scoring

Request

curl -X POST https://api.clendan.com/v1/fraud/score \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"transaction_id": "tx_44f1", "amount_pence": 95000, "vendor": "Unknown Ltd"}'

Response

{
  "data": {
    "score": 0.87,
    "verdict": "high_risk",
    "signals": [
      "first_transaction_with_vendor",
      "amount_3x_above_average",
      "unusual_hour"
    ],
    // Full reasoning trace available at data.reasoning
    "reasoning": "Transaction deviates from 90-day baseline..."
  },
  "trace_id": "cln_tr_7d3f1b",
  "timestamp": "2026-06-05T09:14:35Z"
}
POST /v1/parse/contract

Contract Extraction

Extracts counterparty, payment terms, renewal dates, and key obligations from any contract PDF. Structured output ready for your workflow.

  • Contract management automation
  • Renewal date alerting
  • Payment terms extraction for AP

Request

curl -X POST https://api.clendan.com/v1/parse/contract \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"file_url": "https://storage.example.com/contract-2026.pdf"}'

Response

{
  "data": {
    "counterparty": "Globex Corporation",
    "payment_terms": "Net 30",
    "renewal_date": "2027-01-15",
    "auto_renews": true,
    "obligations": [
      "Monthly SLA report by 5th of month",
      "90-day termination notice required"
    ]
  },
  "trace_id": "cln_tr_1a5e9c",
  "timestamp": "2026-06-05T09:14:36Z"
}

Pricing

Standalone API access included in Growth and Enterprise plans.

View Pricing →

Start building with Clendan APIs

Full API docs, rate limits, and sandbox credentials in the developer portal.