Coaster

Available

Employee expense claims with receipt evidence, manager approval, duplicate-safe reimbursement batches, an accounting CSV and an Expensify move-in kit, on the owner's own Cloudflare account.

Coaster is available as MIT-licensed source for self-hosting. See its public source and release documents for setup. Business can also install and run projects for invited accounts; the app shows whether it offers Coaster before checkout.

Run Coaster on your own computer with one line:

npx -y @runeditrun/rer dev just-every/run-coaster

It clones the public source, installs it, sets up a local owner and starts the app; nothing is deployed. To set up without starting, run npx -y @runeditrun/rer setup just-every/run-coaster. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-coaster.

Or have your agent set it up for a Business: Start a Business with Coaster ticked

For HappyToHelp: Assisted is in early access; Managed is in early access.

Category
expenses
Licence
MIT
Version
0.1.2
Requirements
13 clauses
Release signature
Signed by just-every · key rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c · statement
Target release
v0.1.2 · published
Publisher’s stage
first-release-local
Instead of
Expensify, SAP Concur Expense, Emburse

Outside services

The services the project declares it sends data to, each with its reason.

cloudflare
Worker hosting, D1 business records and R2 receipt originals in the owner’s Cloudflare account
mail-provider
A hosted Coaster emails sign-in links, invitations, delegate-grant notices (ADMIN-005), questions about a claim (APPROVE-006), reminders and escalations (FOLLOWUP-001, FOLLOWUP-002), budget alerts (REPORT-004), bank-change notices (PAY-002) and scheduled reports (REPORT-002) through the Managed mail relay or the owner's own Resend, SendGrid or Cloudflare Email account; with no provider set nothing is sent, and Coaster on your own computer keeps mail in a local outbox.
identity-provider
Optional sign-in through the owner's own Auth installation (OpenID Connect); a blank answer keeps email-link sign-in, and nothing is sent until the owner links one.
ecb-reference-rates
CLAIM-003 downloads public ECB historical reference rates from one fixed HTTPS URL; optional and off by default. A person can instead supply an explicit rate entered by hand without any provider request. ECB reference rates are not card rates.
quickbooks-accounting-choices
Read accounting choices on the daily schedule; transaction posting is not implemented. Disconnect stops future requests.
public-api-webhooks
Signed notifications of native state changes, with persistent delivery attempts. No outbound notification without an owner-consented active subscription.
expensify-source-export
Read-only MOVE-001 source preparation, conservative explicit-consent default awaiting ct. No report updates, export marking or email actions.
bank-verification-providers
PAY-002 verifies an employee's bank account instantly through Plaid Link or by micro-deposits through Stripe. The person enters bank details with the provider; Coaster keeps only the provider token, sealed, and the last four digits. Disconnect stops new accounts.
quickbooks-desktop-connector
The scheduled Web Connector reads accounting catalogs and receives queued approved expenses, recorded payments and balanced statement journals. Disconnect stops future sessions.
plaid-sandbox-connections
FEED-001 sandbox Link and account verification only, at https://sandbox.plaid.com; off by default, with no transaction sync or payment authority.

Scope and limits

What it will not do

  • Card issuing or card feeds
  • Moving money or payment files
  • Payroll and travel booking
  • OCR or model receipt reading
  • Accounting transaction posting
  • Tax determination

Declared limits

Status
unmeasured

Requirements

All 13 clauses of Coaster’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.

COA 13 clauses

  1. COA-001
    Business, categories and people set by the owner The owner names the business and sets its currency (fixed once claims exist), timezone, mileage rate, optional per-diem rate and receipt threshold; adds categories with account code, tax code and optional per-expense limit; and adds people as employee, manager and/or finance with each employee's approving manager. Nobody else can change these. LOCALE-001 sets the US defaults and ADMIN-001 widens the roles. Acceptance evidence: COA-001 flow test: the owner configures the business, categories and people through the HTTP API; a manager, finance member and employee are each refused the same writes and nothing changes.
  2. COA-002
    Receipt, mileage and per-diem expenses with receipt provenance An employee starts a claim and adds purchases with a receipt photo or PDF, mileage (distance × the business rate, rounded half up once) and per-diem days (days × the business rate). Each receipt keeps its exact bytes, SHA-256, size, type (from its own signature), uploader and time. Invalid dates, amounts and files are refused and change nothing. Acceptance evidence: COA-002 flow test: upload a JPEG and a PDF, add mileage and per diem, read back exact bytes and hashes, and see malformed dates, amounts and disguised files refused with no write.
  3. COA-003
    Exact splits across categories and cost centers An employee splits one expense across categories and cost centers; the parts must add up exactly to the expense, and each part becomes its own accounting line. Acceptance evidence: COA-003 flow test: split one expense three ways, see a non-adding split refused, and read three coded accounting lines in the batch export.
  4. COA-004
    Policy exceptions explained, acknowledged and carried to the books Coaster flags policy exceptions (no receipt above the threshold, an expense's total in a category over that category's limit however it is split, the same receipt twice, the same date/merchant/amount as another expense on the claim, another claim or an imported report). Submission needs the employee's explanation for each; the manager must acknowledge them to approve; they stay on the decision, the batch and the accounting CSV. POLICY-001 extends the rules. Acceptance evidence: COA-004 flow test: submit an over-limit, receipt-less and duplicate claim, see submission refused without explanations, approval refused without acknowledgment, and the exceptions in the batch and CSV.
  5. COA-005
    An exact duplicate is never reimbursed twice One database key per expense (its receipt bytes' SHA-256, or without a receipt its employee, date, type, merchant and amount) admits it to one batch only, and a claim holding the same exact expense twice cannot be submitted. FEED-004 extends the same key to card transactions. Acceptance evidence: COA-005 flow test: approve two claims carrying the same receipt and see the second refused from any batch; a claim holding the same expense twice cannot be submitted.
  6. COA-006
    The assigned approver decides the exact submitted revision Submission freezes the claim as a numbered revision and routes it to the employee's approving manager. Only that approver approves, returns (with a reason) or rejects (with a reason) that exact revision; nobody decides their own claim; a stale view is refused. APPROVE-001 extends routing to multi-step workflows, APPROVE-005 lets the approver hold single expenses and approve the rest, and APPROVE-007 adds retraction and unapproval before payment, all without weakening these rules. Acceptance evidence: COA-006 flow test: another manager, the employee and a stale revision are refused; the assigned manager's decision is recorded against the exact revision.
  7. COA-007
    Corrections never erase evidence A returned claim is corrected and resubmitted as the next revision. Earlier revisions, their receipts and decisions stay readable and downloadable; receipts, revisions, decisions and history lines cannot be changed or deleted. Acceptance evidence: COA-007 flow test: return, correct with a replacement receipt and resubmit; both revisions, both receipts and every decision remain readable and no route edits or deletes them.
  8. COA-008
    Role-scoped access in every handler Access follows roles in every API handler, not only in screens: employees see their own claims; approvers see claims routed to them once submitted; finance and the owner see submitted claims; drafts stay private to their employee. Writes need the current native session from the same origin; deactivated people (in Coaster or in their sign-in account) lose access at once, agent keys included; forged fields in requests decide nothing. Acceptance evidence: COA-008 flow test: each role reads and writes across every claim, batch and receipt route; cross-origin, deactivated and forged requests are refused with no write.
  9. COA-009
    Reviewed reimbursement batches with reconciled exports Finance gathers approved claims into a draft batch, reviews it by confirming the reconciled total (someone else must review a batch holding their own claim), then downloads an accounting CSV (one line per category split with account/tax codes, receipt SHA-256, exceptions and approver) and a reimbursements CSV (one total per person). Both add up to the batch total. Once the batch is released under PAY-004's controls, finance can record a payment made outside Coaster with its reference and date; PAY-001 is the provider-paid route and ACCT-001 to ACCT-003 the live ledger route, and this file route stays available alongside them. Acceptance evidence: COA-009 flow test: batch, review, download both CSVs, check both sum to the batch total, record the payment and see each employee's claim marked reimbursed.
  10. COA-010
    Personal agents prepare; people decide A person makes an agent key. Their agent prepares draft claims from receipts (employees) or batch proposals (finance) through /api/coaster/agent/*; it cannot submit, approve, batch, pay or read anything else. Only that person accepts or declines; acceptance is recorded with who and when, and the claim or batch says it was prepared by the agent. The push-further agents (AGENT-001 to AGENT-009) build on this authority model. Acceptance evidence: COA-010 flow test: an agent key proposes a claim and a batch, is refused submission, approval and foreign reads, and only its person accepts; the provenance appears on the result.
  11. COA-011
    Expensify report history move-in The owner moves in Expensify history from a report-template CSV (IMPORTING.md) on Base import-kit: preview writes nothing and lists errors; commit applies only the exact previewed bytes and mapping; the original file is retained; undo reverses the job, and the same file can be imported again after an undo. Imported reports stay read-only history and flag later re-claims as possible duplicates. MOVE-001 extends this to the whole Expensify account. Acceptance evidence: COA-011 flow test: preview with errors, commit, see a re-claim flagged, undo and re-import the same file.
  12. COA-012
    Whole-installation export and restore The owner exports the whole installation with rer export and restores it into an empty installation with rer import: claims, revisions, decisions, receipt bytes, batches, history and imported history come back identical, and a corrupt archive or one with inconsistent claims is refused without writing. Provider connections and secrets added by later clauses are excluded and must be reconnected (SEC-001). Acceptance evidence: tests/browser.mjs archive section and tests/browser-archive.mjs: export, refuse tampered and inconsistent archives, import into a second empty installation and compare.
  13. COA-013
    Fresh-clone install and runtime Coaster installs and runs from a fresh clone with rer install, setup, dev, build, preview, verify, reset, export, import, deploy --dry-run, describe and check, on TanStack Start, Hono, D1 and Cloudflare Workers. Acceptance evidence: tests/browser.mjs, rer check and rer verify on the exact commit.

View as agent

Everything on this page is in these files, copied unmodified from the release. An agent evaluating Coaster can read them instead of the page.

seed.json
The manifest: capabilities, outside services, extension points, limits, operating cost and deployment needs.
CONTRACT.md
The requirements on this page, in source form.
AGENTS.md
Instructions for the coding agent that maintains an installation.
LICENSE
RELEASE.json
README.md
Source setup, available commands and implementation status.
OPERATIONS.md
How the project is set up, operated and deployed.
ACCEPTANCE.md
What the publisher accepts as a finished release.

Every project, with its availability, is in /agents/catalogue.json; the agents page describes the machine-readable files.