# Openfront Construction

> Preconstruction, project controls, field operations, safety, billing and a client portal in source you own.

From the first bid to the final payment.

## At a glance

- 88 models from preconstruction to progress billing
- 6 MCP read tools with bounded page sizes
- 1 payment provider: Stripe, installed per company

## Links

- [Product overview](https://spec.openship.org/construction): every area and feature on one page
- [Live demo](https://construction.openship.org)
- [Documentation](https://docs.openship.org/docs/openfront/construction)
- [Source code](https://github.com/openshiporg/openfront-construction)
- [Feature film](https://spec.openship.org/construction/video): a 27-second walk through every area

## Areas

### Pursuits

- **Win the work before you build it**: A public contractor website collects inquiries and quote requests. Leads and opportunities move from qualifying through go/no-go, estimating, submitted and negotiating to won, lost or declined. (https://docs.openship.org/docs/openfront/construction/pipeline)
- Website inquiries create an intake submission linked to a lead and opportunity.
- Signed-in customers can request a quote for a published service.
- Staff price the request and the customer accepts or cancels.
- Past projects and services are published from the operator dashboard.

### Preconstruction

- **Bid packages, leveled and awarded**: Create bid packages, invite trade partners, collect submissions with line items and compare them side by side. Awarding a bid creates a commitment. (https://docs.openship.org/docs/openfront/construction/preconstruction)
- Bid invitations are visible to invited partners in the portal.
- Estimates keep separate version records.
- Bid leveling compares submissions before award.
- Estimate lines carry cost-code structure.

### Cost control

- **Budgets that explain themselves**: Budgets, budget changes, direct costs, labor time and resource logs feed job-cost and forecast reports. Money is stored as integer minor units with a currency code. (https://docs.openship.org/docs/openfront/construction/financials)
- Budget, contract, claim and payment totals are recalculated by workflows, not typed in.
- Direct costs can be posted and reversed.
- Budget changes can require an approval under the project's policy.
- Reports export to CSV.

### Contracts

- **From prime contract to change order**: Prime contracts and commitments carry line items. Change events lead to change quotes and change orders that post to the contract and budget once approved. (https://docs.openship.org/docs/openfront/construction/contracts-changes)
- Change orders can require approval before they post.
- Approval requests must be assigned to a different eligible person.
- Self-approval is rejected.
- Lifecycle status changes use named transition operations.

### Field

- **What happened on site, on the record**: RFIs with responses, submittals with review steps, drawings and documents with versions, daily logs, schedules, tasks and dependencies keep field work connected to the project. (https://docs.openship.org/docs/openfront/construction/field-operations)
- Drawing revisions and document versions are kept rather than overwritten.
- Document distributions can require acknowledgement.
- Punch items, labor entries and material logs are separate records.
- Procurement requests, orders and material receipts follow materials onto the site.

### Quality & safety

- **Observation to corrective action**: Safety observations, incidents, inspection templates, inspections and corrective actions give quality and safety work its own trail. Restricted incident details stay private. (https://docs.openship.org/docs/openfront/construction/quality-safety)
- Inspection items can lead to punch items or corrective actions.
- Incidents move through investigation to corrective action.
- Restricted incident details require explicit permission.
- Audit records accompany consequential commands.

### Billing

- **Get paid, then account for it**: Owner progress claims draw from the prime contract and subcontractor claims from a commitment. Payments are allocated, retainage can be released and lien-waiver evidence is recorded. (https://docs.openship.org/docs/openfront/construction/billing)
- Settled payments can be reversed through a dedicated record.
- Progress claims, payments and retainage releases can require approval.
- Stripe Checkout supports card and US bank account payments when installed and configured.
- Online claim payment is limited to the project owner.

### Project portal

- **A separate door for clients and trades**: Invited owners, designers, subcontractors and vendors use a project portal for their own items rather than the operator dashboard. Access follows company and project membership. (https://docs.openship.org/docs/openfront/construction/project-portal)
- Project membership has viewer, contributor and manager levels.
- External members can be linked to a trade partner organization.
- Website customers see only their own service requests.
- Company is the tenant; project-owned records reject cross-company relationships.

### Developer

- **Your projects, your cost codes, your code**: Next.js, Keystone, Prisma and Postgres with named, idempotent operations. API keys bind to scopes, and automated actors follow a request, review and outcome sequence that rechecks the scope grant. (https://docs.openship.org/docs/openfront/construction/api-reference)
- 88 models cover pursuits, cost, contracts, field work, safety and billing.
- Six MCP read tools discover and query data with bounded page sizes.
- Commands are idempotent and recorded as audit rows with outbox events.
- Role permissions apply through company and project memberships.
