Receipt Inbox
Xero status loading
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...

Auth Debug

Browser auth bootstrap, deployed backend version, and current session check.

Waiting for auth bootstrap...

Training Sync

Learned rules synced via Git. Canonical (git) rules always win unless a runtime rule has override=true.

After Export: git add apps/api/training/ && git commit && git push to sync to Replit.
Reset removes all runtime-only rules and re-seeds from canonical git files.

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.

0 selected
Drag and drop receipts here
Accepts JPEG, PNG, PDF, HEIC — multiple files processed one at a time.
No files selected
⚠ Enter your API Key in Settings to enable uploads
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.

Admin

Textract usage and Xero submission cost summary.

Documents
-
Pages
-
Estimated Spend
-
Avg Textract Time
-

Period Spend

Failures

Submissions

Spend by Workspace

Spend by Xero Organisation

Spend by User

Identity and Ingestion Diagnostics

All Documents

Document Workspace Created Source Email Sender Supplier Total Status Org Visible Hidden Reason Actions

Email Scans

Processed Result Subject Sender Workspace Attachments Documents Moved Error
When Kind Workspace Org Supplier Pages Cost Elapsed Xero ID
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.
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.

      OCR Test Lab (Developer Only)

      Upload samples, inspect Textract output, store expected values, and re-run regressions.

      Drag and drop a sample here
      or click to choose — JPEG, PNG, PDF, HEIC

      Extraction Result

      Final selected fields and engine summary.

      Waiting…

      Comparison

      Extracted vs expected with pass/fail.

      Waiting…

      Engine Debug

      Raw debug JSON (safe, reduced).

      Waiting…

      Textract Summary Fields

      Type/Label/Value/Confidence.

      Waiting…

      Candidates & Scoring

      Supplier/date/total/GST candidates and accepted choice.

      Waiting…

      Saved Tests

      Stored regression samples (latest 200).

      Waiting…

      Settings

      Email is managed in InvoicePolish and cannot be changed here.

      Change your password. You'll need your current password to confirm.

      Two-factor authentication is managed through your InvoicePolish account portal.

      Manage 2FA →

      Connect one or more Xero organisations to publish bills directly from Receipt Inbox.

      Loading…

      Default account and tax codes applied to new receipts when no supplier rule has been learned yet. Requires a connected Xero organisation with synced reference data.

      Connect a Xero organisation and sync reference data to configure defaults.

      Manage your subscription, upgrade your plan, or update billing details.

      Manage Subscription →

      Audit Trail

      Review recent document and publish events generated through the UI.

      Audit entries will appear here.