Docs / Tools / statement-reconcile

Statement Reconcile API

Diff two consecutive statement PDFs, or a PDF against an ERP CSV/OFX/QBO/QFX export. Returns matched rows, one-sided exceptions, date gaps, and a balance bridge.

Web UI: Statement reconcile

Authentication

Bearer API key required on every request.

Request

POST https://api.omnicap.app/v1/statement-reconcile

Content-Type: multipart/form-data

  • left (file)

    Earlier statement PDF (or bank PDF in pdf_vs_books). Omit when leftJson is provided.

  • leftJson (string)

    JSON string with transactions (+ balances) from a ready convert job — use instead of left file.

  • right (file, required)

    Later statement PDF, or CSV/OFX/QBO/QFX books export.

  • mode (string)

    consecutive (default) or pdf_vs_books.

  • leftPassword (string)
  • rightPassword (string)

Response

Mode: sync — JSON response body

Headers: X-Page-Count

Examples

curl

curl -X POST "https://api.omnicap.app/v1/statement-reconcile" \
  -H "Authorization: Bearer $OMNICAP_API_KEY" \
  -F "file=@/path/to/document.pdf"

Node.js (fetch)

const form = new FormData();
form.append("file", fileBlob, "document.pdf");

const res = await fetch("https://api.omnicap.app/v1/statement-reconcile", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.OMNICAP_API_KEY}` },
  body: form,
});
const out = await res.arrayBuffer();

Billing

PDF page credits (sum of both PDFs) + 1 credit for an ERP CSV/OFX/QBO/QFX file billable unit(s) per successful call.

Changelog

  • 2026-10-28: Initial public release.