Thin Dev UI

Receipt Scanner Test Console

This is a practical front door for the current backend and workers. You can upload a file, inspect system state, trigger Xero sync, create publish jobs, and review the stored JSON responses without hopping between raw endpoints.

Session

Paste an API key only if you later enable API_AUTH_TOKEN.

Health
Checking...
Waiting for API
Demo Checklist
-
Waiting for diagnostics

System Snapshot

Live server and environment details.

Waiting...

Workload

Review and publish status summary.

Confidence Drift

Current trend from saved confidence samples.

Waiting...

Document Queue

All uploaded receipts and invoices. Click a row to review it. Items remain here until sent to Xero or deleted.

Drag and drop receipts here
Accepts multiple files — they will be processed one at a time.
No files selected
Idle. Upload receipts to begin.
No documents yet — drop some receipts above to get started.

Archive

Items pushed to Xero. All fields are locked — use Duplicate to send a copy back to Inbox.

No archived items yet.
This item has been sent to Xero. All fields are read-only. Use "Duplicate to Inbox" to create an editable copy.

Document Preview

Upload a file to preview it here.
No document selected yet
Once a file is uploaded, this panel will load the stored source document from the API.

Review Selected Document

Inspect or edit the detected fields below.

Upload Status

Idle. Upload a receipt to begin.

Detected Fields

These values are grouped to resemble the invoice structure: header fields, body line items, and totals at the bottom.

Header
Totals
Raw extracted line candidates
Line candidates will appear here.
Apple Vision OCR
Textract
Heuristic / Default
User Edit
Detected field changes and edit history will appear here.
Line Items

Current Document

No document uploaded yet

Review Status

    Upload and review responses will appear here.

    Duplicate Check

    Use the currently loaded document fields to test the duplicate endpoint.

    Duplicate check response will appear here.

    Approve And Queue Publish

    Trigger the publish workflow for the current document.

    Not validated
      Publish queue response will appear here.

      Xero Settings

      Connect Xero, choose the active organisation, then sync reference data.

      Not connected
      Connect a Xero organisation to begin loading contacts, accounts, tax rates, and tracking options.
      Xero cache and mapping output will appear here.

      Publish Jobs

      Track queued work and recorded publish history.

      Publish job output will appear here.

      Audit Trail

      Review recent document and publish events generated through the UI.

      Audit entries will appear here.