Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

docs: content improvements

Sidwebworks22179d59df53
diff --git a/.claude/skills/carbon-docs/SKILL.md b/.claude/skills/carbon-docs/SKILL.md
index fce33455ed..89abd9afad 100644
--- a/.claude/skills/carbon-docs/SKILL.md
+++ b/.claude/skills/carbon-docs/SKILL.md
@@ -186,6 +186,24 @@ Each `##` heading becomes a sidebar rail entry — so structure chapters as 3–
- **Second person, concrete, narrative.** Anchor in the running example (the 90-unit humanoid-robot order).
"Open the sales order dashboard." / "You don't build 90 robots as one monolithic job."
- **Quote real status names exactly**, in quotes: `**"To Ship and Invoice"**`, `**"Posted"**`, `**"Open"**`.
+ Status strings live on a specific entity — confirm whether a value belongs to the *header* or the *line*
+ (e.g. `"To Ship and Invoice"`/`"To Invoice"` are `salesOrderStatus`, NOT the `salesOrderLineStatus` enum
+ `Ordered/In Progress/Completed`) before you attribute it, and state the transition fully (an order at
+ `"To Ship and Invoice"` flips to `"To Invoice"` once everything has shipped but isn't billed — don't imply
+ it sits at one value until fully closed).
+- **Go easy on em-dashes.** Stacked, they read as a tic — at most one per paragraph, and never a dash-pair
+ parenthetical in an opening sentence. Default to a period or comma; reach for the dash only when it truly
+ beats both. ("Too many em-dashes" is the single most common copy note from review.) Applies to `caption=`
+ and `title=` strings too, not just body prose.
+- **Keep the running example's nouns and numbers exact.** It's the *sales order* (don't drift to a bare
+ "order" when instructing the reader) and it's *90 units* (not "a robot"). Once you name the entity and the
+ quantity, stay consistent every time — drift is what makes a tour feel sloppy.
+- **Ground every "where to click."** When you tell the reader to act in the UI, copy the real button / modal /
+ field labels from the JSX (in quotes) and confirm the capability exists *on that exact path*. A feature
+ that lives elsewhere is not the same as one on the screen you're describing — "Carbon splits the order into
+ three jobs" was wrong: the sales-order line's **"Make to Order"** → **"Convert Line to Job"** dialog makes
+ **one** job per click (the N-jobs-of-M split is a separate bulk-jobs flow). Verify the action, not just the
+ concept.
- **Callouts carry the counterintuitive truth** — the thing people get wrong. Title is a claim, body is the
why. ("Quotes are optional — the opportunity is the thread.")
- **Explain the why, name the mistake, point to the next step.** If a paragraph does none of those, cut it.
@@ -205,6 +223,11 @@ a page that links out *and* glosses its jargon is worth more than the same prose
- **Markdown links carry navigation.** Link the *noun*, inline, at natural seams; never "click here". A Guide
links into Reference for fields; Reference links back to the Guide for the story
(`[make-to-order tour](/guides/order)`). Cross-surface and cross-flow links are expected, not optional.
+ **But link only when the destination's title echoes your anchor text.** A hard jump whose landing page has
+ a different H1 disorients the reader — linking the phrase "quote to cash" to a chapter titled *From quote
+ to order* got flagged as confusing. When the anchor is a *concept* (a flow name, a category) rather than a
+ page literally called that, gloss it as a `<Term>` (definition popover + optional "Learn more" via `href`)
+ instead of a bare link — the reader gets the meaning in place and can still navigate if they choose.
- **`<Term>` carries definitions.** Wrap a manufacturing/Carbon term a reader can hit cold (method type,
replenishment system, WIP, outside operation, kit/subassembly…) so a click gives the gloss without leaving
the page.
@@ -234,6 +257,16 @@ to raise the whole site's connectivity.
## Gotchas (hard-won)
+- **Frontmatter is YAML — never leave an unquoted colon in a value.** A `title:`/`description:` value
+ containing `: ` (colon-space) is parsed as a nested mapping and throws
+ `YAMLException: bad indentation of a mapping entry`. Either quote the whole value
+ (`description: "How it works: the short version."`) or reword to drop the colon (a comma/period is usually
+ the better fix). **One bad frontmatter 500s the *entire* site, not just that page** — fumadocs loads the
+ whole source collection at module load, so the symptom is every page (guides included) returning 500 with
+ the offending `.mdx` path in the stack. This bites hardest during an em-dash sweep: replacing a
+ `description:` em-dash with a colon silently breaks YAML. **`pnpm exec fumadocs-mdx` regen does NOT catch
+ it** (it passes) — the only reliable check is fetching a page (any page) and seeing 200 vs 500. When you
+ delegate prose edits to subagents, tell them explicitly: in frontmatter, never introduce an unquoted colon.
- **Shiki theme** (`source.config.ts` → `rehypeCodeOptions.themes`): set **both** `light` and `dark` to the
same `"github-dark-default"`. A single `theme` (or a missing `github-light`) breaks the build for any
`content/docs` file with a code fence (`ShikiError: Theme github-light not found`). Guides have no fences,
diff --git a/docs/content/docs/building/local-development.mdx b/docs/content/docs/building/local-development.mdx
index d921ab63a4..1e0bad3e91 100644
--- a/docs/content/docs/building/local-development.mdx
+++ b/docs/content/docs/building/local-development.mdx
@@ -1,9 +1,9 @@
---
title: Local development
-description: Run the full Carbon stack locally with the crbn CLI — isolated per-worktree environments.
+description: Run the full Carbon stack locally with the crbn CLI, in isolated per-worktree environments.
---
-Carbon is a **pnpm + Turborepo** monorepo — the ERP and MES apps plus their shared packages. Local development runs on the **`crbn` CLI** (in `packages/dev`), a per-worktree environment manager: every git worktree gets its own compose stack — Postgres, Kong, Supabase, Inngest, and Inbucket (mail) — with its own ports, Redis database, and JWT credentials. So you can work several branches at once without their stacks colliding.
+Carbon is a **pnpm + Turborepo** monorepo, the ERP and MES apps plus their shared packages. Local development runs on the **`crbn` CLI** (in `packages/dev`), a per-worktree environment manager: every git worktree gets its own compose stack (Postgres, Kong, Supabase, Inngest, and Inbucket for mail) with its own ports, Redis database, and JWT credentials. So you can work several branches at once without their stacks colliding.
## Setup
@@ -11,7 +11,7 @@ Carbon is a **pnpm + Turborepo** monorepo — the ERP and MES apps plus their sh
<Step>
### Add `crbn` to your `PATH`
- Source the setup script — it installs a small shell wrapper:
+ Source the setup script. It installs a small shell wrapper:
```bash
source ./setup.sh
@@ -36,7 +36,7 @@ Carbon is a **pnpm + Turborepo** monorepo — the ERP and MES apps plus their sh
</Steps>
<Callout type="warn">
-`DEV_BYPASS_EMAIL` is local-only — it signs you in as that email with no magic link. Never set it in a deployed environment.
+`DEV_BYPASS_EMAIL` is local-only. It signs you in as that email with no magic link. Never set it in a deployed environment.
</Callout>
### Stack commands
@@ -44,8 +44,8 @@ Carbon is a **pnpm + Turborepo** monorepo — the ERP and MES apps plus their sh
| Command | What it does |
| --- | --- |
| `crbn up` | Boot the compose stack and apps. |
-| `crbn up --no-portless` | Localhost mode — fixed ports (API `54321`, ERP `3000`, MES `3001`). |
-| `crbn up --no-apps` | Services only — Postgres, Kong, Supabase, Inngest, mail. |
+| `crbn up --no-portless` | Localhost mode: fixed ports (API `54321`, ERP `3000`, MES `3001`). |
+| `crbn up --no-apps` | Services only: Postgres, Kong, Supabase, Inngest, mail. |
| `crbn up --no-migrate` | Skip database migrations on boot. |
| `crbn up --no-regen` | Skip type and Swagger regeneration. |
| `crbn up --borrow` | Reuse another worktree's already-running containers. |
@@ -56,7 +56,7 @@ Carbon is a **pnpm + Turborepo** monorepo — the ERP and MES apps plus their sh
| `crbn status` | Show port assignments and container health. |
<Callout type="note">
-`pnpm dev` is shorthand for `crbn up --no-portless` — localhost mode on fixed ports.
+`pnpm dev` is shorthand for `crbn up --no-portless`: localhost mode on fixed ports.
</Callout>
## Worktrees
@@ -75,7 +75,7 @@ Each branch gets an isolated worktree and stack, so several can run side by side
## Portless vs localhost
-By default `crbn up` uses **portless** to serve a TLS `.dev` URL per app (for example `erp.<branch>.dev`), giving each worktree stable, shareable hostnames. Pass `--no-portless` — or set `CARBON_PORTLESS=0` — for **localhost** mode on fixed ports:
+By default `crbn up` uses **portless** to serve a TLS `.dev` URL per app (for example `erp.<branch>.dev`), giving each worktree stable, shareable hostnames. Pass `--no-portless`, or set `CARBON_PORTLESS=0`, for **localhost** mode on fixed ports:
| Service | Port |
| --- | --- |
diff --git a/docs/content/docs/building/webhooks.mdx b/docs/content/docs/building/webhooks.mdx
index 1924ea75e0..efdbb48946 100644
--- a/docs/content/docs/building/webhooks.mdx
+++ b/docs/content/docs/building/webhooks.mdx
@@ -20,7 +20,7 @@ You subscribe a webhook to exactly one table. The tables you can watch, by modul
| Items | `item` |
| Users | `employee` |
-For each webhook you choose which operations fire it — **insert**, **update**, **delete** — and at least one must be selected.
+For each webhook you choose which operations fire it (**insert**, **update**, **delete**), and at least one must be selected.
## The payload
@@ -42,20 +42,20 @@ On an insert, `old` is omitted; on a delete, `record` is the row as it last exis
Create and manage webhooks under **Settings → Webhooks**. A webhook has:
-- **Name** — a label, unique within your company.
-- **Table** — the one table to watch.
-- **URL** — where the `POST` is sent; must be a valid URL.
-- **Triggers** — any of insert, update, delete (at least one).
-- **Active** — webhooks are on by default; switch off to pause delivery.
+- **Name:** a label, unique within your company.
+- **Table:** the one table to watch.
+- **URL:** where the `POST` is sent; must be a valid URL.
+- **Triggers:** any of insert, update, delete (at least one).
+- **Active:** webhooks are on by default; switch off to pause delivery.
Carbon tracks a success and error count per webhook, with the timestamp of the last of each, so you can see at a glance whether your endpoint is healthy.
## Delivery & reliability
-Delivery is **at-most-once**: Carbon fires a single `POST` per change and records the outcome. There are no automatic retries, no backoff, and no rate limiting on outbound calls — if your endpoint is down when the event fires, that delivery is missed (the success/error counters will show it). Build your consumer to tolerate the occasional gap, and reconcile against the API when it matters.
+Delivery is **at-most-once**: Carbon fires a single `POST` per change and records the outcome. There are no automatic retries, no backoff, and no rate limiting on outbound calls. If your endpoint is down when the event fires, that delivery is missed (the success/error counters will show it). Build your consumer to tolerate the occasional gap, and reconcile against the API when it matters.
<Callout type="warn">
-Carbon does **not** sign webhook payloads — there is no shared secret or signature header to verify against. Treat the webhook URL itself as the secret: serve it over HTTPS and include an unguessable token in the path or query so you can reject anything that doesn't carry it.
+Carbon does **not** sign webhook payloads. There is no shared secret or signature header to verify against. Treat the webhook URL itself as the secret: serve it over HTTPS and include an unguessable token in the path or query so you can reject anything that doesn't carry it.
</Callout>
## Related
diff --git a/docs/content/docs/glossary.mdx b/docs/content/docs/glossary.mdx
index 8196da69f6..9efb63a50c 100644
--- a/docs/content/docs/glossary.mdx
+++ b/docs/content/docs/glossary.mdx
@@ -1,8 +1,8 @@
---
title: Glossary
-description: Every Carbon term, defined and linked — the manufacturing and accounting vocabulary the rest of the docs lean on.
+description: "Every Carbon term, defined and linked: the manufacturing and accounting vocabulary the rest of the docs lean on."
---
-Carbon names things precisely, and a few names are counterintuitive: a <Term>method</Term> is a bill of materials, <Term id="wip">work in process</Term> is a ledger balance rather than a table, and payment on an <Term>invoice</Term> is a field, not its own record. This page lists every term used across Carbon, each with the same one-line definition that powers the inline popovers — follow **Learn more** for the full story.
+Carbon names things precisely, and a few names are counterintuitive: a <Term>method</Term> is a bill of materials, <Term id="wip">work in process</Term> is a ledger balance rather than a table, and payment on an <Term>invoice</Term> is a field, not its own record. This page lists every term used across Carbon, each with the same one-line definition that powers the inline popovers. Follow **Learn more** for the full story.
<Glossary />
diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdx
index 173061e327..a479e0b2d3 100644
--- a/docs/content/docs/index.mdx
+++ b/docs/content/docs/index.mdx
@@ -1,10 +1,10 @@
---
title: Overview
-description: Carbon is a manufacturing system — ERP for the office, MES for the floor. These are the technical docs.
+description: "Carbon is a manufacturing system: ERP for the office, MES for the floor. These are the technical docs."
---
Carbon is a manufacturing system: **ERP** for the office (orders, purchasing, planning, accounting) and
-**MES** for the floor (<Term id="job">jobs</Term>, <Term id="operation">operations</Term>, tracking) — one platform over one data model.
+**MES** for the floor (<Term id="job">jobs</Term>, <Term id="operation">operations</Term>, tracking). One platform over one data model.
These are the **technical docs**: exact behavior, fields, and operations. If you're new, start with the
narrated [**Guide**](/guides/order), which walks one order from the sales desk to a shipped, traceable robot.
@@ -14,7 +14,7 @@ Come here when you already know the noun you need and want the precise detail be
<Cards>
<Card title="Architecture" href="/docs/platform/architecture">
- How Carbon is built — apps, packages, database, events, jobs, and auth.
+ How Carbon is built: apps, packages, database, events, jobs, and auth.
</Card>
<Card title="Self-hosting" href="/docs/platform/self-hosting">
Run Carbon on your own infrastructure — a single VPS with Docker, or your own AWS account with SST.
@@ -23,6 +23,6 @@ Come here when you already know the noun you need and want the precise detail be
Every variable that configures a Carbon instance, grouped by concern.
</Card>
<Card title="Reference" href="/docs/reference/methods">
- The entities behind the Guide — methods, reordering, routings, and more.
+ The entities behind the Guide: methods, reordering, routings, and more.
</Card>
</Cards>
diff --git a/docs/content/docs/integrations/accounting.mdx b/docs/content/docs/integrations/accounting.mdx
index 909d1c5105..d8c04fd8e0 100644
--- a/docs/content/docs/integrations/accounting.mdx
+++ b/docs/content/docs/integrations/accounting.mdx
@@ -18,7 +18,7 @@ purchase invoices** to Xero and keeps the two ledgers aligned.
<Step>
### Connect over OAuth
- No keys to paste — authorizing stores the connection.
+ No keys to paste. Authorizing stores the connection.
</Step>
<Step>
### Choose what's shared
@@ -34,7 +34,7 @@ purchase invoices** to Xero and keeps the two ledgers aligned.
<FieldTable>
<Field name="Backfill">Whether to seed Xero with your existing **customers**, **vendors**, and **items** on first connect.</Field>
- <Field name="Source of truth">Per entity (customer, vendor, item, invoice, bill) — whether **Carbon** or the **accounting system** wins on conflict.</Field>
+ <Field name="Source of truth">Per entity (customer, vendor, item, invoice, bill): whether **Carbon** or the **accounting system** wins on conflict.</Field>
<Field name="Account mapping">The default **sales** and **purchase** account codes, picked from your Xero chart of accounts.</Field>
</FieldTable>
@@ -49,7 +49,7 @@ Turn it on and it runs — no fields to configure. Carbon refreshes currency **e
foreign-currency documents convert against current rates. Exchange Rates is available on **every plan**.
<Callout type="info">
-On Carbon Cloud the rates come from **exchangeratesapi.io** by default — fetched against a **EUR** base and
+On Carbon Cloud the rates come from **exchangeratesapi.io** by default, fetched against a **EUR** base and
then converted into each company's base currency, so every currency you trade in stays aligned.
</Callout>
diff --git a/docs/content/docs/integrations/assistant.mdx b/docs/content/docs/integrations/assistant.mdx
index 7dc94c6290..5e5d1ed214 100644
--- a/docs/content/docs/integrations/assistant.mdx
+++ b/docs/content/docs/integrations/assistant.mdx
@@ -7,7 +7,7 @@ description: Bring the Carbon Assistant into Slack, with nonconformance notifica
## Slack
Connect **Slack** over **OAuth** to put the **Carbon Assistant** in your workspace and receive
-**<Term id="nonconformance">nonconformance</Term> notifications** where your team already talks — there are no fields to fill in.
+**<Term id="nonconformance">nonconformance</Term> notifications** where your team already talks. There are no fields to fill in.
<Steps>
<Step>
@@ -18,7 +18,7 @@ Connect **Slack** over **OAuth** to put the **Carbon Assistant** in your workspa
<Step>
### Choose your workspace
- Pick the workspace to install into and approve the install. Carbon stores the connection — no keys to paste.
+ Pick the workspace to install into and approve the install. Carbon stores the connection. No keys to paste.
</Step>
</Steps>
diff --git a/docs/content/docs/integrations/cad.mdx b/docs/content/docs/integrations/cad.mdx
index c2e9e9853d..f61b5ea6f1 100644
--- a/docs/content/docs/integrations/cad.mdx
+++ b/docs/content/docs/integrations/cad.mdx
@@ -6,7 +6,7 @@ description: Sync CAD data from Onshape into Carbon.
## Onshape
-Connect to **Onshape** over **OAuth** to bring CAD data into Carbon — no keys to paste.
+Connect to **Onshape** over **OAuth** to bring CAD data into Carbon. No keys to paste.
<Steps>
<Step>
@@ -22,7 +22,7 @@ Connect to **Onshape** over **OAuth** to bring CAD data into Carbon — no keys
<Step>
### Tokens stored
- Carbon stores the connection — the access and refresh tokens — and can then pull from your Onshape documents.
+ Carbon stores the connection, the access and refresh tokens, and can then pull from your Onshape documents.
</Step>
</Steps>
diff --git a/docs/content/docs/integrations/email.mdx b/docs/content/docs/integrations/email.mdx
index 0d9df57a81..3f956e4fe2 100644
--- a/docs/content/docs/integrations/email.mdx
+++ b/docs/content/docs/integrations/email.mdx
@@ -5,7 +5,7 @@ description: Send outbound email through Carbon-managed Resend or your own SMTP
## Email
-Email is how Carbon sends transactional mail — order confirmations, notifications, and the like. It's
+Email is how Carbon sends transactional mail: order confirmations, notifications, and the like. It's
available on **every plan**, and you choose who actually delivers the mail.
<Steps>
diff --git a/docs/content/docs/integrations/estimating.mdx b/docs/content/docs/integrations/estimating.mdx
index d0a261d61e..6cf13fd575 100644
--- a/docs/content/docs/integrations/estimating.mdx
+++ b/docs/content/docs/integrations/estimating.mdx
@@ -23,15 +23,15 @@ changes, and the secret verifies those calls).
<Step>
### Set import defaults
- On connect you also set the defaults Carbon applies to items it imports — **method type**, **tracking type**, and whether to use the Paperless order number (below).
+ On connect you also set the defaults Carbon applies to items it imports: **method type**, **tracking type**, and whether to use the Paperless order number (below).
</Step>
</Steps>
<FieldTable>
<Field name="API key">Authenticates Carbon to Paperless Parts.</Field>
<Field name="Webhook signing secret">Verifies inbound webhooks from Paperless Parts.</Field>
- <Field name="Method type">Default for imported items — **Purchase to Order** or **Pull from Inventory**.</Field>
- <Field name="Tracking type">Default for imported items — **Inventory**, **Non-Inventory**, or **Batch**.</Field>
+ <Field name="Method type">Default for imported items: **Purchase to Order** or **Pull from Inventory**.</Field>
+ <Field name="Tracking type">Default for imported items: **Inventory**, **Non-Inventory**, or **Batch**.</Field>
<Field name="Use Paperless order number">Whether to carry the Paperless order number onto the Carbon document.</Field>
</FieldTable>
diff --git a/docs/content/docs/integrations/index.mdx b/docs/content/docs/integrations/index.mdx
index ca43d4c9dd..8b96ad4f08 100644
--- a/docs/content/docs/integrations/index.mdx
+++ b/docs/content/docs/integrations/index.mdx
@@ -15,7 +15,7 @@ every edition and plan.
An integration has two parts: a system-wide **definition** and a per-company **activation**.
-- The **definition** describes the fields that integration needs — API keys, OAuth tokens, mapping options.
+- The **definition** describes the fields that integration needs: API keys, OAuth tokens, mapping options.
- The **activation** is a `companyIntegration` record: an `active` flag plus a `metadata` object holding
your credentials and settings. Carbon validates that metadata against the definition, so an integration
can't be switched on with incomplete configuration.
@@ -29,7 +29,7 @@ Connections are established one of three ways, depending on the app:
| OAuth | Xero, Jira, Onshape, Slack | Authorize Carbon with the provider; tokens are stored for you. |
<Callout type="note">
-Disconnecting an integration sets `active = false` but **keeps your stored credentials** — reconnecting
+Disconnecting an integration sets `active = false` but **keeps your stored credentials**. Reconnecting
doesn't make you re-enter them. To remove credentials entirely, clear the integration's settings before you
disconnect.
</Callout>
@@ -37,8 +37,8 @@ disconnect.
## What's available depends on your deployment
<Callout type="warn">
-Which integrations even appear depends on how Carbon is deployed. The OAuth connectors — **Xero**, **Jira**,
-and **Onshape** — only show up when their OAuth client is configured server-side (see
+Which integrations even appear depends on how Carbon is deployed. The OAuth connectors, **Xero**, **Jira**,
+and **Onshape**, only show up when their OAuth client is configured server-side (see
[Environment variables](/docs/platform/self-hosting/environment-variables)), and **Slack** is hidden in controlled (ITAR)
environments. So the same Carbon build can offer a different set of integrations depending on its
configuration.
diff --git a/docs/content/docs/integrations/project-management.mdx b/docs/content/docs/integrations/project-management.mdx
index ab731a17ab..5c2756398a 100644
--- a/docs/content/docs/integrations/project-management.mdx
+++ b/docs/content/docs/integrations/project-management.mdx
@@ -15,7 +15,7 @@ Authenticate with a **Linear API key** (it begins with `lin_api`).
<Step>
### Paste your Linear API key
- Provide your Linear API key — Carbon checks the `lin_api` prefix.
+ Provide your Linear API key. Carbon checks the `lin_api` prefix.
</Step>
<Step>
### Issues sync
@@ -30,13 +30,13 @@ Authenticate with a **Linear API key** (it begins with `lin_api`).
## Jira
-Connect over **OAuth** — there are no fields to fill in beyond authorizing Carbon.
+Connect over **OAuth**. There are no fields to fill in beyond authorizing Carbon.
<Steps>
<Step>
### Authorize over OAuth
- Authorize Carbon in Jira — there are no fields to fill in.
+ Authorize Carbon in Jira. There are no fields to fill in.
</Step>
<Step>
### Link a quality issue
diff --git a/docs/content/docs/platform/architecture.mdx b/docs/content/docs/platform/architecture.mdx
index 801b0c9890..df7d4ce697 100644
--- a/docs/content/docs/platform/architecture.mdx
+++ b/docs/content/docs/platform/architecture.mdx
@@ -1,6 +1,6 @@
---
title: Architecture
-description: How Carbon is built — the apps, packages, database, event system, background jobs, and auth behind a deployment.
+description: "How Carbon is built: the apps, packages, database, event system, background jobs, and auth behind a deployment."
---
Carbon is a TypeScript monorepo: a handful of apps over a shared set of packages, backed by a single
@@ -10,22 +10,22 @@ Postgres database.
| App | Stack | What it is |
| --- | --- | --- |
-| `erp` | React Router 7 + Vite | The ERP — orders, purchasing, planning, accounting. Also hosts the API, the MCP server, and the OAuth endpoints. |
-| `mes` | React Router 7 + Vite | The Manufacturing Execution System — shop-floor job execution. |
+| `erp` | React Router 7 + Vite | The ERP: orders, purchasing, planning, accounting. Also hosts the API, the MCP server, and the OAuth endpoints. |
+| `mes` | React Router 7 + Vite | The Manufacturing Execution System: shop-floor job execution. |
| `academy` | React Router 7 + Vite | Hosts training video lessons. |
| `docs` | Next.js (Fumadocs) | This documentation site. |
## Packages
-Shared libraries live in `packages/` — including `database` (Supabase schema + generated types), `react`
+Shared libraries live in `packages/`, including `database` (Supabase schema + generated types), `react`
(the UI component library), `jobs` (background jobs), `auth`, `ee` (enterprise edition + integrations),
`stripe`, `kv` (Redis), `documents`, `printing`, `locale`, and `dev` (the `crbn` CLI).
## The stack
-- **Framework** — React Router 7 for the apps; Next.js for these docs.
-- **Monorepo** — pnpm workspaces + Turborepo.
-- **Tooling** — Vite, Biome (lint + format), tsup, strict TypeScript.
+- **Framework:** React Router 7 for the apps; Next.js for these docs.
+- **Monorepo:** pnpm workspaces + Turborepo.
+- **Tooling:** Vite, Biome (lint + format), tsup, strict TypeScript.
## Database
@@ -40,15 +40,15 @@ application code.
## Events & background jobs
-- **Event system** — Postgres triggers enqueue change events into a PGMQ queue; an **Inngest** cron drains
+- **Event system:** Postgres triggers enqueue change events into a PGMQ queue; an **Inngest** cron drains
the queue and routes each event to its handlers (webhook, workflow, sync, search).
-- **Background jobs** — run on **Inngest** (`packages/jobs`): MRP, scheduling, exchange-rate updates,
+- **Background jobs:** run on **Inngest** (`packages/jobs`): MRP, scheduling, exchange-rate updates,
integration syncs, and notifications. App code fires jobs with `trigger()` / `batchTrigger()`.
-- **Edge functions** — transactional work runs as **Supabase edge functions** (Deno): posting receipts,
+- **Edge functions:** transactional work runs as **Supabase edge functions** (Deno): posting receipts,
shipments, and invoices; running MRP; importing CSV; issuing and picking material.
<Callout type="warn">
-Older notes attribute jobs and events to Trigger.dev — that migration is done. Jobs and the event queue
+Older notes attribute jobs and events to Trigger.dev. That migration is done. Jobs and the event queue
run on **Inngest**; edge functions run on **Supabase / Deno**.
</Callout>
@@ -62,7 +62,7 @@ header), and a full **OAuth 2.0 server** backs the Claude remote connector.
<Cards>
<Card title="Self-hosting" href="/docs/platform/self-hosting">
- Run the apps on your own infrastructure — Docker on a VPS, or AWS with SST.
+ Run the apps on your own infrastructure: Docker on a VPS, or AWS with SST.
</Card>
<Card title="Environment variables" href="/docs/platform/self-hosting/environment-variables">
The full configuration surface.
diff --git a/docs/content/docs/platform/licensing.mdx b/docs/content/docs/platform/licensing.mdx
index 6b8cb1df43..deaca83688 100644
--- a/docs/content/docs/platform/licensing.mdx
+++ b/docs/content/docs/platform/licensing.mdx
@@ -1,6 +1,6 @@
---
title: Licensing
-description: Carbon is dual-licensed — AGPLv3 for the open core, a commercial license for Enterprise features and for production or hosted use.
+description: "Carbon is dual-licensed: AGPLv3 for the open core, a commercial license for Enterprise features and for production or hosted use."
---
Carbon's source is public, but using it isn't unconditional. Two licenses govern the code, and which one applies depends on **what you run and how you run it**. This page is the map; the [LICENSE](https://github.com/crbnos/carbon/blob/main/LICENSE) file is the contract.
@@ -9,9 +9,9 @@ Carbon's source is public, but using it isn't unconditional. Two licenses govern
| Edition | What it is | License |
| --- | --- | --- |
-| **Community** | The open core — ERP + MES — self-hosted on your own infrastructure. | AGPLv3 |
+| **Community** | The open core: ERP + MES, self-hosted on your own infrastructure. | AGPLv3 |
| **Enterprise** | Self-hosted Carbon with a commercial license: unlocks Enterprise features and lifts the AGPL copyleft obligation. | Commercial |
-| **Cloud** | Carbon run for you at [app.carbon.ms](https://app.carbon.ms) — billed on the Starter and Business plans. | Commercial |
+| **Cloud** | Carbon run for you at [app.carbon.ms](https://app.carbon.ms), billed on the Starter and Business plans. | Commercial |
Self-hosting (the [Docker + Caddy recipe](/docs/platform/self-hosting/docker-caddy)) runs the **Community** edition by default. A commercial license turns the same hardware into the **Enterprise** edition.
@@ -23,14 +23,14 @@ Most of the repository is the **open core**, licensed under AGPLv3. A defined sl
Everything under `packages/ee` and every file whose name contains `.ee` is Enterprise code. From the LICENSE: *"All content that resides under [...]/packages/ee and all files that contains a `.ee` in this repository require the purchase of a commercial license."*
</Callout>
-That slice is the first-party **integrations** (Slack, Jira, Linear, Xero, OnShape, Zapier) plus other Enterprise features — API keys, webhooks, the audit log, customer portals, storage rules, and email notifications. **Email** and **Exchange Rates** are the exceptions: they're available on every edition. See [Integrations](/docs/integrations) for the catalog.
+That slice is the first-party **integrations** (Slack, Jira, Linear, Xero, OnShape, Zapier) plus other Enterprise features: API keys, webhooks, the audit log, customer portals, storage rules, and email notifications. **Email** and **Exchange Rates** are the exceptions: they're available on every edition. See [Integrations](/docs/integrations) for the catalog.
## The AGPL obligation
AGPLv3 is a **network copyleft** license: modify Carbon, make it available to users over a network, and you must offer those users your complete modified source under the same license. Carbon's license goes one step further than stock AGPL.
<Callout type="note" title="Internal production use still triggers it">
-From the LICENSE: *"any use of this software for internal production use is strictly prohibited unless the modifications are made open-source in accordance with the 'AGPLv3' license or a commercial license is obtained."* Running Carbon in production is fine — but unless you hold a commercial license, your changes have to be published under AGPLv3.
+From the LICENSE: *"any use of this software for internal production use is strictly prohibited unless the modifications are made open-source in accordance with the 'AGPLv3' license or a commercial license is obtained."* Running Carbon in production is fine, but unless you hold a commercial license, your changes have to be published under AGPLv3.
</Callout>
## You can't resell Carbon as a service
@@ -41,15 +41,15 @@ From the LICENSE: *"Any use of this software to sell Carbon source code as a hos
## When you need a commercial license
-[Get a commercial license](mailto:[email protected]) — or just use [Carbon Cloud](https://app.carbon.ms) — if you want to:
+[Get a commercial license](mailto:[email protected]), or just use [Carbon Cloud](https://app.carbon.ms), if you want to:
- **Keep your modifications private** instead of publishing them under AGPLv3.
-- **Use Enterprise features** — the EE integrations and the capabilities listed above.
+- **Use Enterprise features:** the EE integrations and the capabilities listed above.
- **Run Carbon in production** without open-sourcing your changes.
- **Offer Carbon to others** as a hosted service.
Cloud is the managed path; an Enterprise (commercial) license is the self-hosted path. Either one lifts the copyleft obligation and unlocks the full feature set.
<Callout type="info" title="Orientation, not legal advice">
-This page summarizes the terms so you can find the right path quickly. The [LICENSE](https://github.com/crbnos/carbon/blob/main/LICENSE) file is what actually governs — read it in full, and [email us](mailto:[email protected]) if you're unsure which edition fits.
+This page summarizes the terms so you can find the right path quickly. The [LICENSE](https://github.com/crbnos/carbon/blob/main/LICENSE) file is what actually governs. Read it in full, and [email us](mailto:[email protected]) if you're unsure which edition fits.
</Callout>
diff --git a/docs/content/docs/platform/self-hosting/aws-sst.mdx b/docs/content/docs/platform/self-hosting/aws-sst.mdx
index 5b6ab65df7..fd9e77991b 100644
--- a/docs/content/docs/platform/self-hosting/aws-sst.mdx
+++ b/docs/content/docs/platform/self-hosting/aws-sst.mdx
@@ -1,12 +1,12 @@
---
title: AWS with SST
-description: Deploy the Carbon stack to your own AWS account with SST — ECS Fargate, ECR, and a WAF.
+description: "Deploy the Carbon stack to your own AWS account with SST: ECS Fargate, ECR, and a WAF."
---
-One of the [self-hosting](/docs/platform/self-hosting) recipes: deploy Carbon to **AWS** with **SST**. The two apps — ERP and MES — run as containers on **ECS Fargate** behind load balancers, defined in `sst.config.ts` (app `carbon`, home `aws`). For a single-box setup instead, see [Docker with Caddy](/docs/platform/self-hosting/docker-caddy).
+One of the [self-hosting](/docs/platform/self-hosting) recipes: deploy Carbon to **AWS** with **SST**. The two apps, ERP and MES, run as containers on **ECS Fargate** behind load balancers, defined in `sst.config.ts` (app `carbon`, home `aws`). For a single-box setup instead, see [Docker with Caddy](/docs/platform/self-hosting/docker-caddy).
<Callout type="tip" title="Don't want to run any of this?">
-[Carbon Cloud](https://app.carbon.ms) is the hosted edition — we run the whole stack for you, with scaling, backups, upgrades, and uptime handled. Sign up and you're in: no servers to provision, no Supabase to run, no infrastructure to babysit. Self-host only if you specifically need Carbon on your own hardware.
+[Carbon Cloud](https://app.carbon.ms) is the hosted edition. We run the whole stack for you, with scaling, backups, upgrades, and uptime handled. Sign up and you're in: no servers to provision, no Supabase to run, no infrastructure to babysit. Self-host only if you specifically need Carbon on your own hardware.
</Callout>
## What gets provisioned
@@ -16,9 +16,9 @@ One of the [self-hosting](/docs/platform/self-hosting) recipes: deploy Carbon to
| VPC + ECS cluster | `CarbonVpc2` and `CarbonCluster`. |
| `CarbonERPService` | 2 vCPU / 4 GB · port 3000 · health check `/health` · autoscaling 1–10 tasks on CPU and memory. |
| `CarbonMESService` | The same shape, for the MES. |
-| WAF web ACL | `AppAlbWebAcl` — a 1000 requests/IP rate-limit rule plus the AWS managed common rule set. |
+| WAF web ACL | `AppAlbWebAcl`: a 1000 requests/IP rate-limit rule plus the AWS managed common rule set. |
-Container images are pulled from **ECR** (`carbon/erp` and `carbon/mes`), built and pushed by CI — SST does not build them.
+Container images are pulled from **ECR** (`carbon/erp` and `carbon/mes`), built and pushed by CI. SST does not build them.
## Prerequisites
@@ -30,7 +30,7 @@ Container images are pulled from **ECR** (`carbon/erp` and `carbon/mes`), built
| Supabase instance | Provisioned out of band, not by SST. Supplies `SUPABASE_URL`, `SUPABASE_DB_URL`, the keys, and `SUPABASE_JWT_SECRET`. |
<Callout type="warn">
-The WAF web ACL must be **manually associated** with the application load balancer after the first deploy — SST creates it but does not attach it.
+The WAF web ACL must be **manually associated** with the application load balancer after the first deploy. SST creates it but does not attach it.
</Callout>
See [Environment variables](/docs/platform/self-hosting/environment-variables) for the full configuration surface, the [Docker with Caddy](/docs/platform/self-hosting/docker-caddy) recipe for a single VPS, or [Local development](/docs/building/local-development) to run Carbon locally with the `crbn` CLI.
diff --git a/docs/content/docs/platform/self-hosting/docker-caddy.mdx b/docs/content/docs/platform/self-hosting/docker-caddy.mdx
index 35539964fa..a66a99053c 100644
--- a/docs/content/docs/platform/self-hosting/docker-caddy.mdx
+++ b/docs/content/docs/platform/self-hosting/docker-caddy.mdx
@@ -3,12 +3,12 @@ title: Docker with Caddy
description: Self-host the full Carbon stack on a single Linux VPS with a Docker Swarm and an automatic-HTTPS Caddy reverse proxy.
---
-Run all of Carbon on **one Linux VPS**: a single-node [Docker Swarm](https://docs.docker.com/engine/swarm/) running the ERP and MES apps, the full Supabase data plane, Redis, and Inngest, behind a [Caddy](https://caddyserver.com/docs/) reverse proxy that handles TLS for you. Secrets are real **Docker Swarm secrets**, and only ports **80/443** are exposed — everything else stays on a private overlay network.
+Run all of Carbon on **one Linux VPS**: a single-node [Docker Swarm](https://docs.docker.com/engine/swarm/) running the ERP and MES apps, the full Supabase data plane, Redis, and Inngest, behind a [Caddy](https://caddyserver.com/docs/) reverse proxy that handles TLS for you. Secrets are real **Docker Swarm secrets**, and only ports **80/443** are exposed. Everything else stays on a private overlay network.
Everything for this recipe lives in [`contrib/deploying/simple-docker-caddy`](https://github.com/crbnos/carbon/tree/main/contrib/deploying/simple-docker-caddy). The `deploy.sh` script wraps the whole lifecycle.
<Callout type="tip" title="Don't want to run any of this?">
-[Carbon Cloud](https://app.carbon.ms) is the hosted edition — we run the whole stack for you, with scaling, backups, upgrades, and uptime handled. Sign up and you're in: no servers to provision, no Supabase to run, no infrastructure to babysit. Self-host only if you specifically need Carbon on your own hardware.
+[Carbon Cloud](https://app.carbon.ms) is the hosted edition. We run the whole stack for you, with scaling, backups, upgrades, and uptime handled. Sign up and you're in: no servers to provision, no Supabase to run, no infrastructure to babysit. Self-host only if you specifically need Carbon on your own hardware.
</Callout>
## What runs
@@ -19,7 +19,7 @@ Everything for this recipe lives in [`contrib/deploying/simple-docker-caddy`](ht
| `erp`, `mes` | The Carbon apps, built from the repo. Reached at `erp.<domain>` and `mes.<domain>`. |
| `postgres` | Supabase Postgres, tuned on first boot (`pg_stat_statements`, connection limits). |
| `gotrue`, `postgrest`, `realtime`, `storage`, `meta`, `kong` | The Supabase data plane, fronted by Kong at `api.<domain>`. |
-| `studio` | Supabase Studio (DB admin) — internal-only by default. |
+| `studio` | Supabase Studio (DB admin), internal-only by default. |
| `edge-runtime` | Supabase Edge Functions. |
| `redis` | Cache, rate limiting, session state. |
| `inngest` | Background jobs for both apps. |
@@ -28,7 +28,7 @@ Everything for this recipe lives in [`contrib/deploying/simple-docker-caddy`](ht
| Requirement | Details |
| --- | --- |
-| VPS | Ubuntu 22.04+, **≥ 4 GB RAM** to run the stack. Building images on the host needs **~8 GB** — add swap or build elsewhere. |
+| VPS | Ubuntu 22.04+, **≥ 4 GB RAM** to run the stack. Building images on the host needs **~8 GB**. Add swap or build elsewhere. |
| Docker | Docker Engine with the Compose plugin. |
| OpenSSL | `deploy.sh` uses `openssl` to generate secrets and the Supabase JWT keys (usually already present). |
| DNS | `A`/`AAAA` records for your ERP, MES, and Supabase hosts pointing at the VPS (needed for Let's Encrypt). |
@@ -59,7 +59,7 @@ Everything for this recipe lives in [`contrib/deploying/simple-docker-caddy`](ht
<Step>
### Configure
- Edit `.env` — set `CARBON_REPO`, your `*_HOST` / `*_URL` hostnames, `ACME_EMAIL`, and SMTP settings.
+ Edit `.env`: set `CARBON_REPO`, your `*_HOST` / `*_URL` hostnames, `ACME_EMAIL`, and SMTP settings.
```bash
$EDITOR .env
@@ -96,12 +96,12 @@ Everything for this recipe lives in [`contrib/deploying/simple-docker-caddy`](ht
</Steps>
<Callout type="note">
-First boot applies hundreds of migrations. The apps may restart a few times until the schema exists, then settle healthy — watch `./deploy.sh logs erp`.
+First boot applies hundreds of migrations. The apps may restart a few times until the schema exists, then settle healthy. Watch `./deploy.sh logs erp`.
</Callout>
## How secrets work
-Swarm delivers secrets as files under `/run/secrets/`, but the images read configuration from **environment variables** — several of them Postgres connection strings that embed the password. A small entrypoint shim bridges the two: it replaces `__SECRET_NAME__` placeholders in the environment with the contents of the matching secret file, then starts the service.
+Swarm delivers secrets as files under `/run/secrets/`, but the images read configuration from **environment variables**, several of them Postgres connection strings that embed the password. A small entrypoint shim bridges the two: it replaces `__SECRET_NAME__` placeholders in the environment with the contents of the matching secret file, then starts the service.
```yaml
PGRST_DB_URI: postgres://authenticator:__POSTGRES_PASSWORD__@postgres:5432/postgres
@@ -111,7 +111,7 @@ GOTRUE_JWT_SECRET: __JWT_SECRET__
`deploy.sh init` generates `postgres_password`, `session_secret`, the Inngest keys, and the Supabase key trio (`jwt_secret`, `anon_key`, `service_role_key`). You supply `resend_api_key` and `smtp_password`.
<Callout type="warn">
-`inngest_signing_key` must be **plain hex** — the self-hosted Inngest server rejects the `signkey-` prefix. `init` generates it correctly.
+`inngest_signing_key` must be **plain hex**. The self-hosted Inngest server rejects the `signkey-` prefix. `init` generates it correctly.
</Callout>
## Operating
diff --git a/docs/content/docs/platform/self-hosting/environment-variables.mdx b/docs/content/docs/platform/self-hosting/environment-variables.mdx
index 911c2b8d12..3131f32e1c 100644
--- a/docs/content/docs/platform/self-hosting/environment-variables.mdx
+++ b/docs/content/docs/platform/self-hosting/environment-variables.mdx
@@ -5,7 +5,7 @@ description: Every variable that configures a Carbon instance, grouped by concer
Carbon reads its configuration from environment variables. The registry lives in `packages/env`;
`.env.example` is the template; infrastructure-only variables are read by `sst.config.ts`. A minimal
-instance needs the Supabase connection, a session secret, and Redis — everything else activates features
+instance needs the Supabase connection, a session secret, and Redis. Everything else activates features
as you need them.
## Core
@@ -13,7 +13,7 @@ as you need them.
Platform-wide behavior and edition.
<EnvVars>
-<EnvVar name="CARBON_EDITION" type="enum">One of `community`, `cloud`, `enterprise`, or `test` — gates edition-specific features.</EnvVar>
+<EnvVar name="CARBON_EDITION" type="enum">One of `community`, `cloud`, `enterprise`, or `test`. Gates edition-specific features.</EnvVar>
<EnvVar name="CONTROLLED_ENVIRONMENT" type="boolean">Enables ITAR / controlled-environment restrictions.</EnvVar>
<EnvVar name="AUTH_PROVIDERS" type="enum[]">Allowed sign-in methods: `email`, `google`, `azure`, `passkey`.</EnvVar>
<EnvVar name="DOMAIN" type="string">Base domain the apps are served from.</EnvVar>
@@ -29,8 +29,8 @@ Carbon's single Postgres database. All five are required.
<EnvVars>
<EnvVar name="SUPABASE_URL" type="url" required>Supabase project URL.</EnvVar>
-<EnvVar name="SUPABASE_ANON_KEY" type="string" required>Public anon key — browser-safe.</EnvVar>
-<EnvVar name="SUPABASE_SERVICE_ROLE_KEY" type="string" required>Service-role key — server only, never exposed to the client.</EnvVar>
+<EnvVar name="SUPABASE_ANON_KEY" type="string" required>Public anon key, browser-safe.</EnvVar>
+<EnvVar name="SUPABASE_SERVICE_ROLE_KEY" type="string" required>Service-role key, server only, never exposed to the client.</EnvVar>
<EnvVar name="SUPABASE_DB_URL" type="url" required>Direct Postgres connection string.</EnvVar>
<EnvVar name="SUPABASE_JWT_SECRET" type="string" required>Secret used to sign and verify session JWTs.</EnvVar>
</EnvVars>
@@ -43,7 +43,7 @@ Carbon's single Postgres database. All five are required.
<EnvVar name="SUPABASE_AUTH_EXTERNAL_GOOGLE_CLIENT_SECRET" type="string">Google OAuth client secret.</EnvVar>
<EnvVar name="SUPABASE_AUTH_EXTERNAL_AZURE_CLIENT_ID" type="string">Azure OAuth client id, when `azure` is enabled.</EnvVar>
<EnvVar name="SUPABASE_AUTH_EXTERNAL_AZURE_CLIENT_SECRET" type="string">Azure OAuth client secret.</EnvVar>
-<EnvVar name="DEV_BYPASS_EMAIL" type="string">Local only — sign in as this email without a magic link.</EnvVar>
+<EnvVar name="DEV_BYPASS_EMAIL" type="string">Local only. Sign in as this email without a magic link.</EnvVar>
</EnvVars>
Sign-in bot protection uses Cloudflare Turnstile: `CLOUDFLARE_TURNSTILE_SITE_KEY` and
@@ -63,7 +63,7 @@ Sign-in bot protection uses Cloudflare Turnstile: `CLOUDFLARE_TURNSTILE_SITE_KEY
<EnvVars>
<EnvVar name="RESEND_API_KEY" type="string">Resend API key for transactional email.</EnvVar>
<EnvVar name="RESEND_DOMAIN" type="string">Verified sending domain.</EnvVar>
-<EnvVar name="STRIPE_SECRET_KEY" type="string">Stripe secret key — Cloud / Enterprise billing.</EnvVar>
+<EnvVar name="STRIPE_SECRET_KEY" type="string">Stripe secret key, Cloud / Enterprise billing.</EnvVar>
<EnvVar name="STRIPE_WEBHOOK_SECRET" type="string">Verifies inbound Stripe webhooks.</EnvVar>
</EnvVars>
@@ -78,7 +78,7 @@ Sign-in bot protection uses Cloudflare Turnstile: `CLOUDFLARE_TURNSTILE_SITE_KEY
## Integrations
-OAuth credentials for each connector — all optional, set only the ones you use.
+OAuth credentials for each connector, all optional, set only the ones you use.
<EnvVars>
<EnvVar name="XERO_CLIENT_ID" type="string">Xero OAuth client id.</EnvVar>
@@ -106,11 +106,11 @@ Read by `sst.config.ts` at deploy time, not by the app.
<EnvVar name="IMAGE_TAG" type="string" required>ECR image tag to deploy.</EnvVar>
<EnvVar name="CERT_ARN_ERP" type="string">ACM certificate ARN for the ERP domain.</EnvVar>
<EnvVar name="CERT_ARN_MES" type="string">ACM certificate ARN for the MES domain.</EnvVar>
-<EnvVar name="URL_ERP" type="url">Custom ERP domain — overrides the default.</EnvVar>
-<EnvVar name="URL_MES" type="url">Custom MES domain — overrides the default.</EnvVar>
+<EnvVar name="URL_ERP" type="url">Custom ERP domain, overrides the default.</EnvVar>
+<EnvVar name="URL_MES" type="url">Custom MES domain, overrides the default.</EnvVar>
</EnvVars>
<Callout type="warn">
-Older notes list `TRIGGER_*` (Trigger.dev) and `UPSTASH_REDIS_*` variables — those are gone. Jobs run on
+Older notes list `TRIGGER_*` (Trigger.dev) and `UPSTASH_REDIS_*` variables. Those are gone. Jobs run on
Inngest and the cache uses a plain `REDIS_URL`.
</Callout>
diff --git a/docs/content/docs/platform/self-hosting/index.mdx b/docs/content/docs/platform/self-hosting/index.mdx
index 5ab4394533..c48ffc68bd 100644
--- a/docs/content/docs/platform/self-hosting/index.mdx
+++ b/docs/content/docs/platform/self-hosting/index.mdx
@@ -1,18 +1,18 @@
---
title: Self-hosting
-description: Run the whole Carbon stack on your own infrastructure — a single VPS or your own AWS account — instead of Carbon Cloud.
+description: Run the whole Carbon stack on your own infrastructure, a single VPS or your own AWS account, instead of Carbon Cloud.
---
-Carbon can run entirely on hardware you control — the ERP and MES apps plus everything they need: the Supabase data plane (Postgres, Auth, REST, Realtime, Storage, Edge Functions), Redis, and Inngest. This is the alternative to [Carbon Cloud](https://app.carbon.ms), where Carbon runs the whole stack for you.
+Carbon can run entirely on hardware you control, the ERP and MES apps plus everything they need: the Supabase data plane (Postgres, Auth, REST, Realtime, Storage, Edge Functions), Redis, and Inngest. This is the alternative to [Carbon Cloud](https://app.carbon.ms), where Carbon runs the whole stack for you.
## Recipes
<Cards>
<Card title="Docker with Caddy" href="/docs/platform/self-hosting/docker-caddy">
- The whole stack on a single Linux VPS — a single-node Docker Swarm behind an automatic-HTTPS Caddy reverse proxy.
+ The whole stack on a single Linux VPS: a single-node Docker Swarm behind an automatic-HTTPS Caddy reverse proxy.
</Card>
<Card title="AWS with SST" href="/docs/platform/self-hosting/aws-sst">
- The two apps on ECS Fargate, provisioned with SST — for teams that need Carbon inside their own AWS account.
+ The two apps on ECS Fargate, provisioned with SST, for teams that need Carbon inside their own AWS account.
</Card>
</Cards>
diff --git a/docs/content/docs/reference/accounting.mdx b/docs/content/docs/reference/accounting.mdx
index 681c9595cc..b9a581e936 100644
--- a/docs/content/docs/reference/accounting.mdx
+++ b/docs/content/docs/reference/accounting.mdx
@@ -1,35 +1,35 @@
---
title: Accounting & the ledger
-description: How operations become journal entries — accounts, periods, and the postings behind every flow.
+description: "How operations become journal entries: accounts, periods, and the postings behind every flow."
---
Carbon's flows all end the same way: shipping, receiving, finishing a job, depreciating an asset each post to the **<Term id="general-ledger">general ledger</Term>**. This page covers the machinery they share.
## Accounting is a switch
-A company setting, **accounting enabled**, is **off by default**. With it off, the physical world still moves — the item ledger records quantities, orders and jobs change status — but no journal entries are written. Every posting below is gated on it.
+A company setting, **accounting enabled**, is **off by default**. With it off, the physical world still moves (the item ledger records quantities, orders and jobs change status), but no journal entries are written. Every posting below is gated on it.
<Callout type="warn">
-A shop can run operationally — receiving, building, shipping — before it keeps books. Turn accounting on and those same actions begin posting to the ledger; until then the financial entries are simply skipped.
+A shop can run operationally (receiving, building, shipping) before it keeps books. Turn accounting on and those same actions begin posting to the ledger; until then the financial entries are simply skipped.
</Callout>
## The journal
-Every <Term id="posting">posting</Term> is a **<Term>journal</Term>** with balanced **journal lines** — debits positive, credits negative. The journal carries a **source type** naming what produced it; each line carries an account and can be tagged with dimensions. A journal is *Posted* (the normal state), *Draft*, or *Reversed* — voiding writes a reversing journal rather than deleting one.
+Every <Term id="posting">posting</Term> is a **<Term>journal</Term>** with balanced **journal lines**: debits positive, credits negative. The journal carries a **source type** naming what produced it; each line carries an account and can be tagged with dimensions. A journal is *Posted* (the normal state), *Draft*, or *Reversed* — voiding writes a reversing journal rather than deleting one.
| Source type | Posted by |
| --- | --- |
-| Sales Shipment | Posting a shipment — relieves inventory to COGS. |
-| Sales Invoice | Posting a sales invoice — receivable against revenue. |
-| Purchase Receipt | Posting a receipt — inventory or WIP against GR/IR. |
-| Purchase Invoice | Posting a supplier bill — payables, clearing GR/IR. |
+| Sales Shipment | Posting a shipment: relieves inventory to COGS. |
+| Sales Invoice | Posting a sales invoice: receivable against revenue. |
+| Purchase Receipt | Posting a receipt: inventory or WIP against GR/IR. |
+| Purchase Invoice | Posting a supplier bill: payables, clearing GR/IR. |
| Job Consumption / Production Event / Job Receipt | A job consuming material, logging time, and finishing into inventory. |
| Job Close | Sweeping a job's residual work-in-process to variance. |
| Asset Depreciation / Asset Disposal | Depreciation runs and asset write-offs. |
## Accounts come from one place
-Carbon resolves the accounts to post to from a **single company-level set of defaults** — there are no per-group posting groups. The ones that recur across the flows:
+Carbon resolves the accounts to post to from a **single company-level set of defaults**. There are no per-group posting groups. The ones that recur across the flows:
| Account | Used for |
| --- | --- |
@@ -42,17 +42,17 @@ Carbon resolves the accounts to post to from a **single company-level set of def
## Dimensions
-A journal line can be tagged with **dimensions** — location, department, cost center, item posting group, work center, process, fixed-asset class. The same handful of accounts can then be sliced for reporting without multiplying the chart of accounts.
+A journal line can be tagged with **dimensions**: location, department, cost center, item posting group, work center, process, fixed-asset class. The same handful of accounts can then be sliced for reporting without multiplying the chart of accounts.
## Periods
-Every posting lands in an **<Term id="accounting-period">accounting period</Term>**. A period is a current-period pointer — *Active* or *Inactive* — created and activated on demand as you post. There's no hard period-close that blocks posting; the period simply follows the postings.
+Every posting lands in an **<Term id="accounting-period">accounting period</Term>**. A period is a current-period pointer, *Active* or *Inactive*, created and activated on demand as you post. There's no hard period-close that blocks posting; the period simply follows the postings.
## Related
<Cards>
<Card title="Manufacturing accounting" href="/guides/job-costing">
- The job-cost postings — consumption, production events, close.
+ The job-cost postings: consumption, production events, close.
</Card>
<Card title="Ship, invoice, get paid" href="/guides/order-to-cash">
Where the sales shipment and invoice postings come from.
diff --git a/docs/content/docs/reference/approvals.mdx b/docs/content/docs/reference/approvals.mdx
index 1574b4f89b..74b0e1a7a9 100644
--- a/docs/content/docs/reference/approvals.mdx
+++ b/docs/content/docs/reference/approvals.mdx
@@ -1,10 +1,10 @@
---
title: Approvals
-description: Route purchase orders, quality documents, and suppliers for sign-off before they take effect — with amount-tiered approval rules.
+description: Route purchase orders, quality documents, and suppliers for sign-off before they take effect, with amount-tiered approval rules.
---
An **approval** holds a document in a pending state until someone authorized signs off. Carbon decides
-whether a document needs approval — and who may grant it — from per-company **approval rules**. A rule
+whether a document needs approval, and who may grant it, from per-company **approval rules**. A rule
exists per document type; for <Term id="purchase-order">purchase orders</Term> it can also carry an amount tier, so a small order goes
through untouched while a large one waits for the right person.
@@ -18,7 +18,7 @@ Three document types support approval, each with its own pending status:
| Document | Pending status | Approved → | Rejected → | Amount-tiered? |
| --- | --- | --- | --- | --- |
-| Purchase order | "Needs Approval" | recomputed (e.g. "To Receive") | "Rejected" | Yes — the order total |
+| Purchase order | "Needs Approval" | recomputed (e.g. "To Receive") | "Rejected" | Yes, the order total |
| Quality document | "Draft" | "Active" | stays "Draft" | No |
| Supplier | "Pending" | "Active" | "Rejected" | No |
@@ -32,25 +32,25 @@ minimum is 0), so for them approval is simply on or off.
Rules live under **Settings → Approval Rules**, grouped by document type. Each rule:
<FieldTable>
- <Field name="Minimum amount">The tier floor — approval applies at or above this, up to the next rule's minimum. (Purchase orders only.)</Field>
+ <Field name="Minimum amount">The tier floor: approval applies at or above this, up to the next rule's minimum. (Purchase orders only.)</Field>
<Field name="Who can approve">Groups **and/or** individual users eligible to decide.</Field>
<Field name="Default approver">A named fallback approver for the tier.</Field>
<Field name="Enabled">Whether the rule is live.</Field>
</FieldTable>
-For purchase orders, several rules form **amount tiers** — each band runs from its minimum up to the next
+For purchase orders, several rules form **amount tiers**. Each band runs from its minimum up to the next
rule's minimum, and the top tier is "over $X". An order matches the single highest tier its total clears.
<Callout type="note">
There's **no global "require approval" switch.** A document type needs approval only while an **enabled**
-rule exists for it — disable or delete the rule and those documents finalize directly.
+rule exists for it. Disable or delete the rule and those documents finalize directly.
</Callout>
## Who can approve
A user may decide a request if they're the tier's **default approver**, are listed directly under **who can
approve**, or belong to one of the groups listed there. Authority is otherwise governed by ordinary module
-permissions — purchase-order and supplier decisions need purchasing access, quality decisions need quality
+permissions: purchase-order and supplier decisions need purchasing access, quality decisions need quality
access; editing rules needs settings access.
<Callout type="warn">
@@ -66,13 +66,13 @@ optional note. Approving runs the document's transition in one step; rejecting m
state (a quality document simply stays in **"Draft"**). The person who raised the request can also **cancel**
it while it's still pending.
-Carbon notifies the resolved approvers when a request is raised, and the requester when it's decided — over
+Carbon notifies the resolved approvers when a request is raised, and the requester when it's decided, over
**email, Slack, and in-app**. For purchase orders, approvers of lower tiers are also notified so they can see
spend that cleared above their level.
<Callout type="warn">
Approval is **single-step, not a chain.** One matching rule is selected and **one** approver's decision
-finalizes the document — there are no sequential stages, parallel sign-offs, quorums, or delegation. The
+finalizes the document. There are no sequential stages, parallel sign-offs, quorums, or delegation. The
amount tiers choose *which rule applies*, not a series of steps a request walks through.
</Callout>
diff --git a/docs/content/docs/reference/fixed-assets.mdx b/docs/content/docs/reference/fixed-assets.mdx
index 806c880d39..6bab234fa0 100644
--- a/docs/content/docs/reference/fixed-assets.mdx
+++ b/docs/content/docs/reference/fixed-assets.mdx
@@ -1,9 +1,9 @@
---
title: Fixed assets
-description: Capital equipment on the books — acquired, depreciated, and retired.
+description: "Capital equipment on the books: acquired, depreciated, and retired."
---
-A **fixed asset** is a piece of capital equipment you capitalize and depreciate rather than expense — a press, a CNC, a forklift. It's an accounting record of value over time, distinct from the <Term>work center</Term> that represents the same machine on the floor. Every asset belongs to an **<Term>asset class</Term>**, which supplies the general-ledger accounts it posts to.
+A **fixed asset** is a piece of capital equipment you capitalize and depreciate rather than expense: a press, a CNC, a forklift. It's an accounting record of value over time, distinct from the <Term>work center</Term> that represents the same machine on the floor. Every asset belongs to an **<Term>asset class</Term>**, which supplies the general-ledger accounts it posts to.
## Lifecycle
@@ -18,8 +18,8 @@ A **fixed asset** is a piece of capital equipment you capitalize and depreciate
An asset comes onto the books two ways, both starting at **Draft**:
-- **Register** one you already own — supply its acquisition cost and depreciation start date, and it moves to **Active**. No money posts; you're recording something you have.
-- **Buy** one through purchasing — a <Term id="purchase-order">purchase-order</Term> line of type *Fixed Asset* that, when the receipt posts, debits the asset account, **adds** the cost to the asset, and flips it to **Active**.
+- **Register** one you already own: supply its acquisition cost and depreciation start date, and it moves to **Active**. No money posts; you're recording something you have.
+- **Buy** one through purchasing: a <Term id="purchase-order">purchase-order</Term> line of type *Fixed Asset* that, when the receipt posts, debits the asset account, **adds** the cost to the asset, and flips it to **Active**.
<Callout type="note">
The purchase-receipt path activates the asset and posts its acquisition entry **only when accounting is enabled** for the company. Cost is added cumulatively, so an asset can accrue value across several receipts; with accounting off, the line is received but the asset is left in Draft.
@@ -27,9 +27,9 @@ The purchase-receipt path activates the asset and posts its acquisition entry **
## Depreciating
-<Term id="depreciation">Depreciation</Term> runs as a **monthly batch you trigger** — there's no background poster. You create a run for a period, Carbon pulls every Active asset and computes each charge, you review it as a draft, then post: debit depreciation expense, credit accumulated depreciation. Carbon keeps a separate **tax** book too, including <Term>MACRS</Term>, when tax depreciation is enabled. When an asset's <Term id="net-book-value">net book value</Term> reaches its residual, posting flips it to **Fully Depreciated**.
+<Term id="depreciation">Depreciation</Term> runs as a **monthly batch you trigger**. There's no background poster. You create a run for a period, Carbon pulls every Active asset and computes each charge, you review it as a draft, then post: debit depreciation expense, credit accumulated depreciation. Carbon keeps a separate **tax** book too, including <Term>MACRS</Term>, when tax depreciation is enabled. When an asset's <Term id="net-book-value">net book value</Term> reaches its residual, posting flips it to **Fully Depreciated**.
-Book depreciation follows the asset's method — <Term id="straight-line">straight line</Term>, <Term id="declining-balance">declining balance</Term>, or units of production.
+Book depreciation follows the asset's method: <Term id="straight-line">straight line</Term>, <Term id="declining-balance">declining balance</Term>, or units of production.
## Selling vs. disposing
@@ -38,23 +38,23 @@ An Active or Fully Depreciated asset leaves the books two different ways:
| | Sell | Dispose |
| --- | --- | --- |
| Who | A sales action | An accounting action |
-| What happens | Drafts a **sales order** for the asset at its net book value | Posts a **write-off** — clears accumulated depreciation, removes the asset at cost |
+| What happens | Drafts a **sales order** for the asset at its net book value | Posts a **write-off**: clears accumulated depreciation, removes the asset at cost |
| Asset status | Unchanged (stays Active) | **Disposed** |
| Money | Collected through the invoice, like any sale | Remaining book value booked as a loss |
<Callout type="warn">
-Selling and disposing are **not** two names for one thing. Selling hands the asset to the normal quote-to-cash flow at book value and leaves it on the books; disposing retires it directly as a write-off. <Term id="disposal">Disposal</Term> today is scrapping at a loss — there's no proceeds-based gain calculation wired up.
+Selling and disposing are **not** two names for one thing. Selling hands the asset to the normal quote-to-cash flow at book value and leaves it on the books; disposing retires it directly as a write-off. <Term id="disposal">Disposal</Term> today is scrapping at a loss. There's no proceeds-based gain calculation wired up.
</Callout>
<Callout type="info">
-A fixed asset is **not** the same record as a work center. The machine you schedule production on and the machine you depreciate are tracked independently — Carbon keeps no link between them.
+A fixed asset is **not** the same record as a work center. The machine you schedule production on and the machine you depreciate are tracked independently. Carbon keeps no link between them.
</Callout>
## Related
<Cards>
<Card title="Manufacturing accounting" href="/guides/fixed-assets-acquire">
- The narrative — putting a machine on the books and writing it down.
+ The narrative: putting a machine on the books and writing it down.
</Card>
<Card title="Accounting" href="/docs/reference/accounting">
Where an asset's acquisition, depreciation, and disposal entries land.
diff --git a/docs/content/docs/reference/inventory.mdx b/docs/content/docs/reference/inventory.mdx
index e5e98cfeae..3d9e66a257 100644
--- a/docs/content/docs/reference/inventory.mdx
+++ b/docs/content/docs/reference/inventory.mdx
@@ -3,15 +3,15 @@ title: Inventory & locations
description: Where stock lives, how on-hand is tracked, and how it moves.
---
-Stock in Carbon lives at a **location** and, within it, in a **storage unit**. What's actually on hand is derived from a ledger of movements — not a single editable number — so every quantity has a trail behind it.
+Stock in Carbon lives at a **location** and, within it, in a **storage unit**. What's actually on hand is derived from a ledger of movements, not a single editable number, so every quantity has a trail behind it.
## Locations and storage units
-A **location** is a site or warehouse. Within one, stock sits in **storage units** — bins and shelves that can nest (aisle › shelf › bin) and be typed (cold, hazardous, returns). A storage unit attached to a work center is a **lineside** bin, used to stage material at the point of use; everything else is a warehouse bin.
+A **location** is a site or warehouse. Within one, stock sits in **storage units**: bins and shelves that can nest (aisle › shelf › bin) and be typed (cold, hazardous, returns). A storage unit attached to a work center is a **lineside** bin, used to stage material at the point of use; everything else is a warehouse bin.
## On hand is a ledger
-The **<Term id="item-ledger">item ledger</Term>** is the source of truth. On-hand is the sum of its signed movements — <Term id="receipt">receipts</Term> and outputs add, sales and consumption subtract, transfers move between places. A cached per-location quantity exists for quick reads, but the ledger is what's authoritative.
+The **<Term id="item-ledger">item ledger</Term>** is the source of truth. On-hand is the sum of its signed movements: <Term id="receipt">receipts</Term> and outputs add, sales and consumption subtract, transfers move between places. A cached per-location quantity exists for quick reads, but the ledger is what's authoritative.
| Entry type | Effect |
| --- | --- |
@@ -21,11 +21,11 @@ The **<Term id="item-ledger">item ledger</Term>** is the source of truth. On-han
| Transfer | Movement between locations or storage units. |
<Callout type="note">
-Read on-hand from the **ledger**, not the cached quantity table — the ledger is the truth, and it's status-aware (it can separate what's on hold or rejected from what's truly available).
+Read on-hand from the **ledger**, not the cached quantity table. The ledger is the truth, and it's status-aware (it can separate what's on hold or rejected from what's truly available).
</Callout>
<Callout type="warn">
-On hand can go **negative**. Shipping, issuing to a job, and picking all post their movements without first checking availability — Carbon would rather let the work proceed and reconcile later than block the floor. Only manual negative adjustments are guarded against overdraw.
+On hand can go **negative**. Shipping, issuing to a job, and picking all post their movements without first checking availability. Carbon would rather let the work proceed and reconcile later than block the floor. Only manual negative adjustments are guarded against overdraw.
</Callout>
## Movements
diff --git a/docs/content/docs/reference/invoices.mdx b/docs/content/docs/reference/invoices.mdx
index fd5ed199de..a4884a4a4d 100644
--- a/docs/content/docs/reference/invoices.mdx
+++ b/docs/content/docs/reference/invoices.mdx
@@ -7,10 +7,10 @@ An **invoice** records money owed. Carbon has two kinds that behave almost ident
## Where they come from
-A **sales invoice** is raised from a <Term id="sales-order">sales order</Term>, or from a **<Term id="shipment">posted shipment</Term>** — billing on the order or billing on what actually shipped. A **purchase invoice** is raised from a <Term id="purchase-order">purchase order</Term>, keeping the lines that still have something to bill. Either way the new invoice opens at **Draft**, fully editable, and links each line back to the order line it bills.
+A **sales invoice** is raised from a <Term id="sales-order">sales order</Term>, or from a **<Term id="shipment">posted shipment</Term>**: billing on the order or billing on what actually shipped. A **purchase invoice** is raised from a <Term id="purchase-order">purchase order</Term>, keeping the lines that still have something to bill. Either way the new invoice opens at **Draft**, fully editable, and links each line back to the order line it bills.
<Callout type="note">
-A purchase invoice reconciles on the **purchase order line**, not on a <Term id="receipt">receipt</Term> — there's no direct receipt link, and a receipt isn't even required to bill. Posting clears the <Term id="gr-ir">goods-received-not-invoiced</Term> accrual against the shared order line and books any price difference to <Term id="purchase-price-variance">variance</Term>.
+A purchase invoice reconciles on the **purchase order line**, not on a <Term id="receipt">receipt</Term>. There's no direct receipt link, and a receipt isn't even required to bill. Posting clears the <Term id="gr-ir">goods-received-not-invoiced</Term> accrual against the shared order line and books any price difference to <Term id="purchase-price-variance">variance</Term>.
</Callout>
## Status lifecycle
@@ -26,11 +26,11 @@ Both start at **Draft** and lock the moment they leave it — numbers that have
| Credit | Credit Note Issued | Debit Note Issued, Return |
| Past due | Overdue | Overdue |
-The posted state has a different name on each side — **Submitted** for sales, **Open** for purchase — but means the same thing: posted to the ledger, awaiting payment. **Overdue** isn't set by hand; it's computed when an unpaid invoice passes its due date.
+The posted state has a different name on each side, **Submitted** for sales and **Open** for purchase, but means the same thing: posted to the ledger, awaiting payment. **Overdue** isn't set by hand; it's computed when an unpaid invoice passes its due date.
## Posting
-<Term id="posting">Posting</Term> an invoice writes its general-ledger entries — receivables against sales for a sale, payables against inventory or WIP for a purchase — but only when accounting is enabled for the company. Posting also bumps the invoiced quantity on each order line and stamps the posting date.
+<Term id="posting">Posting</Term> an invoice writes its general-ledger entries, but only when accounting is enabled for the company: receivables against sales for a sale, payables against inventory or WIP for a purchase. Posting also bumps the invoiced quantity on each order line and stamps the posting date.
<Callout type="warn">
Posting never marks an invoice **Paid** — it lands on **Submitted** or **Open**. Recording payment is a separate, deliberate step. A posted invoice can't be deleted either; to undo one you **void** it, which writes reversing entries rather than erasing history.
@@ -38,7 +38,7 @@ Posting never marks an invoice **Paid** — it lands on **Submitted** or **Open*
## Payment
-Payment in Carbon is **field-based**: an invoice carries its own status, paid date, and balance. There's no separate payment transaction — marking an invoice **Paid** stamps the date and settles the balance. That keeps the whole money story on one record, from draft through posted to paid.
+Payment in Carbon is **field-based**: an invoice carries its own status, paid date, and balance. There's no separate payment transaction. Marking an invoice **Paid** stamps the date and settles the balance. That keeps the whole money story on one record, from draft through posted to paid.
## Related
diff --git a/docs/content/docs/reference/items.mdx b/docs/content/docs/reference/items.mdx
index a8e638e360..004175f2ba 100644
--- a/docs/content/docs/reference/items.mdx
+++ b/docs/content/docs/reference/items.mdx
@@ -1,19 +1,19 @@
---
title: Items
-description: The master record for everything you make, buy, or stock — parts, materials, tools, and more.
+description: "The master record for everything you make, buy, or stock: parts, materials, tools, and more."
---
-An **item** is the master record for anything Carbon tracks: a finished part, a raw material, a tool, a consumable. Orders, <Term id="method">methods</Term>, <Term id="job">jobs</Term>, and inventory all point back to it. Its human-facing **part number** is the readable id — the underlying id is an internal key you rarely see.
+An **item** is the master record for anything Carbon tracks: a finished part, a raw material, a tool, a consumable. Orders, <Term id="method">methods</Term>, <Term id="job">jobs</Term>, and inventory all point back to it. Its human-facing **part number** is the readable id. The underlying id is an internal key you rarely see.
-An item's type, how it's replenished, and how it's tracked decide how it behaves everywhere downstream — whether it can be made or only bought, whether stock is counted, whether each unit needs a <Term id="serial">serial</Term>. Get the item right and the rest of the system follows.
+An item's type, how it's replenished, and how it's tracked decide how it behaves everywhere downstream: whether it can be made or only bought, whether stock is counted, whether each unit needs a <Term id="serial">serial</Term>. Get the item right and the rest of the system follows.
## Fields
<FieldTable>
<Field name="Part number" type="text">The readable id; with a non-zero revision it reads as `id.rev`.</Field>
<Field name="Type" type="enum">*Part*, *Material*, *Tool*, *Consumable*, *Service*, or *Fixture*.</Field>
- <Field name="Replenishment system" type="enum">How it's sourced overall — *Buy*, *Make*, or *Buy and Make*.</Field>
- <Field name="Default method type" type="enum">The default per-line fulfillment — *Purchase to Order*, *Pull from Inventory*, or *Make to Order*.</Field>
+ <Field name="Replenishment system" type="enum">How it's sourced overall: *Buy*, *Make*, or *Buy and Make*.</Field>
+ <Field name="Default method type" type="enum">The default per-line fulfillment: *Purchase to Order*, *Pull from Inventory*, or *Make to Order*.</Field>
<Field name="Tracking type" type="enum">*Inventory*, *Non-Inventory*, *Serial*, or *Batch*.</Field>
<Field name="Unit of measure" type="reference">The stock unit.</Field>
<Field name="Active" type="boolean">Whether it can be used on new documents.</Field>
@@ -32,7 +32,7 @@ The tracking type sets how units are counted. *Inventory* items are quantity-tra
Each revision of a part is its **own item record**, sharing the same part number but a different revision. A design change creates a new revision rather than rewriting the old one, so jobs built against an earlier revision keep their history.
<Callout type="info">
-An item's <Term>costing method</Term> — *Standard*, *Average*, *FIFO*, or *LIFO* — lives on its cost record, not the item itself, and decides how consumption is valued.
+An item's <Term>costing method</Term>, one of *Standard*, *Average*, *FIFO*, or *LIFO*, lives on its cost record, not the item itself, and decides how consumption is valued.
</Callout>
## Related
diff --git a/docs/content/docs/reference/jobs.mdx b/docs/content/docs/reference/jobs.mdx
index 7ef76d2998..65cb5e2bde 100644
--- a/docs/content/docs/reference/jobs.mdx
+++ b/docs/content/docs/reference/jobs.mdx
@@ -27,21 +27,21 @@ A job's status drives what you can do with it and what the floor sees.
<StatusFlow entity="job">
<Status name="Draft">Created and editable; not yet planned or scheduled.</Status>
<Status name="Planned">Demand is visible to planning, but no work is on the board yet.</Status>
- <Status name="Ready" accent>Released — operations are scheduled and material requirements raised.</Status>
+ <Status name="Ready" accent>Released: operations are scheduled and material requirements raised.</Status>
<Status name="In Progress">The first production event has been logged against it.</Status>
<Status name="Paused" branch>Work is temporarily halted.</Status>
<Status name="Completed">Every operation is done; finished goods have been received into inventory.</Status>
- <Status name="Closed">The books are settled — any residual work-in-process is swept to variance.</Status>
+ <Status name="Closed">The books are settled. Any residual work-in-process is swept to variance.</Status>
<Status name="Cancelled" terminal>Abandoned before completion.</Status>
</StatusFlow>
<Callout type="info">
-A **Completed**, **Closed**, or **Cancelled** job is locked — its method, quantity, and dates can no longer be edited. Closing is what makes a job's work-in-process provably zero.
+A **Completed**, **Closed**, or **Cancelled** job is locked. Its method, quantity, and dates can no longer be edited. Closing is what makes a job's work-in-process provably zero.
</Callout>
## Make to order vs. make to stock
-A job is identical whichever way it's raised — only its source differs. A **<Term id="make-to-order">make-to-order</Term>** job links back to a sales order line; a **make-to-stock** job comes from <Term id="mrp">planning</Term> with no order behind it. Either way the job completes into inventory first, and the sale (if any) ships from stock — the job never ships directly to a customer.
+A job is identical whichever way it's raised. Only its source differs. A **<Term id="make-to-order">make-to-order</Term>** job links back to a sales order line; a **make-to-stock** job comes from <Term id="mrp">planning</Term> with no order behind it. Either way the job completes into inventory first, and the sale (if any) ships from stock — the job never ships directly to a customer.
<Callout type="note">
Releasing a job copies the part's method into a job-specific copy. Editing that copy never touches the part master, and updating the part never disturbs a job already in flight.
diff --git a/docs/content/docs/reference/maintenance.mdx b/docs/content/docs/reference/maintenance.mdx
index 76e0460c7f..1db7140ab1 100644
--- a/docs/content/docs/reference/maintenance.mdx
+++ b/docs/content/docs/reference/maintenance.mdx
@@ -1,9 +1,9 @@
---
title: Maintenance
-description: Keeping work centers running — reactive and preventive maintenance dispatches.
+description: "Keeping work centers running: reactive and preventive maintenance dispatches."
---
-Maintenance in Carbon keeps the machines on the floor running. The unit of work is a **dispatch** — a work-order-like record raised against a **<Term>work center</Term>**, either reactively when something breaks or on a recurring preventive schedule. Execution happens on the floor in MES; authoring and reporting live in the back office under Resources.
+Maintenance in Carbon keeps the machines on the floor running. The unit of work is a **dispatch**, a work-order-like record raised against a **<Term>work center</Term>**, raised either reactively when something breaks or on a recurring preventive schedule. Execution happens on the floor in MES; authoring and reporting live in the back office under Resources.
## Dispatches
@@ -13,30 +13,30 @@ A **maintenance dispatch** is one job of upkeep: what's wrong, which work center
<Status name="Open">Raised, not yet picked up.</Status>
<Status name="Assigned">Given to someone.</Status>
<Status name="In Progress">Being worked, with the clock running.</Status>
- <Status name="Completed" accent>Done — any running time entries are closed automatically.</Status>
+ <Status name="Completed" accent>Done. Any running time entries are closed automatically.</Status>
<Status name="Cancelled" terminal>Dropped without completing.</Status>
</StatusFlow>
-Every dispatch carries a **priority** (Low, Medium, High, Critical) and a **source** that says where it came from: **Reactive** (a breakdown — the default), **Scheduled** (generated from a preventive schedule), or **Non-Conformance** (raised from a <Term id="nonconformance">quality issue</Term>). Time is tracked as events against the dispatch, and parts as dispatch items.
+Every dispatch carries a **priority** (Low, Medium, High, Critical) and a **source** that says where it came from: **Reactive** (a breakdown, the default), **Scheduled** (generated from a preventive schedule), or **Non-Conformance** (raised from a <Term id="nonconformance">quality issue</Term>). Time is tracked as events against the dispatch, and parts as dispatch items.
## What it's against
A dispatch is attached to a **work center** and its location — the machine being maintained.
<Callout type="note">
-Maintenance targets a **work center**, not a <Term id="fixed-asset">fixed asset</Term> or an equipment record. The same physical machine may also be a depreciable fixed asset, but Carbon keeps those independent — maintenance is about keeping the *production resource* available, not about the asset's book value.
+Maintenance targets a **work center**, not a <Term id="fixed-asset">fixed asset</Term> or an equipment record. The same physical machine may also be a depreciable fixed asset, but Carbon keeps those independent. Maintenance is about keeping the *production resource* available, not about the asset's book value.
</Callout>
## Preventive schedules
-Recurring upkeep is defined as a **maintenance schedule**: a work center, a **frequency** (Daily, Weekly, Monthly, Quarterly, Annual), the parts it needs, and how far in advance to raise the work. A daily background job reads the active schedules and, when one is due within the advance window, generates an **Open** dispatch — tagged `Scheduled` and `Preventive`, with the schedule's parts copied onto it. Daily schedules honor per-weekday flags and can skip holidays.
+Recurring upkeep is defined as a **maintenance schedule**: a work center, a **frequency** (Daily, Weekly, Monthly, Quarterly, Annual), the parts it needs, and how far in advance to raise the work. A daily background job reads the active schedules and, when one is due within the advance window, generates an **Open** dispatch, tagged `Scheduled` and `Preventive`, with the schedule's parts copied onto it. Daily schedules honor per-weekday flags and can skip holidays.
## Blocking and OEE impact
-Each dispatch declares its **OEE impact** — `Down`, `Planned`, `Impact`, or `No Impact`. This is an **availability gate**, not a metric.
+Each dispatch declares its **OEE impact**: `Down`, `Planned`, `Impact`, or `No Impact`. This is an **availability gate**, not a metric.
<Callout type="warn">
-A dispatch marked **Down** or **Planned** blocks its work center: on the floor, a blocked work center **cannot start a production operation** until the maintenance clears. There is no OEE percentage or uptime ratio in Carbon — the impact value exists to gate work, not to score it. Maintenance analytics are reliability KPIs (MTTR, MTBF, spare-part cost) computed from dispatch event durations.
+A dispatch marked **Down** or **Planned** blocks its work center: on the floor, a blocked work center **cannot start a production operation** until the maintenance clears. There is no OEE percentage or uptime ratio in Carbon. The impact value exists to gate work, not to score it. Maintenance analytics are reliability KPIs (MTTR, MTBF, spare-part cost) computed from dispatch event durations.
</Callout>
## Material and cost
@@ -44,7 +44,7 @@ A dispatch marked **Down** or **Planned** blocks its work center: on the floor,
Parts used in maintenance are issued from inventory, drawing stock down through the <Term id="item-ledger">item ledger</Term> as a *Maintenance Consumption* movement.
<Callout type="info">
-Maintenance material is an **inventory movement only** — it posts to the item ledger but writes **no** general-ledger entry, regardless of whether accounting is enabled. It reduces what's on hand; it doesn't hit the books.
+Maintenance material is an **inventory movement only**. It posts to the item ledger but writes **no** general-ledger entry, regardless of whether accounting is enabled. It reduces what's on hand; it doesn't hit the books.
</Callout>
## Related
diff --git a/docs/content/docs/reference/methods.mdx b/docs/content/docs/reference/methods.mdx
index eefbcd69e9..a3af602456 100644
--- a/docs/content/docs/reference/methods.mdx
+++ b/docs/content/docs/reference/methods.mdx
@@ -1,6 +1,6 @@
---
title: Methods & sourcing
-description: How Carbon decides whether each part is made, bought, or pulled from stock — and how a job gets its own copy of the recipe.
+description: How Carbon decides whether each part is made, bought, or pulled from stock, and how a job gets its own copy of the recipe.
---
A part's **manufacturing method** is its recipe: the **method materials** (its bill of materials) and the
@@ -14,8 +14,8 @@ bill of materials that uses the item mirrors it.
| Method type | What happens |
| --- | --- |
-| Make to Order | Manufactured in-house — becomes its own job with a routing. |
-| Purchase to Order | Purchased — flows through purchasing as a purchase order. |
+| Make to Order | Manufactured in-house. Becomes its own job with a routing. |
+| Purchase to Order | Purchased. Flows through purchasing as a purchase order. |
| Pull from Inventory | Pulled from stock when its parent is built. |
<Callout type="info">
@@ -27,9 +27,9 @@ method that references the part — draft methods only; active and archived meth
These are two different questions, and Carbon keeps them separate:
-- **Method type** answers *how does this part get into its parent?* — <Term>Make to Order</Term>, <Term>Purchase to Order</Term>, or <Term>Pull from Inventory</Term>.
+- **Method type** answers *how does this part get into its parent?* <Term>Make to Order</Term>, <Term>Purchase to Order</Term>, or <Term>Pull from Inventory</Term>.
- **Replenishment system** answers *how is this part replenished overall, and which planning queue does it
- land in?* — `Buy`, `Make`, or `Buy and Make`.
+ land in?* `Buy`, `Make`, or `Buy and Make`.
A part can be made for one parent and pulled from stock for another; the replenishment system is what
planning reads to decide between a job and a purchase order.
@@ -46,12 +46,12 @@ A **Make to Order** item inside a bill of materials is one of two things:
## Get Method
-When you create a job, Carbon runs **Get Method** — it copies the part's method into a job-specific copy.
+When you create a job, Carbon runs **Get Method**. It copies the part's method into a job-specific copy.
The job edits that copy; the part master is never touched silently. Push a proven change back up and the
next job inherits it.
<Callout type="info">
-Methods are versioned — **Draft**, **Active**, or **Archived**. Only a Draft is editable; an Active method
+Methods are versioned: **Draft**, **Active**, or **Archived**. Only a Draft is editable; an Active method
is frozen so jobs already running against it don't shift mid-build.
</Callout>
diff --git a/docs/content/docs/reference/planning.mdx b/docs/content/docs/reference/planning.mdx
index 585c7ef44b..3864500d88 100644
--- a/docs/content/docs/reference/planning.mdx
+++ b/docs/content/docs/reference/planning.mdx
@@ -3,7 +3,7 @@ title: Planning (MRP)
description: How demand turns into suggested jobs and purchase orders — and where that ends and scheduling begins.
---
-Planning answers one question: *what should we make or buy, and how much?* Carbon's <Term>MRP</Term> looks at everything you owe and everything you have coming, and turns the gap into suggested orders — which you choose to act on.
+Planning answers one question: *what should we make or buy, and how much?* Carbon's <Term>MRP</Term> looks at everything you owe and everything you have coming, and turns the gap into suggested orders that you choose to act on.
Without planning you'd reorder by hand. MRP nets demand against supply across the whole <Term id="bom">bill of materials</Term>, so a shortfall on a top-level robot surfaces as the right quantity of every component, offset for its <Term>lead time</Term> — before you're caught short.
@@ -11,8 +11,8 @@ Without planning you'd reorder by hand. MRP nets demand against supply across th
Planning runs in two distinct passes, and conflating them is the usual mistake:
-1. **MRP — explode and net.** The engine explodes demand through bills of material, nets it against on-hand plus open jobs and purchase orders, and writes period-bucketed demand and supply forecasts. It does **not** apply <Term id="reorder-point">reorder points</Term> and does **not** create orders.
-2. **Planning views — suggest a quantity.** The production and purchasing planning pages read those forecasts, project running stock week by week, and apply each item's **<Term id="reordering-policy">reorder policy</Term>** to propose a quantity to order.
+1. **MRP, explode and net.** The engine explodes demand through bills of material, nets it against on-hand plus open jobs and purchase orders, and writes period-bucketed demand and supply forecasts. It does **not** apply <Term id="reorder-point">reorder points</Term> and does **not** create orders.
+2. **Planning views, suggest a quantity.** The production and purchasing planning pages read those forecasts, project running stock week by week, and apply each item's **<Term id="reordering-policy">reorder policy</Term>** to propose a quantity to order.
<Callout type="note">
MRP **suggests, it never auto-orders.** The engine only writes forecasts; turning a suggestion into a real job or PO is an explicit action you take on the planning page.
@@ -30,7 +30,7 @@ MRP **suggests, it never auto-orders.** The engine only writes forecasts; turnin
## Reorder policy
-Each item, per location, carries a **reordering policy** that decides how a suggestion is sized — *Manual Reorder* (suggests nothing), *Demand-Based Reorder* (the default), *Fixed Reorder Quantity*, or *Maximum Quantity* — tuned by reorder point, order quantity, accumulation period, and min/max/multiple rounding. See [Reordering](/docs/reference/reordering) for the parameters in full.
+Each item, per location, carries a **reordering policy** that decides how a suggestion is sized: *Manual Reorder* (suggests nothing), *Demand-Based Reorder* (the default), *Fixed Reorder Quantity*, or *Maximum Quantity*. Each is tuned by reorder point, order quantity, accumulation period, and min/max/multiple rounding. See [Reordering](/docs/reference/reordering) for the parameters in full.
## From suggestion to order
diff --git a/docs/content/docs/reference/purchase-orders.mdx b/docs/content/docs/reference/purchase-orders.mdx
index 15227c01e7..a40cc847ca 100644
--- a/docs/content/docs/reference/purchase-orders.mdx
+++ b/docs/content/docs/reference/purchase-orders.mdx
@@ -1,11 +1,11 @@
---
title: Purchase orders
-description: A commitment to a supplier — what to receive, and what you'll be billed for.
+description: "A commitment to a supplier: what to receive, and what you'll be billed for."
---
A **purchase order** is a commitment to buy from a supplier. It may come from comparing <Term id="supplier-quote">supplier quotes</Term> or be raised directly, and it's the document <Term id="receipt">receipts</Term> and <Term id="invoice">supplier invoices</Term> reconcile against.
-Like a <Term id="sales-order">sales order</Term> in reverse, a purchase order line keeps two independent counters — how much has been received, and how much has been invoiced — and only closes when both are satisfied. Receiving and billing advance the same order along separate axes.
+Like a <Term id="sales-order">sales order</Term> in reverse, a purchase order line keeps two independent counters: how much has been received, and how much has been invoiced. It only closes when both are satisfied. Receiving and billing advance the same order along separate axes.
## Line fields
diff --git a/docs/content/docs/reference/quality.mdx b/docs/content/docs/reference/quality.mdx
index 0b8c5d9a37..57cfcc3e63 100644
--- a/docs/content/docs/reference/quality.mdx
+++ b/docs/content/docs/reference/quality.mdx
@@ -7,31 +7,31 @@ Carbon's quality module turns on two things: **<Term id="nonconformance">issues<
## Issues
-An **issue** — a non-conformance, or NCR — records something that went wrong and the work to resolve it. It moves through three states: **Registered**, **In Progress**, **Closed** (closed is terminal and locked). Each carries a **priority** (Low / Medium / High / Critical), a **source** (Internal or External), a type, and links to whatever it concerns — a job operation, a purchase or sales order line, a receipt, a supplier.
+An **issue**, a non-conformance or NCR, records something that went wrong and the work to resolve it. It moves through three states: **Registered**, **In Progress**, **Closed** (closed is terminal and locked). Each carries a **priority** (Low / Medium / High / Critical), a **source** (Internal or External), a type, and links to whatever it concerns: a job operation, a purchase or sales order line, a receipt, a supplier.
Issues open from several places: by hand, from the shop floor in MES, from Slack, or **automatically** when an inbound inspection is rejected.
### Workflows and actions
-An issue can run a configurable workflow — often an **<Term id="8d">8D</Term>**. The workflow attaches **required actions** and **approvals** as tasks; each task advances *Pending → In Progress → Completed* as the team works it. Adding a **Material Review Board** approval gates closing the issue: it can't close until a **disposition** is chosen for the affected material — *Return to Supplier*, *<Term>Rework</Term>*, *<Term>Scrap</Term>*, or *Use As Is*.
+An issue can run a configurable workflow, often an **<Term id="8d">8D</Term>**. The workflow attaches **required actions** and **approvals** as tasks; each task advances *Pending → In Progress → Completed* as the team works it. Adding a **Material Review Board** approval gates closing the issue: it can't close until a **disposition** is chosen for the affected material — *Return to Supplier*, *<Term>Rework</Term>*, *<Term>Scrap</Term>*, or *Use As Is*.
<Callout type="note">
-There's no dedicated supplier scorecard in Carbon — **supplier quality is a derived metric**, counted from the issues linked to each supplier. The data comes from the issues themselves, not a separate record.
+There's no dedicated supplier scorecard in Carbon. **Supplier quality is a derived metric**, counted from the issues linked to each supplier. The data comes from the issues themselves, not a separate record.
</Callout>
## Inbound inspection
-When goods arrive for an item that **requires inspection**, posting the receipt opens an inbound inspection and holds the received units **On Hold** — they're not available stock yet. Inspection is lot-based, with sample sizes drawn from AQL standards (ANSI / ISO).
+When goods arrive for an item that **requires inspection**, posting the receipt opens an inbound inspection and holds the received units **On Hold**. They're not available stock yet. Inspection is lot-based, with sample sizes drawn from AQL standards (ANSI / ISO).
Dispositioning the lot decides what happens: **Accept** passes it and the units become available; **Reject** fails it, marks the units rejected, and opens an issue automatically; **Partial** clears some and holds the rest.
<Callout type="info">
-Inbound inspection only fires on **purchase-order receipts** of items flagged to require it. Until a lot is dispositioned, its units sit On Hold — received, but not yet stock you can sell or consume.
+Inbound inspection only fires on **purchase-order receipts** of items flagged to require it. Until a lot is dispositioned, its units sit On Hold: received, but not yet stock you can sell or consume.
</Callout>
## Also in quality
-The module also covers **gauges and calibration** (with calibration-due tracking), **controlled documents** — versioned procedures and work instructions, with one active version at a time — **inspection documents** (ballooned FAI drawings and their characteristics), and a **risk register**.
+The module also covers **gauges and calibration** (with calibration-due tracking), **controlled documents** (versioned procedures and work instructions, with one active version at a time), **inspection documents** (ballooned FAI drawings and their characteristics), and a **risk register**.
## Related
diff --git a/docs/content/docs/reference/quotes.mdx b/docs/content/docs/reference/quotes.mdx
index 706c87aa60..37d6960df0 100644
--- a/docs/content/docs/reference/quotes.mdx
+++ b/docs/content/docs/reference/quotes.mdx
@@ -5,7 +5,7 @@ description: A priced offer to a customer — the front of the sales flow.
A **quote** is a priced offer to a customer: the line items they asked about, what each costs, and for how long. It's where a sale begins, before there's any commitment to build or ship. Accept it and it becomes a <Term id="sales-order">sales order</Term>; let it lapse and it closes on its own.
-A quote is where pricing is negotiated and recorded. Lines support quantity breaks, so the price for ten can differ from the price for a hundred, and the number you settle on is what carries forward to the order. Quotes are optional — an order can be raised directly — but when used, a quote and its eventual order are tied together through a shared <Term>opportunity</Term> rather than a rigid link.
+A quote is where pricing is negotiated and recorded. Lines support quantity breaks, so the price for ten can differ from the price for a hundred, and the number you settle on is what carries forward to the order. Quotes are optional, since an order can be raised directly, but when used, a quote and its eventual order are tied together through a shared <Term>opportunity</Term> rather than a rigid link.
## Fields
@@ -21,7 +21,7 @@ A quote is where pricing is negotiated and recorded. Lines support quantity brea
<StatusFlow entity="quote">
<Status name="Draft">Being prepared; pricing still in progress.</Status>
- <Status name="Sent" accent>Finalized and issued to the customer — the state that unlocks digital acceptance.</Status>
+ <Status name="Sent" accent>Finalized and issued to the customer, the state that unlocks digital acceptance.</Status>
<Status name="Ordered">Converted into a sales order.</Status>
<Status name="Partial">Some lines converted to an order, others not.</Status>
<Status name="Lost" terminal>The customer declined.</Status>
@@ -29,7 +29,7 @@ A quote is where pricing is negotiated and recorded. Lines support quantity brea
<Status name="Expired" terminal>Lapsed past its expiration date.</Status>
</StatusFlow>
-Each line tracks its own progress too — **Not Started**, **In Progress**, **Complete**, or **No Quote** for a line you decline to bid. Finalizing a quote moves it to **Sent** and marks its lines **Complete**.
+Each line tracks its own progress too: **Not Started**, **In Progress**, **Complete**, or **No Quote** for a line you decline to bid. Finalizing a quote moves it to **Sent** and marks its lines **Complete**.
## Digital quotes
@@ -41,7 +41,7 @@ Digital acceptance is gated: the quote must be **Sent** and the company must hav
## Becoming an order
-Converting a quote — internally, or by the customer accepting — builds a sales order from its lines at the negotiated price and opens it at **To Ship and Invoice**. The quote itself flips to **Ordered**, or **Partial** if only some lines converted.
+Converting a quote, internally or by the customer accepting, builds a sales order from its lines at the negotiated price and opens it at **To Ship and Invoice**. The quote itself flips to **Ordered**, or **Partial** if only some lines converted.
<Callout type="info">
There's no path from a quote straight to a production job. A <Term id="job">job</Term> is raised from a *sales order* line, so the sequence is always quote → order → job.
@@ -54,6 +54,6 @@ There's no path from a quote straight to a production job. A <Term id="job">job<
What a quote becomes once it's accepted.
</Card>
<Card title="Quote to cash" href="/guides/quote-to-cash">
- The full narrative — quote, order, ship, invoice, paid.
+ The full narrative: quote, order, ship, invoice, paid.
</Card>
</Cards>
diff --git a/docs/content/docs/reference/receipts.mdx b/docs/content/docs/reference/receipts.mdx
index 5dc13d224a..d92be1c4e0 100644
--- a/docs/content/docs/reference/receipts.mdx
+++ b/docs/content/docs/reference/receipts.mdx
@@ -1,11 +1,11 @@
---
title: Receipts
-description: Goods coming in — receiving against a purchase order and posting to inventory.
+description: "Goods coming in: receiving against a purchase order and posting to inventory."
---
-A **receipt** brings goods in. Like <Term id="shipment">shipments</Term>, one receipt model serves several sources — most often a <Term id="purchase-order">purchase order</Term>, but also inbound transfers — and <Term id="posting">posting</Term> is what turns a delivery into stock on hand.
+A **receipt** brings goods in. Like <Term id="shipment">shipments</Term>, one receipt model serves several sources: most often a <Term id="purchase-order">purchase order</Term>, but also inbound transfers. <Term id="posting">Posting</Term> is what turns a delivery into stock on hand.
-A receipt line soft-links back to the purchase order line it fulfills. Posting adds the quantity to inventory, raises the order line's received quantity, and advances the order — and, when accounting is enabled, debits inventory (or <Term id="wip">work-in-process</Term>, for outside processing) against a <Term id="gr-ir">goods-received-not-invoiced</Term> accrual that the supplier invoice later clears.
+A receipt line soft-links back to the purchase order line it fulfills. Posting adds the quantity to inventory, raises the order line's received quantity, and advances the order. When accounting is enabled, it also debits inventory (or <Term id="wip">work-in-process</Term>, for outside processing) against a <Term id="gr-ir">goods-received-not-invoiced</Term> accrual that the supplier invoice later clears.
## Fields
diff --git a/docs/content/docs/reference/reordering.mdx b/docs/content/docs/reference/reordering.mdx
index e126b1f628..c103b69542 100644
--- a/docs/content/docs/reference/reordering.mdx
+++ b/docs/content/docs/reference/reordering.mdx
@@ -1,6 +1,6 @@
---
title: Reordering policy
-description: How each part decides when and how much to replenish — the policy and the numbers that drive planning.
+description: "How each part decides when and how much to replenish: the policy and the numbers that drive planning."
---
Every part carries a **reordering policy** that tells planning how to replenish it. The policy decides
@@ -10,7 +10,7 @@ Every part carries a **reordering policy** that tells planning how to replenish
| Policy | Triggers when | Orders |
| --- | --- | --- |
-| Manual Reorder | never automatically | nothing — you order by hand |
+| Manual Reorder | never automatically | nothing: you order by hand |
| Demand-Based Reorder | demand appears | exactly what demand needs, grouped by the demand accumulation period |
| Fixed Reorder Quantity | on-hand falls to the reorder point | a fixed reorder quantity |
| Maximum Quantity | on-hand falls to the reorder point | enough to reach the maximum inventory quantity |
diff --git a/docs/content/docs/reference/routings.mdx b/docs/content/docs/reference/routings.mdx
index 010c2f1591..afcd97efad 100644
--- a/docs/content/docs/reference/routings.mdx
+++ b/docs/content/docs/reference/routings.mdx
@@ -7,7 +7,7 @@ A **routing** is the recipe the shop floor follows to make a part: the ordered l
the <Term>work center</Term> each one runs on. It's what turns "we have an order" into "here's exactly what happens,
in what order, where."
-Without a routing, a <Term id="job">job</Term> can't be scheduled or costed — there's nothing to place on the board and
+Without a routing, a <Term id="job">job</Term> can't be scheduled or costed. There's nothing to place on the board and
nothing to estimate run time from. The routing is the bridge between *what* you're making (the item) and
*how* it gets made (the schedule).
@@ -35,7 +35,7 @@ operation exists.
<Cards>
<Card title="Run the floor" href="/guides/floor">
- See routings in context — how a job inherits one and turns it into a schedule.
+ See routings in context: how a job inherits one and turns it into a schedule.
</Card>
<Card title="Methods & sourcing" href="/docs/reference/methods">
Where a routing's operations live alongside the part's materials.
diff --git a/docs/content/docs/reference/sales-orders.mdx b/docs/content/docs/reference/sales-orders.mdx
index f0167015c3..5b4d9aa1f4 100644
--- a/docs/content/docs/reference/sales-orders.mdx
+++ b/docs/content/docs/reference/sales-orders.mdx
@@ -1,11 +1,11 @@
---
title: Sales orders
-description: A confirmed customer commitment — what to ship and invoice, tracked line by line.
+description: "A confirmed customer commitment: what to ship and invoice, tracked line by line."
---
-A **sales order** is a confirmed commitment to deliver items to a customer. It may begin as a <Term>quote</Term>, or be entered directly; either way it's the document the rest of fulfillment keys off — <Term id="shipment">shipments</Term>, <Term id="invoice">invoices</Term>, and any make-to-order jobs all trace back to its lines.
+A **sales order** is a confirmed commitment to deliver items to a customer. It may begin as a <Term>quote</Term>, or be entered directly; either way it's the document the rest of fulfillment keys off: <Term id="shipment">shipments</Term>, <Term id="invoice">invoices</Term>, and any make-to-order jobs all trace back to its lines.
-The order line is where fulfillment is scored. Each line tracks how much was sold against how much has shipped and how much has been invoiced, and it stays open until both are complete — which is what lets one order be delivered and billed in batches without losing the remainder.
+The order line is where fulfillment is scored. Each line tracks how much was sold against how much has shipped and how much has been invoiced, and it stays open until both are complete, which is what lets one order be delivered and billed in batches without losing the remainder.
## Line fields
@@ -15,7 +15,7 @@ The order line is where fulfillment is scored. Each line tracks how much was sol
<Field name="Quantity sent" type="number">Shipped so far; `quantity to send` is the remainder.</Field>
<Field name="Quantity invoiced" type="number">Billed so far; `quantity to invoice` is the remainder.</Field>
<Field name="Unit price" type="number">Price per unit, net of discounts.</Field>
- <Field name="Method" type="enum">How the line is fulfilled — *Make to Order*, *Pull from Inventory*, or *Purchase to Order*.</Field>
+ <Field name="Method" type="enum">How the line is fulfilled: *Make to Order*, *Pull from Inventory*, or *Purchase to Order*.</Field>
</FieldTable>
## Status
diff --git a/docs/content/docs/reference/shelf-life.mdx b/docs/content/docs/reference/shelf-life.mdx
index e02952cae5..51c251e3dd 100644
--- a/docs/content/docs/reference/shelf-life.mdx
+++ b/docs/content/docs/reference/shelf-life.mdx
@@ -1,20 +1,20 @@
---
title: Shelf life
-description: How Carbon stamps expiration dates on tracked stock — and blocks consuming it once expired.
+description: How Carbon stamps expiration dates on tracked stock, and blocks consuming it once expired.
---
**Shelf life** is how Carbon decides when a batch or serial of an item *expires*, and what happens when
someone tries to use it after that. It only applies to **<Term id="serial">Serial-</Term>** or **<Term id="batch">Batch-tracked</Term>** items, because the
-expiration date lives on the physical lot — the **<Term id="tracked-entity">tracked entity</Term>** — not on the item master.
+expiration date lives on the physical lot, the **<Term id="tracked-entity">tracked entity</Term>**, not on the item master.
Three records work together: a **policy** per item (how expiry is decided), an **expiration date** per
tracked entity (the actual date), and a **company-wide rule** for what to do with expired stock.
Say a batch of adhesive is received under a **180-day** policy: Carbon stamps that lot to expire about six
-months out. Try to issue it to a job on day 200 and the issue is **blocked** — expired stock can't flow into
+months out. Try to issue it to a job on day 200 and the issue is **blocked**. Expired stock can't flow into
a build unless someone with permission overrides it.
-## How a date gets set — the three modes
+## How a date gets set: the three modes
An item's shelf-life policy has one **mode**, and the mode decides how the expiration date is computed:
@@ -22,7 +22,7 @@ An item's shelf-life policy has one **mode**, and the mode decides how the expir
| --- | --- | --- |
| Fixed Duration | a start event **+ a number of days** | Make or Buy items |
| Calculated | the **earliest expiry of the components** consumed to make it | Make items |
-| Set on Receipt | **typed in by the operator** at receipt — nothing is computed | Buy items |
+| Set on Receipt | **typed in by the operator** at receipt. Nothing is computed | Buy items |
<Callout type="warn">
Shelf life is **not** a single "days" field on the item. Only **Fixed Duration** is a day count.
@@ -37,11 +37,11 @@ For **Fixed Duration**, the start event depends on how the item is sourced:
- **Made** items start at a **job operation** finishing (or starting) — optionally gated to a specific
**trigger process** (say, *Pasteurise* or *Packaging*), with **Before** or **After** timing. Sub-assemblies
stamp their own batches from their own operations.
-- **Bought** items start from the **receipt's posting date** — not "today" — plus the configured days.
+- **Bought** items start from the **receipt's posting date**, not "today", plus the configured days.
**Calculated** items take the minimum expiration date across the tracked components they consume, so a build
can never outlive its shortest-dated ingredient. Whether that minimum spans **every** dated input or only
-inputs that themselves carry a shelf-life policy is the company's *calculated input scope* — `AllInputs`
+inputs that themselves carry a shelf-life policy is the company's *calculated input scope*: `AllInputs`
(the default) or `ManagedInputsOnly`.
## Policy fields
@@ -57,7 +57,7 @@ The policy lives on the item's pick method:
</FieldTable>
<Callout type="note">
-The expiration date is only ever written once, where it was blank — Carbon never silently overwrites a date a
+The expiration date is only ever written once, where it was blank. Carbon never silently overwrites a date a
batch already carries. A manual override is available, but it requires a **reason**, which is kept on the
entity's history.
</Callout>
@@ -73,15 +73,15 @@ A company-wide **expired-entity policy** governs every material issue and stock
| BlockWithOverride | Rejected unless the user supplies an override reason. |
<Callout type="warn">
-Expiry is **enforced, not cosmetic.** The default policy is **Block** — consuming or transferring an expired
+Expiry is **enforced, not cosmetic.** The default policy is **Block**. Consuming or transferring an expired
batch is rejected outright, with the error *"Cannot consume expired tracked entit(y/ies)"*. The check runs
-wherever stock is consumed or moved — material issues, stock transfers, and maintenance work — so it holds
+wherever stock is consumed or moved (material issues, stock transfers, and maintenance work), so it holds
whether the action comes from the office or the floor.
</Callout>
Picking is **<Term id="fefo">FEFO</Term>-aware**: available tracked entities are offered earliest-expiry-first, so the oldest stock
leaves first by default. A **near-expiry warning** highlights batches approaching their date in the tracked-entity
-lists; set its lead time (in days) in company settings — leaving it blank turns the warning badges off.
+lists; set its lead time (in days) in company settings. Leaving it blank turns the warning badges off.
## Company settings
@@ -103,7 +103,7 @@ Set company-wide in **Settings → Inventory**:
| A one-off date correction | The expiry-edit action on a tracked entity (reason required). |
<Callout type="info">
-Setting a shelf-life policy is only allowed on **Serial** or **Batch** items — fungible *Inventory* and
+Setting a shelf-life policy is only allowed on **Serial** or **Batch** items. Fungible *Inventory* and
*Non-Inventory* items have no tracked entity to carry a date, so the option doesn't apply.
</Callout>
@@ -120,6 +120,6 @@ Setting a shelf-life policy is only allowed on **Serial** or **Batch** items —
Only Serial- and Batch-tracked items can carry a shelf-life policy.
</Card>
<Card title="Storage rules" href="/docs/reference/storage-rules">
- The other inventory guard — validate transactions instead of dating stock.
+ The other inventory guard: validate transactions instead of dating stock.
</Card>
</Cards>
diff --git a/docs/content/docs/reference/shipments.mdx b/docs/content/docs/reference/shipments.mdx
index 6770d68dff..597b18e769 100644
--- a/docs/content/docs/reference/shipments.mdx
+++ b/docs/content/docs/reference/shipments.mdx
@@ -3,16 +3,16 @@ title: Shipments
description: Goods going out — one posting model serving sales orders, returns, and transfers.
---
-A **shipment** moves goods out the door. One shipment model serves several source documents — a <Term id="sales-order">sales order</Term>, a purchase return, an outbound transfer — each tagged by what it came from, so the same posting logic handles them all.
+A **shipment** moves goods out the door. One shipment model serves several source documents: a <Term id="sales-order">sales order</Term>, a purchase return, an outbound transfer. Each is tagged by what it came from, so the same posting logic handles them all.
-Creating a shipment changes nothing on hand. **<Term id="posting">Posting</Term>** it is the event that matters: it relieves inventory, advances the source document, and — when accounting is enabled — books the cost of what left. A shipment can be partial, so an order can go out in several.
+Creating a shipment changes nothing on hand. **<Term id="posting">Posting</Term>** it is the event that matters: it relieves inventory, advances the source document, and, when accounting is enabled, books the cost of what left. A shipment can be partial, so an order can go out in several.
## Fields
<FieldTable>
<Field name="Source document" type="reference">The order, return, or transfer being shipped.</Field>
<Field name="Shipped quantity" type="number">Units on this shipment, per line.</Field>
- <Field name="Fulfillment" type="enum">Where a line is sourced — *Inventory* (from stock) or *Job* (from a production job).</Field>
+ <Field name="Fulfillment" type="enum">Where a line is sourced: *Inventory* (from stock) or *Job* (from a production job).</Field>
</FieldTable>
## Status
diff --git a/docs/content/docs/reference/storage-rules.mdx b/docs/content/docs/reference/storage-rules.mdx
index eba0a3df29..e07fc5522c 100644
--- a/docs/content/docs/reference/storage-rules.mdx
+++ b/docs/content/docs/reference/storage-rules.mdx
@@ -1,7 +1,7 @@
---
title: Storage rules
plan: Business
-description: Predicate guards that validate inventory transactions — block with an error, or warn and let the user continue.
+description: "Predicate guards that validate inventory transactions: block with an error, or warn and let the user continue."
---
A **storage rule** is a guard that runs when an inventory transaction posts. It checks the line against a
@@ -9,24 +9,24 @@ condition you define and, if the condition fails, either **blocks** the transact
user acknowledge and continue. Rules attach to **items** or to **<Term id="work-center">work centers</Term>**.
For example, to keep batch chemicals out of ambient bins: target **items** in your chemicals group, fire on
-**<Term>receipt</Term>** and **place** (put-away), and require `storageUnit.storageTypeId` `eq` your cold-storage type —
-severity **error**, message `{item.id} must be stored in cold storage`. Receive that item into the wrong
+**<Term>receipt</Term>** and **place** (put-away), and require `storageUnit.storageTypeId` `eq` your cold-storage type.
+Severity **error**, message `{item.id} must be stored in cold storage`. Receive that item into the wrong
bin and the post is stopped with exactly that message.
<Callout type="note">
-Storage rules are a **validation** layer — a rule never transforms data, sets defaults, or computes a
+Storage rules are a **validation** layer. A rule never transforms data, sets defaults, or computes a
price. Its only output is a message and a severity.
</Callout>
## What a rule checks
-Each rule holds a small **condition tree** — a match kind over one or more field/operator/value rows:
+Each rule holds a small **condition tree**, a match kind over one or more field/operator/value rows:
-- **Match kind** — `all` (every condition must hold), `any` (at least one), or `none` (none may hold).
-- **Field** — chosen from a fixed registry: item facts (`item.type`, `item.replenishmentSystem`,
+- **Match kind**: `all` (every condition must hold), `any` (at least one), or `none` (none may hold).
+- **Field**: chosen from a fixed registry: item facts (`item.type`, `item.replenishmentSystem`,
`item.itemTrackingType`, custom fields), storage location (`storageUnit.storageTypeId`,
`storageUnit.locationId`), work-center facts, and the line's `transaction.quantity`.
-- **Operator** — `eq`, `neq`, `in`, `notIn`, `isSet`, `isNotSet`, `gt`, `lt`.
+- **Operator**: `eq`, `neq`, `in`, `notIn`, `isSet`, `isNotSet`, `gt`, `lt`.
The **message** shown on a violation supports tokens like `{item.id}` and `{transaction.quantity}`, so the
text can name the offending line. The rule "passes" when its conditions hold; a violation fires when they
@@ -34,7 +34,7 @@ don't.
<Callout type="info">
Aside from the `isSet` / `isNotSet` checks, a condition pointing at a field that has **no value** fails as a
-*"…is required"* violation — so the same rules double as presence checks (for instance, require a lot number
+*"…is required"* violation. So the same rules double as presence checks (for instance, require a lot number
before a <Term>shipment</Term> can post).
</Callout>
@@ -57,7 +57,7 @@ target:
| Item | receipt, shipment, stockTransfer, warehouseTransfer, inventoryAdjustment, place, pick |
| Work center | operationStart, operationFinish, materialIssue, materialReceive |
-Rules are evaluated server-side as the transaction posts — before any accounting or stock movement is
+Rules are evaluated server-side as the transaction posts, before any accounting or stock movement is
written. A blocked transaction writes nothing.
## Block or warn
@@ -80,9 +80,9 @@ flagging the outlier.
A rule reaches the lines it applies to in one of two ways:
-- **By filter** — item-target rules can scope to **item types** and/or **item groups**, combined with OR or
+- **By filter**: item-target rules can scope to **item types** and/or **item groups**, combined with OR or
AND. An empty filter matches **every** item.
-- **By assignment** — pin a rule to a specific item from the item's **Rules** tab, or to a specific work
+- **By assignment**: pin a rule to a specific item from the item's **Rules** tab, or to a specific work
center. Work-center rules can also be set to apply to all work centers.
## Rule fields
@@ -100,7 +100,7 @@ A rule reaches the lines it applies to in one of two ways:
## Where to manage them
-Storage rules live in the **Inventory** area, under **Storage Rules** — create, edit, and toggle them there.
+Storage rules live in the **Inventory** area, under **Storage Rules**. Create, edit, and toggle them there.
To attach an existing rule to a single item, use the **Rules** tab on that item.
<Callout type="warn">
@@ -112,15 +112,15 @@ plans the screen shows an upgrade prompt and no rules are evaluated.
<Cards>
<Card title="Items" href="/docs/reference/items">
- The most common rule target — scope by item type or group, or assign per item.
+ The most common rule target: scope by item type or group, or assign per item.
</Card>
<Card title="Inventory" href="/docs/reference/inventory">
Storage rules run on inventory transactions: receipts, shipments, transfers, picks.
</Card>
<Card title="Work centers" href="/docs/reference/work-centers">
- The other target — guards on operation start/finish and material issue/receive.
+ The other target: guards on operation start/finish and material issue/receive.
</Card>
<Card title="Shelf life" href="/docs/reference/shelf-life">
- The other inventory guard — date tracked stock and block it once expired.
+ The other inventory guard: date tracked stock and block it once expired.
</Card>
</Cards>
diff --git a/docs/content/docs/reference/suppliers-and-customers.mdx b/docs/content/docs/reference/suppliers-and-customers.mdx
index 0bcd813da7..c229545661 100644
--- a/docs/content/docs/reference/suppliers-and-customers.mdx
+++ b/docs/content/docs/reference/suppliers-and-customers.mdx
@@ -1,13 +1,13 @@
---
title: Suppliers & customers
-description: The parties you buy from and sell to — and the ways their records differ.
+description: The parties you buy from and sell to, and the ways their records differ.
---
**Suppliers** and **customers** are the two trading parties. They look symmetrical, but Carbon models them through different modules with a few deliberate differences worth knowing.
## Suppliers
-A supplier lives in purchasing and anchors the buy side — <Term id="purchase-order">purchase orders</Term>, <Term id="supplier-quote">supplier quotes</Term>, and bills all reference it. Its **status** is a fixed set: *Active*, *Inactive*, *Pending*, *Rejected*. A supplier links to the items you buy through **supplier parts**, each carrying the supplier's own part number, a minimum order quantity, and a <Term>conversion factor</Term> from their pack to your stock unit.
+A supplier lives in purchasing and anchors the buy side: <Term id="purchase-order">purchase orders</Term>, <Term id="supplier-quote">supplier quotes</Term>, and bills all reference it. Its **status** is a fixed set: *Active*, *Inactive*, *Pending*, *Rejected*. A supplier links to the items you buy through **supplier parts**, each carrying the supplier's own part number, a minimum order quantity, and a <Term>conversion factor</Term> from their pack to your stock unit.
<Callout type="note">
A supplier part has **no lead time** — purchasing lead time is set per item, not per supplier-part. The supplier part is about identity and pack size, not delivery time.
@@ -15,7 +15,7 @@ A supplier part has **no lead time** — purchasing lead time is set per item, n
## Customers
-A customer lives in sales and anchors the sell side — <Term id="quote">quotes</Term>, orders, and <Term id="invoice">invoices</Term> reference it. Unlike supplier status, **customer status is a configurable list** you define, not a fixed enum. Customers don't have a supplier-part analog; pricing instead comes from **price overrides** and **pricing rules**, which can target a whole customer type and stack with quantity breaks.
+A customer lives in sales and anchors the sell side: <Term id="quote">quotes</Term>, orders, and <Term id="invoice">invoices</Term> reference it. Unlike supplier status, **customer status is a configurable list** you define, not a fixed enum. Customers don't have a supplier-part analog; pricing instead comes from **price overrides** and **pricing rules**, which can target a whole customer type and stack with quantity breaks.
<Callout type="info">
The asymmetry to remember: **supplier status is a fixed four-value set; customer status is a company-configurable lookup.** Their type catalogs (supplier type, customer type) are both user-defined.
@@ -23,7 +23,7 @@ The asymmetry to remember: **supplier status is a fixed four-value set; customer
## What they share
-Both records carry the same satellite shape: **contacts**, **locations/addresses**, and **payment, shipping, and tax** defaults. Payment terms, currency, and tax settings live on those satellites — not on the core record. Both also have a human-readable id (`SUP…` / `CUS…`) on top of their internal key, and both can expose an external **portal**: suppliers respond to <Term id="rfq">RFQs</Term> through a digital-quote link; customers track their orders through a customer portal.
+Both records carry the same satellite shape: **contacts**, **locations/addresses**, and **payment, shipping, and tax** defaults. Payment terms, currency, and tax settings live on those satellites, not on the core record. Both also have a human-readable id (`SUP…` / `CUS…`) on top of their internal key, and both can expose an external **portal**: suppliers respond to <Term id="rfq">RFQs</Term> through a digital-quote link; customers track their orders through a customer portal.
## Related
diff --git a/docs/content/docs/reference/traceability.mdx b/docs/content/docs/reference/traceability.mdx
index 9b29e7d387..05495a4541 100644
--- a/docs/content/docs/reference/traceability.mdx
+++ b/docs/content/docs/reference/traceability.mdx
@@ -3,7 +3,7 @@ title: Traceability
description: Serial and batch tracking, and the genealogy that links what went into what.
---
-For items that need it, Carbon tracks individual units and lots as **<Term id="tracked-entity">tracked entities</Term>**, and records every consume-and-produce as it happens — so you can prove what went into a finished unit, and trace a suspect lot forward to everything it touched.
+For items that need it, Carbon tracks individual units and lots as **<Term id="tracked-entity">tracked entities</Term>**, and records every consume-and-produce as it happens, so you can prove what went into a finished unit, and trace a suspect lot forward to everything it touched.
## Tracked entities
@@ -11,7 +11,7 @@ A **tracked entity** is a tracked quantity of an item. A **<Term id="serial">Ser
<StatusFlow entity="trackedEntity">
<Status name="Available">In stock, free to pick or consume.</Status>
- <Status name="Reserved" branch>Allocated — e.g. a job's output before it's made.</Status>
+ <Status name="Reserved" branch>Allocated: e.g. a job's output before it's made.</Status>
<Status name="On Hold" branch>Received but not yet released (awaiting inspection).</Status>
<Status name="Consumed" accent>Issued to a job or shipped out.</Status>
<Status name="Rejected" terminal>Failed inspection.</Status>
@@ -19,11 +19,11 @@ A **tracked entity** is a tracked quantity of an item. A **<Term id="serial">Ser
## Where entities come from
-Receiving a tracked item creates entities **On Hold**; posting the receipt releases them to **Available**, unless the item needs inspection — then they stay On Hold until it clears, or become **Rejected** if it fails. On the make side, a job reserves its output entity up front and flips it to **Available** when the unit is produced.
+Receiving a tracked item creates entities **On Hold**; posting the receipt releases them to **Available**, unless the item needs inspection. Then they stay On Hold until it clears, or become **Rejected** if it fails. On the make side, a job reserves its output entity up front and flips it to **Available** when the unit is produced.
## Genealogy
-Every material event — consume, produce, split, ship — is recorded as an **activity** with **inputs** (what was consumed) and **outputs** (what was produced). Parent and child link through the activity, so the <Term>genealogy</Term> graph is built as work happens and walked later to trace a unit's ancestry or descendants. Consuming part of a batch records a **split**, linking the original lot to the consumed portion and the remainder.
+Every material event (consume, produce, split, ship) is recorded as an **activity** with **inputs** (what was consumed) and **outputs** (what was produced). Parent and child link through the activity, so the <Term>genealogy</Term> graph is built as work happens and walked later to trace a unit's ancestry or descendants. Consuming part of a batch records a **split**, linking the original lot to the consumed portion and the remainder.
<Callout type="note">
There are no separate serial-number or batch-number tables — one tracked-entity model represents both, and the number itself is an attribute. Genealogy isn't a stored parent pointer; it's reconstructed by walking the activity graph from a unit outward.
@@ -31,7 +31,7 @@ There are no separate serial-number or batch-number tables — one tracked-entit
## Shelf life
-Tracked items can carry a **shelf life** — a fixed duration, a date set at receipt, or one calculated from the earliest-expiring component consumed. Carbon stamps the resulting expiration date on the entity, and picking favors the earliest expiry first (FEFO). Shelf life applies only to Serial and Batch items — there has to be a per-unit record to stamp.
+Tracked items can carry a **shelf life**: a fixed duration, a date set at receipt, or one calculated from the earliest-expiring component consumed. Carbon stamps the resulting expiration date on the entity, and picking favors the earliest expiry first (FEFO). Shelf life applies only to Serial and Batch items. There has to be a per-unit record to stamp.
## Related
diff --git a/docs/content/docs/reference/work-centers.mdx b/docs/content/docs/reference/work-centers.mdx
index 311a087ed7..33168d4254 100644
--- a/docs/content/docs/reference/work-centers.mdx
+++ b/docs/content/docs/reference/work-centers.mdx
@@ -3,7 +3,7 @@ title: Work centers
description: Where operations run — the stations and machines, their rates, and the processes they perform.
---
-A **work center** is a place on the floor where <Term id="operation">operations</Term> run — a station, a machine, a cell — tied to a location. It carries the rates used to cost and schedule work, and performs one or more **processes** (the capabilities, like *cut* or *weld*).
+A **work center** is a place on the floor where <Term id="operation">operations</Term> run, tied to a location: a station, a machine, a cell. It carries the rates used to cost and schedule work, and performs one or more **processes** (the capabilities, like *cut* or *weld*).
<Term id="routing">Routing</Term> operations are scheduled onto work centers, and a work center's rates price the labor and machine time logged against it. It's the link between an operation in the abstract and a real place with a cost and a calendar.
@@ -21,19 +21,19 @@ A **work center** is a place on the floor where <Term id="operation">operations<
## Processes
-A **process** is a capability a work center can perform; work centers and processes are many-to-many. A process is *Inside*, *Outside*, or both — **<Term id="outside-operation">Outside</Term>** processes are subcontracted, and suppliers attach to them for outside-processing <Term id="purchase-order">purchase orders</Term>.
+A **process** is a capability a work center can perform; work centers and processes are many-to-many. A process is *Inside*, *Outside*, or both. **<Term id="outside-operation">Outside</Term>** processes are subcontracted, and suppliers attach to them for outside-processing <Term id="purchase-order">purchase orders</Term>.
<Callout type="note">
-A work center is **not** a fixed asset. The machine you schedule production on (a work center) and the machine you depreciate (a fixed asset) are independent records in Carbon — there's no link between them, even when they're the same physical machine.
+A work center is **not** a fixed asset. The machine you schedule production on (a work center) and the machine you depreciate (a fixed asset) are independent records in Carbon. There's no link between them, even when they're the same physical machine.
</Callout>
## Rates: estimate vs actual
-Rates exist at two layers. When an operation picks a work center, that work center's rates are **copied onto the operation** as a snapshot — that's what drives the cost *estimate*. The **actual** labor and machine cost posted to the ledger reads the work center's *live* rate at the time the production event was logged. The two can diverge if a rate changes after an operation is planned.
+Rates exist at two layers. When an operation picks a work center, that work center's rates are **copied onto the operation** as a snapshot. That's what drives the cost *estimate*. The **actual** labor and machine cost posted to the ledger reads the work center's *live* rate at the time the production event was logged. The two can diverge if a rate changes after an operation is planned.
## Capacity
-Work centers have no fixed capacity field — load is derived from the durations of the operations scheduled onto them. Shifts in Carbon are an employee-and-location concept and aren't bound to work centers. A work center can also be temporarily **blocked** by an in-progress maintenance task that takes it down.
+Work centers have no fixed capacity field. Load is derived from the durations of the operations scheduled onto them. Shifts in Carbon are an employee-and-location concept and aren't bound to work centers. A work center can also be temporarily **blocked** by an in-progress maintenance task that takes it down.
## Related
diff --git a/docs/content/guides/build.mdx b/docs/content/guides/build.mdx
index 1e879e2130..7501edd759 100644
--- a/docs/content/guides/build.mdx
+++ b/docs/content/guides/build.mdx
@@ -13,32 +13,32 @@ Open the job you just released and look at what it actually takes to build a rob
A robot's <Term id="bom">bill of materials</Term> (BoM) is a tree. The robot is built from an arm and a leg; each of those is built from a machined part and a motor. Carbon shows the whole structure at a glance, with every node carrying an icon for how it's obtained.
-<Figure illustration="bom-tree" caption="The robot BoM — made parts in blue, bought parts in amber, every leaf pulled from stock." />
+<Figure illustration="bom-tree" caption="The robot BoM: made parts in blue, bought parts in amber, every leaf pulled from stock." />
## Method types
Every item in that tree carries a <Term>method type</Term>, and it's the single most load-bearing field in your whole catalog. There are three values, and each one routes the item down a completely different path:
-<Figure illustration="method-types" caption="One field, three values — Make to Order becomes a job, Purchase to Order a PO, Pull from Inventory a stock pull." />
+<Figure illustration="method-types" caption="One field, three values: Make to Order becomes a job, Purchase to Order a PO, Pull from Inventory a stock pull." />
-- <Term>Make to Order</Term> — you manufacture it. The arm part and leg part are machined in-house, so each becomes its own <Term>job</Term> with its own operations.
-- <Term>Purchase to Order</Term> — you purchase it. The motors come from a supplier, so they flow through [purchasing](/guides/rfq-to-po) as a <Term>purchase order</Term>, never touching the floor.
-- <Term>Pull from Inventory</Term> — you pull it from stock when the parent is built, whether you originally made it or bought it.
+- <Term>Make to Order</Term>: you manufacture it. The arm part and leg part are machined in-house, so each becomes its own <Term>job</Term> with its own operations.
+- <Term>Purchase to Order</Term>: you purchase it. The motors come from a supplier, so they flow through [purchasing](/guides/rfq-to-po) as a <Term>purchase order</Term>, never touching the floor.
+- <Term>Pull from Inventory</Term>: you pull it from stock when the parent is built, whether you originally made it or bought it.
You don't tag this on each BoM line by hand. The method type lives on [the item itself](/docs/reference/items), and every BoM that uses that item mirrors it. Switch a part's method type once, and it cascades everywhere the part appears.
<Callout tone="blue" badge="TWO DIFFERENT QUESTIONS" title="Method type and replenishment system aren't the same axis.">
-Method type answers "how does this part get into its parent?" — Make to Order, Purchase to Order, or Pull from Inventory. The <Term>replenishment system</Term> — Buy, Make, or Buy and Make — answers "how is this part stocked overall, and which planning queue does it land in?" A part can be made for one parent and pulled from stock for another.
+Method type answers "how does this part get into its parent?": Make to Order, Purchase to Order, or Pull from Inventory. The <Term>replenishment system</Term>, Buy, Make, or Buy and Make, answers "how is this part stocked overall, and which planning queue does it land in?" A part can be made for one parent and pulled from stock for another.
</Callout>
## Kits & subassemblies
Because the arm and leg are Make to Order parts, they aren't just line items — they're built things. But Carbon gives a made item in a BoM two flavors, and the choice changes how the floor handles it:
-<Figure illustration="kit-vs-subassembly" caption="Same arm, two treatments — a Subassembly builds as its own job; a Kit is issued straight into the parent." />
+<Figure illustration="kit-vs-subassembly" caption="Same arm, two treatments: a Subassembly builds as its own job; a Kit is issued straight into the parent." />
-- <Term>Subassembly</Term> — built as its own job, with its own <Term>routing</Term> and its own completion. You can release the left arm independently of the final robot, and Carbon keeps the hierarchy in sync.
-- <Term>Kit</Term> — not built separately at all. Its components are issued together straight into the parent job, as a set. There's no kit job and no kit operation — just the parts, grouped.
+- <Term>Subassembly</Term>: built as its own job, with its own <Term>routing</Term> and its own completion. You can release the left arm independently of the final robot, and Carbon keeps the hierarchy in sync.
+- <Term>Kit</Term>: not built separately at all. Its components are issued together straight into the parent job, as a set. There's no kit job and no kit operation — just the parts, grouped.
Reach for a subassembly when the thing is genuinely manufactured and worth tracking on its own. Reach for a kit when a cluster of parts always goes in together and a separate build would just be ceremony.
@@ -46,12 +46,12 @@ Reach for a subassembly when the thing is genuinely manufactured and worth track
## Methods on the job
-Back on the job, you're looking at that working copy of the method from the last chapter — and you can drill the whole way down. The robot's method lists the arm and leg; open the arm and you're in the arm's method, its machined part set to Make to Order and its motor set to Purchase to Order. The tree is as deep as the product.
+Back on the job, you're looking at that working copy of the method from the last chapter, and you can drill the whole way down. The robot's method lists the arm and leg; open the arm and you're in the arm's method, its machined part set to Make to Order and its motor set to Purchase to Order. The tree is as deep as the product.
-Methods are versioned, which is what keeps a busy shop sane. A method is Draft, Active, or Archived, and only a Draft can be edited. An Active method is frozen — the jobs running against it won't shift under anyone's feet — so you revise by publishing a new version, not by editing a live one.
+Methods are versioned, which is what keeps a busy shop sane. A method is Draft, Active, or Archived, and only a Draft can be edited. An Active method is frozen, the jobs running against it won't shift under anyone's feet, so you revise by publishing a new version, not by editing a live one.
<Callout tone="amber" badge="FROZEN WHEN ACTIVE" title="Live work builds against a version that can't change mid-stream.">
Draft is the workbench; Active is the published, locked recipe; Archived is history. Changes flow forward into the next version and the next job — never backward into a build that's already moving.
</Callout>
-<Screenshot label="Job method explorer" caption="The robot job's method expanded — arm and leg subassemblies, each with its own materials and operations." ratio="wide" />
+<Screenshot label="Job method explorer" caption="The robot job's method expanded: arm and leg subassemblies, each with its own materials and operations." ratio="wide" />
diff --git a/docs/content/guides/fixed-assets-acquire.mdx b/docs/content/guides/fixed-assets-acquire.mdx
index bcc9382a16..d24c71488d 100644
--- a/docs/content/guides/fixed-assets-acquire.mdx
+++ b/docs/content/guides/fixed-assets-acquire.mdx
@@ -8,24 +8,24 @@ flowName: Manufacturing accounting
flowIndex: 3
---
-Job costing followed the money a job spends. The books also carry the machines that do the building — Carbon tracks those as **<Term id="fixed-asset">fixed assets</Term>**: a press, a CNC, a forklift, anything you capitalize and <Term id="depreciation">depreciate</Term> rather than expense. These last two chapters follow one asset from the day it lands on the books to the day it leaves them.
+Job costing followed the money a job spends. The books also carry the machines that do the building. Carbon tracks those as **<Term id="fixed-asset">fixed assets</Term>**: a press, a CNC, a forklift, anything you capitalize and <Term id="depreciation">depreciate</Term> rather than expense. These last two chapters follow one asset from the day it lands on the books to the day it leaves them.
-A fixed asset is an accounting record, not a production resource. It belongs to an **<Term>asset class</Term>**, which carries the general-ledger accounts every asset of that kind posts to — the asset account, accumulated depreciation, depreciation expense, and the accounts used when it's written off.
+A fixed asset is an accounting record, not a production resource. It belongs to an **<Term>asset class</Term>**, which carries the general-ledger accounts every asset of that kind posts to: the asset account, accumulated depreciation, depreciation expense, and the accounts used when it's written off.
<Callout tone="amber" badge="ASSET ≠ WORK CENTER" title="A fixed asset is not the same record as a work center.">
-The machine you schedule production on is a <Term>work center</Term>; the machine you depreciate is a fixed asset. Carbon keeps these independent — there's no link between them — so the same physical press can be a work center on the floor and a fixed asset in the books without the two being wired together.
+The machine you schedule production on is a <Term>work center</Term>; the machine you depreciate is a fixed asset. Carbon keeps these independent (there's no link between them), so the same physical press can be a work center on the floor and a fixed asset in the books without the two being wired together.
</Callout>
## Onto the books
An asset comes onto the books one of two ways, and both start at **"Draft"**.
-**Register one you already have.** Create the asset, then register it — supplying its acquisition cost, acquisition date, and the date depreciation should start. Registering moves it to **"Active"**. No money posts; you're recording something you already own.
+**Register one you already have.** Create the asset, then register it, supplying its acquisition cost, acquisition date, and the date depreciation should start. Registering moves it to **"Active"**. No money posts; you're recording something you already own.
-**Buy one through purchasing.** Put a **"Fixed Asset"** line on a purchase order pointed at the asset, then receive it. When the receipt posts — and only if accounting is enabled — Carbon debits the asset account, credits goods-received-not-invoiced, **adds** the cost to the asset, stamps the dates, and flips it from **"Draft"** to **"Active"**. Because the cost is added, an asset can accumulate value across several receipts.
+**Buy one through purchasing.** Put a **"Fixed Asset"** line on a purchase order pointed at the asset, then receive it. When the receipt posts, and only if accounting is enabled, Carbon debits the asset account, credits goods-received-not-invoiced, **adds** the cost to the asset, stamps the dates, and flips it from **"Draft"** to **"Active"**. Because the cost is added, an asset can accumulate value across several receipts.
<Callout tone="blue" badge="ACCOUNTING GATES ACQUISITION" title="Receiving activates the asset only when accounting is on.">
-The purchase-receipt path posts the acquisition entry and the Draft → Active flip inside the same gate as every other ledger posting. With accounting off, the PO line is received but the asset itself is left untouched — register it manually instead.
+The purchase-receipt path posts the acquisition entry and the Draft → Active flip inside the same gate as every other ledger posting. With accounting off, the PO line is received but the asset itself is left untouched. Register it manually instead.
</Callout>
<Screenshot label="Fixed asset — register" caption="Bringing an asset to Active with its acquisition cost and depreciation start date." ratio="wide" />
@@ -34,9 +34,9 @@ The purchase-receipt path posts the acquisition entry and the Draft → Active f
Once an asset is **"Active"**, it depreciates. Carbon runs depreciation as a **monthly batch you trigger** — there's no background job quietly posting in the night. You create a depreciation run for a period, Carbon pulls every active asset and computes each one's charge, and you review it as a **"Draft"** before posting.
-The book charge follows the asset's method — **<Term>straight line</Term>**, **<Term>declining balance</Term>**, or **units of production** — and posting the run debits depreciation expense and credits accumulated depreciation, period by period.
+The book charge follows the asset's method (**<Term>straight line</Term>**, **<Term>declining balance</Term>**, or **units of production**), and posting the run debits depreciation expense and credits accumulated depreciation, period by period.
-<Figure illustration="depreciation-curve" caption="Net book value falls from acquisition cost toward residual — straight line in equal steps, declining balance faster early." />
+<Figure illustration="depreciation-curve" caption="Net book value falls from acquisition cost toward residual: straight line in equal steps, declining balance faster early." />
<Callout tone="neutral" badge="DRAFT THEN POST" title="Depreciation is computed at run time, reviewed, then posted.">
Each run's amounts are calculated when you create it and held as a draft, so you can check the period's charges before they hit the ledger. When an asset's <Term>net book value</Term> reaches its <Term>residual value</Term>, posting flips it to **"Fully Depreciated"** and it stops accruing.
@@ -46,6 +46,6 @@ Each run's amounts are calculated when you create it and held as a draft, so you
## Two books at once
-The depreciation you report on the books and the depreciation you claim for tax rarely match, so Carbon keeps both. Every asset runs a **book** schedule and a separate **tax** schedule, each free to use its own method — the tax side including full **<Term>MACRS</Term>** with the IRS property-class tables. The two accumulate independently against the same asset.
+The depreciation you report on the books and the depreciation you claim for tax rarely match, so Carbon keeps both. Every asset runs a **book** schedule and a separate **tax** schedule, each free to use its own method, the tax side including full **<Term>MACRS</Term>** with the IRS property-class tables. The two accumulate independently against the same asset.
With tax depreciation enabled, posting a run can also book the **deferred tax** the gap between the two creates, so that timing difference shows up in the ledger as it happens rather than as a year-end surprise.
diff --git a/docs/content/guides/fixed-assets-sell.mdx b/docs/content/guides/fixed-assets-sell.mdx
index d04b02920a..89abcc1baf 100644
--- a/docs/content/guides/fixed-assets-sell.mdx
+++ b/docs/content/guides/fixed-assets-sell.mdx
@@ -1,6 +1,6 @@
---
title: Sell or dispose
-description: Two ways an asset leaves the books — sold to a buyer, or scrapped.
+description: "Two ways an asset leaves the books: sold to a buyer, or scrapped."
label: "(IV)"
index: 3
flow: manufacturing-accounting
@@ -8,28 +8,28 @@ flowName: Manufacturing accounting
flowIndex: 3
---
-Eventually an asset leaves the books. There are two ways out, and Carbon treats them as genuinely different actions — handled by different teams, with different effects. You **sell** an asset to a buyer, or you **<Term id="disposal">dispose</Term>** of it when it's done. Both start from an asset that's **"Active"** or **"Fully Depreciated"**.
+Eventually an asset leaves the books. There are two ways out, and Carbon treats them as genuinely different actions, handled by different teams, with different effects. You **sell** an asset to a buyer, or you **<Term id="disposal">dispose</Term>** of it when it's done. Both start from an asset that's **"Active"** or **"Fully Depreciated"**.
-The number that anchors both is **<Term>net book value</Term>** — what the asset is still worth on the books: its acquisition cost minus the <Term id="depreciation">depreciation</Term> accumulated against it.
+The number that anchors both is **<Term>net book value</Term>**, what the asset is still worth on the books: its acquisition cost minus the <Term id="depreciation">depreciation</Term> accumulated against it.
-<Figure illustration="asset-exit" caption="Two ways an asset leaves the books — sold through a sales order at net book value, or disposed as a write-off." />
+<Figure illustration="asset-exit" caption="Two ways an asset leaves the books: sold through a sales order at net book value, or disposed as a write-off." />
## Sell it
-Selling a piece of equipment is a sales act, so it lives with the sales team. The **Sell** action drafts a real **<Term>sales order</Term>** with a single **"Fixed Asset"** line pointed at the asset, priced at its **net book value**. From there it's the ordinary quote-to-cash flow — ship it, invoice it, collect — with the order line carrying a link back to the asset it came from.
+Selling a piece of equipment is a sales act, so it lives with the sales team. The **Sell** action drafts a real **<Term>sales order</Term>** with a single **"Fixed Asset"** line pointed at the asset, priced at its **net book value**. From there it's the ordinary quote-to-cash flow (ship it, invoice it, collect), with the order line carrying a link back to the asset it came from.
<Callout tone="blue" badge="SEEDS A SALES ORDER" title="Selling an asset hands it to quote-to-cash at book value.">
-The Sell action doesn't invent a separate sale mechanism — it creates a normal sales order, lined up at net book value, that ships and invoices like any other. The fixed-asset line just remembers which asset was sold.
+The Sell action doesn't invent a separate sale mechanism. It creates a normal sales order, lined up at net book value, that ships and invoices like any other. The fixed-asset line just remembers which asset was sold.
</Callout>
<Screenshot label="Sell fixed asset" caption="The Sell action drafts a sales order for the asset at its net book value." ratio="wide" />
## Dispose it
-When an asset is retired rather than sold, you **dispose** of it — an accounting action. Carbon posts the disposal as a write-off: it clears the accumulated depreciation, removes the asset at its full acquisition cost, and books the remaining **net book value** as a loss. The asset moves to **"Disposed"**.
+When an asset is retired rather than sold, you **dispose** of it, an accounting action. Carbon posts the disposal as a write-off: it clears the accumulated depreciation, removes the asset at its full acquisition cost, and books the remaining **net book value** as a loss. The asset moves to **"Disposed"**.
<Callout tone="amber" badge="DISPOSAL IS A WRITE-OFF" title="Disposing scraps the asset and books its remaining value as a loss.">
-The disposal entry reverses the asset off the books — debit accumulated depreciation, debit the write-off account for whatever book value remains, credit the asset account for its cost — and records that remaining value as a loss. It's a retirement, not a sale: no proceeds are collected on this path.
+The disposal entry reverses the asset off the books (debit accumulated depreciation, debit the write-off account for whatever book value remains, credit the asset account for its cost) and records that remaining value as a loss. It's a retirement, not a sale: no proceeds are collected on this path.
</Callout>
<Callout tone="green" badge="SELL vs DISPOSE" title="They're separate exits, not two names for one thing.">
@@ -38,4 +38,4 @@ Selling drafts a sales order and leaves the accounting to the invoice; disposing
<Divider />
-That's the asset lifecycle end to end: capitalized onto the books through a register or a purchase receipt, written down month by month through depreciation runs, and finally either sold at book value through quote-to-cash or disposed of as a write-off — the financial half-life of every machine on the floor.
+That's the asset lifecycle end to end: capitalized onto the books through a register or a purchase receipt, written down month by month through depreciation runs, and finally either sold at book value through quote-to-cash or disposed of as a write-off, the financial half-life of every machine on the floor.
diff --git a/docs/content/guides/floor.mdx b/docs/content/guides/floor.mdx
index 4d355f3346..19420c9184 100644
--- a/docs/content/guides/floor.mdx
+++ b/docs/content/guides/floor.mdx
@@ -5,41 +5,41 @@ label: "(IV)"
index: 3
---
-Time to build. You release the first <Term id="job">production job</Term> — the first 30 robots — to the shop floor, along with the <Term>subassembly</Term> jobs for the parts that feed it. This is the handoff most shops fumble; in Carbon it's a single, traceable step.
+Time to build. You release the first <Term id="job">production job</Term>, the first 30 robots, to the shop floor, along with the <Term>subassembly</Term> jobs for the parts that feed it. This is the handoff most shops fumble; in Carbon it's a single, traceable step.
<Figure illustration="shopfloor-loop" caption="On the floor, every operation reports back: material consumed, labor logged, parts scanned." />
## The schedule
-The released work lands on the schedule — a board you arrange, not a Gantt chart you fight. Carbon gives you two views of it:
+The released work lands on the schedule, a board you arrange, not a Gantt chart you fight. Carbon gives you two views of it:
-- By <Term>work center</Term> — <Term id="operation">operations</Term> sit in columns, one per work center. Drag an operation to a different center, or reorder it within a column to set its priority. The only constraint is that the center can actually run that process.
-- By date — jobs sit in columns by week or month. Drag a job to a different week and Carbon reschedules it in the background.
+- By <Term>work center</Term>: <Term id="operation">operations</Term> sit in columns, one per work center. Drag an operation to a different center, or reorder it within a column to set its priority. The only constraint is that the center can actually run that process.
+- By date: jobs sit in columns by week or month. Drag a job to a different week and Carbon reschedules it in the background.
-<Figure illustration="schedule-board" caption="Two views of one schedule — operations by work center, jobs by week. Drag to rebalance either." />
+<Figure illustration="schedule-board" caption="Two views of one schedule: operations by work center, jobs by week. Drag to rebalance either." />
<Callout tone="neutral" badge="YOU HOLD THE BALANCE" title="The board shows the work; you decide the sequence.">
-Carbon lays every released operation where it belongs and lets you rebalance by hand — dragging the week-one robots and their subassemblies into an order the floor can actually run.
+Carbon lays every released operation where it belongs and lets you rebalance by hand, dragging the week-one robots and their subassemblies into an order the floor can actually run.
</Callout>
<Screenshot label="Production schedule board" caption="The first 30-robot job and its subassemblies arranged across work centers." ratio="wide" />
## Operations & work centers
-Open a job and its <Term>routing</Term> is an ordered list of operations. Each operation names a process — Mill, Deburr, Anodize, Assemble — and the work center that runs it, with separate setup, labor, and machine time so estimates and costs are honest about where the hours go.
+Open a job and its <Term>routing</Term> is an ordered list of operations. Each operation names a process (Mill, Deburr, Anodize, Assemble) and the work center that runs it, with separate setup, labor, and machine time so estimates and costs are honest about where the hours go.
Most operations run on your floor. But some don't, and Carbon plans for that explicitly:
-- Inside operation — runs at one of your work centers, by your people.
-- <Term>Outside operation</Term> — performed by a supplier. Anodizing the arm part, say: the step leaves your floor, goes out, and comes back to finish its routing.
+- Inside operation: runs at one of your work centers, by your people.
+- <Term>Outside operation</Term>: performed by a supplier. Anodizing the arm part, say: the step leaves your floor, goes out, and comes back to finish its routing.
<Figure illustration="outside-processing" caption="An outside step leaves the floor for a supplier and raises its own PO — then rejoins the routing." />
<Callout tone="blue" badge="OUTSIDE PROCESSING" title="A supplier-run step raises its own purchase order.">
-Tie a process to a supplier and mark the operation Outside. Releasing the job raises an Outside Processing PO for that step, priced at the supplier's rate, and its lead time takes its place in the routing — so the schedule knows the arm is away being anodized.
+Tie a process to a supplier and mark the operation Outside. Releasing the job raises an Outside Processing PO for that step, priced at the supplier's rate, and its lead time takes its place in the routing, so the schedule knows the arm is away being anodized.
</Callout>
-<Screenshot label="Job routing with an outside operation" caption="The arm's routing — in-house milling, then an outside anodize step at a supplier." ratio="wide" />
+<Screenshot label="Job routing with an outside operation" caption="The arm's routing: in-house milling, then an outside anodize step at a supplier." ratio="wide" />
## Work instructions
@@ -49,27 +49,27 @@ On the shop-floor view, an operator doesn't see a spreadsheet — they see rich
## At the station
-When the operator opens their operation on the MES, the controls feel physical — closer to a machine panel than a form. Everything they do here flows straight back to the job:
+When the operator opens their operation on the MES, the controls feel physical, closer to a machine panel than a form. Everything they do here flows straight back to the job:
-- Clock time with the Setup, Labor, and Machine toggles — each starts and stops a production event, so the operation's estimated hours meet the actual ones.
+- Clock time with the Setup, Labor, and Machine toggles, each of which starts and stops a production event, so the operation's estimated hours meet the actual ones.
- <Term id="material-issue">Issue Material</Term> to pull the operation's components onto the job as they're consumed.
- Log Completed, Log <Term>Scrap</Term> with a reason, or Log <Term>Rework</Term> as pieces come off the operation.
-- Finish to close the operation — it ends every active production event in one move.
+- Finish to close the operation. It ends every active production event in one move.
-<Figure illustration="mes-station" caption="The operator's panel — Setup, Labor, and Machine time toggles, quantity logging, and Finish." />
+<Figure illustration="mes-station" caption="The operator's panel: Setup, Labor, and Machine time toggles, quantity logging, and Finish." />
<Callout tone="green" badge="HOURS BECOME COST" title="Every toggle and every issue lands on the job's real cost.">
Logged hours multiply by the work center's labor and machine rates; issued material posts at its cost. By the time the operation reads Done, the job already knows [what it actually took to build](/guides/job-costing).
</Callout>
-<Screenshot label="MES operation screen" caption="An operator running the arm's mill operation — time toggles, quantities, and material." ratio="wide" />
+<Screenshot label="MES operation screen" caption="An operator running the arm's mill operation: time toggles, quantities, and material." ratio="wide" />
## Backflush & issue
-Material leaves inventory two ways in Carbon, and the BoM decides which one applies to each component — so stock stays accurate without busywork:
+Material leaves inventory two ways in Carbon, and the BoM decides which one applies to each component, so stock stays accurate without busywork:
-- Issued — tracked material, like the serialized or batch-tracked motors, is issued to the operation (or picked to the line) so every unit is accounted for by its lot.
-- <Term id="backflush">Backflushed</Term> — non-tracked material is pulled from stock automatically the moment the operation or job reports complete. No transactions, no keystrokes.
+- Issued: tracked material, like the serialized or batch-tracked motors, is issued to the operation (or picked to the line) so every unit is accounted for by its lot.
+- <Term id="backflush">Backflushed</Term>: non-tracked material is pulled from stock automatically the moment the operation or job reports complete. No transactions, no keystrokes.
<Callout tone="green" badge="BACKFLUSH" title="The everyday consumables update themselves as the floor builds.">
Flag a material to backflush and you never reconcile it by hand. The moment an operation reports complete, what it consumed is gone from stock and [its cost is on the job](/guides/job-costing) — while the parts that truly need tracing stay explicitly issued.
@@ -77,10 +77,10 @@ Flag a material to backflush and you never reconcile it by hand. The moment an o
## Scan & trace
-For parts that demand a paper trail, operators scan as they build. Under the hood, every physical thing — a serial, a batch, a lot — is a <Term>tracked entity</Term>. Scanning a child into the unit you're building records a [tracked activity](/docs/reference/traceability): the child is marked consumed, the unit is marked produced, and the link between them is permanent.
+For parts that demand a paper trail, operators scan as they build. Under the hood, every physical thing (a serial, a batch, a lot) is a <Term>tracked entity</Term>. Scanning a child into the unit you're building records a [tracked activity](/docs/reference/traceability): the child is marked consumed, the unit is marked produced, and the link between them is permanent.
<Callout tone="blue" badge="SERIAL vs BATCH" title="Two tracking modes, one genealogy.">
-<Term id="serial">Serialize</Term> what you track one-by-one — the finished robot, its arm, its leg. <Term id="batch">Batch-track</Term> what moves in lots — motors, fasteners, raw stock. Scan a serial into a batch and Carbon records the link, so the robot's record knows exactly which motor lot it carries.
+<Term id="serial">Serialize</Term> what you track one-by-one: the finished robot, its arm, its leg. <Term id="batch">Batch-track</Term> what moves in lots: motors, fasteners, raw stock. Scan a serial into a batch and Carbon records the link, so the robot's record knows exactly which motor lot it carries.
</Callout>
<Screenshot label="Shop-floor scan" caption="An operator scanning a motor lot into robot serial #0001 at the assembly station." ratio="wide" />
diff --git a/docs/content/guides/job-costing.mdx b/docs/content/guides/job-costing.mdx
index d0f7fac896..9407f357b5 100644
--- a/docs/content/guides/job-costing.mdx
+++ b/docs/content/guides/job-costing.mdx
@@ -8,25 +8,25 @@ flowName: Manufacturing accounting
flowIndex: 3
---
-The [make-to-order tour](/guides/order) built robots. This flow follows the money those jobs spend. As a job is worked, Carbon accumulates its cost — materials consumed, labor and machine time — into <Term id="wip">work-in-process</Term>, then releases that cost into finished-goods inventory when the job completes. Every figure here is grounded in real ledger postings, so it's worth being precise about what posts, when, and to which account.
+The [make-to-order tour](/guides/order) built robots. This flow follows the money those jobs spend. As a job is worked, Carbon accumulates its cost (materials consumed, labor and machine time) into <Term id="wip">work-in-process</Term>, then releases that cost into finished-goods inventory when the job completes. Every figure here is grounded in real ledger postings, so it's worth being precise about what posts, when, and to which account.
## Accounting is a switch
-The first thing to know is that costing is gated. A company setting, **accounting enabled**, is **off by default**. With it off, the physical world still moves — the item ledger records quantities, job and operation statuses advance, material gets issued — but no general-ledger entries and no cost layers are written. Turn it on and the same operations also post money.
+The first thing to know is that costing is gated. A company setting, **accounting enabled**, is **off by default**. With it off, the physical world still moves: the item ledger records quantities, job and operation statuses advance, material gets issued. But no general-ledger entries and no cost layers are written. Turn it on and the same operations also post money.
<Callout tone="amber" badge="OFF BY DEFAULT" title="Quantities always move; money only moves when accounting is on.">
-Receiving, issuing, completing — the physical and status changes happen regardless. The GL postings described in this flow are written only when accounting is enabled for the company, so a shop can run operationally before it runs its books.
+Receiving, issuing, completing: the physical and status changes happen regardless. The GL postings described in this flow are written only when accounting is enabled for the company, so a shop can run operationally before it runs its books.
</Callout>
## Cost lands in WIP
As the job runs, cost flows **into** its work-in-process. Two streams feed it.
-<Figure illustration="wip-inflow" caption="Two streams feed a job's WIP — material out of inventory, plus labor and machine time at the work center's rate." />
+<Figure illustration="wip-inflow" caption="Two streams feed a job's WIP: material out of inventory, plus labor and machine time at the work center's rate." />
-**Material.** When a job consumes a part — <Term id="material-issue">issued</Term> to an operation, or <Term id="backflush">backflushed</Term> at completion — Carbon moves that part's cost out of inventory and into WIP. The ledger entry is a debit to the work-in-process account and a credit to inventory, tagged *Job Consumption*.
+**Material.** When a job consumes a part (<Term id="material-issue">issued</Term> to an operation, or <Term id="backflush">backflushed</Term> at completion), Carbon moves that part's cost out of inventory and into WIP. The ledger entry is a debit to the work-in-process account and a credit to inventory, tagged *Job Consumption*.
-**Labor and machine.** Every production event a worker or machine logs carries a duration. Carbon prices it — hours times the **work center's** labor or machine rate — and posts it in real time: a debit to WIP, a credit to a labor-absorption account, tagged *Production Event*. The rate comes from the <Term>work center</Term>, not from the operation's estimate.
+**Labor and machine.** Every production event a worker or machine logs carries a duration. Carbon prices it (hours times the **work center's** labor or machine rate) and posts it in real time: a debit to WIP, a credit to a labor-absorption account, tagged *Production Event*. The rate comes from the <Term>work center</Term>, not from the operation's estimate.
<Callout tone="blue" badge="NO OVERHEAD ABSORBED" title="WIP collects material, labor, and machine — not overhead.">
Only material and the labor/machine event rates post to WIP. Overhead rates exist on work centers and operations, but they drive estimating and quoting; Carbon does not absorb overhead into a job's actual cost. WIP is the sum of real material plus real time.
@@ -36,20 +36,20 @@ Only material and the labor/machine event rates post to WIP. Overhead rates exis
## Issued or backflushed
-That material reaches WIP one of two ways, and the difference is *when*. **Issuing** pushes a part to an operation as the work happens — the same move the picking list drives when it stages material to the line. **Backflushing** waits for the finish: when the job completes, Carbon consumes whatever the method called for that wasn't already issued, in a single sweep.
+That material reaches WIP one of two ways, and the difference is *when*. **Issuing** pushes a part to an operation as the work happens, the same move the picking list drives when it stages material to the line. **Backflushing** waits for the finish: when the job completes, Carbon consumes whatever the method called for that wasn't already issued, in a single sweep.
-The posting is identical either way — cost out of inventory, into WIP — so the choice is about floor discipline, not accounting. Issue as you go when you need tight control over what's consumed; lean on backflush for the routine material you'd rather not hand-count.
+The posting is identical either way (cost out of inventory, into WIP), so the choice is about floor discipline, not accounting. Issue as you go when you need tight control over what's consumed; lean on backflush for the routine material you'd rather not hand-count.
<Callout tone="neutral" badge="SCRAP STAYS IN WIP" title="Scrapped material is consumed cost, too.">
-<Term>Scrap</Term> and <Term>rework</Term> are recorded as their own production quantities, but scrapping a tracked part posts the same consumption — out of inventory, into the job's WIP. There's no separate scrap account; the cost of what you ruined rides along in the job until it settles at close.
+<Term>Scrap</Term> and <Term>rework</Term> are recorded as their own production quantities, but scrapping a tracked part posts the same consumption: out of inventory, into the job's WIP. There's no separate scrap account; the cost of what you ruined rides along in the job until it settles at close.
</Callout>
## WIP isn't a table
-Here's the part most ERPs hide. In Carbon, work-in-process is not a column or a table you can read off a job. It's a **balance in the [general ledger](/docs/reference/accounting)** — the sum of every posting against the work-in-process account that carries this job's id. A job's WIP is a query, not a field.
+Here's the part most ERPs hide. In Carbon, work-in-process is not a column or a table you can read off a job. It's a **balance in the [general ledger](/docs/reference/accounting)**, the sum of every posting against the work-in-process account that carries this job's id. A job's WIP is a query, not a field.
-The cost itself lives in the **cost ledger**, where each inbound entry opens a layer with a remaining quantity. How a consumed part is priced depends on the item's <Term>costing method</Term> — **FIFO** or **LIFO** walk the open layers, **Average** uses the running unit cost, **Standard** uses the standard cost. That choice changes the *amount* of the WIP entry, but the shape never changes: cost in from inventory, cost out to finished goods.
+The cost itself lives in the **cost ledger**, where each inbound entry opens a layer with a remaining quantity. How a consumed part is priced depends on the item's <Term>costing method</Term>: **FIFO** or **LIFO** walk the open layers, **Average** uses the running unit cost, **Standard** uses the standard cost. That choice changes the *amount* of the WIP entry, but the shape never changes: cost in from inventory, cost out to finished goods.
<Callout tone="neutral" badge="COST LAYERS" title="A layer is a cost-ledger row with quantity left on it.">
-There is no separate cost-layer table — open layers are cost-ledger rows that still have remaining quantity. Consuming walks those layers by date for FIFO or LIFO; the costing method only decides which cost a consumption picks up, never whether WIP is tracked.
+There is no separate cost-layer table. Open layers are cost-ledger rows that still have remaining quantity. Consuming walks those layers by date for FIFO or LIFO; the costing method only decides which cost a consumption picks up, never whether WIP is tracked.
</Callout>
diff --git a/docs/content/guides/job-finish-close.mdx b/docs/content/guides/job-finish-close.mdx
index 8546c95678..4b86019c17 100644
--- a/docs/content/guides/job-finish-close.mdx
+++ b/docs/content/guides/job-finish-close.mdx
@@ -14,12 +14,12 @@ A <Term>job</Term> has been collecting cost in <Term id="wip">work-in-process</T
## Finish into inventory
-When the last operation is done, Carbon completes the job. It <Term id="backflush">backflushes</Term> any material still owed, catches up any labor that hasn't posted yet, and then **receives the finished goods into inventory** — a debit to inventory, a credit to work-in-process, tagged *Job Receipt*. The job moves to **"Completed"**.
+When the last operation is done, Carbon completes the job. It <Term id="backflush">backflushes</Term> any material still owed, catches up any labor that hasn't posted yet, and then **receives the finished goods into inventory**: a debit to inventory, a credit to work-in-process, tagged *Job Receipt*. The job moves to **"Completed"**.
The receipt is valued at the job's **actual accumulated WIP cost** — whatever really went in. Carbon does not receive finished goods at standard and book a variance; the finished unit's cost is simply the sum of what the job spent.
<Callout tone="blue" badge="ACTUAL, NOT STANDARD" title="Finished goods are valued at what the job actually cost.">
-Completion moves the whole WIP balance into inventory one-for-one — equal debit and credit — so there's no variance at finish time. The item's costing method only decides how that cost is carried forward onto the part, not the value it's received at.
+Completion moves the whole WIP balance into inventory one-for-one, equal debit and credit, so there's no variance at finish time. The item's costing method only decides how that cost is carried forward onto the part, not the value it's received at.
</Callout>
<Screenshot label="Job completion" caption="Completing the job: finished goods received into inventory at the job's accumulated cost." ratio="wide" />
@@ -29,25 +29,25 @@ Completion moves the whole WIP balance into inventory one-for-one — equal debi
It's tempting to think a make-to-order job ships straight to the customer. It doesn't. A make-to-order job is marked by its link to a <Term>sales order</Term> line, but its costing is **identical** to a stock job: it receives into inventory first, and the sales order then ships *from inventory*. The job and the shipment are separate postings.
<Callout tone="amber" badge="MTO = MTS, FOR COSTING" title="A make-to-order job receives to stock, then ships from stock.">
-There is no path that ships finished goods directly off a job. Whether a job was raised for stock or for a specific order, it completes into inventory the same way — which keeps cost in one place and makes the sale a clean, separate event.
+There is no path that ships finished goods directly off a job. Whether a job was raised for stock or for a specific order, it completes into inventory the same way, which keeps cost in one place and makes the sale a clean, separate event.
</Callout>
## Sell it
-When the order ships, the cost of those goods comes **out of inventory**, not out of WIP. Posting the <Term>shipment</Term> reads the inventory cost layers, prices what left, and posts a debit to <Term id="cogs">cost of goods sold</Term> and a credit to inventory, tagged *Sales Shipment*. This is the same shipment posting the [quote-to-cash flow](/guides/order-to-cash) covers — here we're just watching the cost side of it.
+When the order ships, the cost of those goods comes **out of inventory**, not out of WIP. Posting the <Term>shipment</Term> reads the inventory cost layers, prices what left, and posts a debit to <Term id="cogs">cost of goods sold</Term> and a credit to inventory, tagged *Sales Shipment*. This is the same shipment posting the [quote-to-cash flow](/guides/order-to-cash) covers. Here we're just watching the cost side of it.
-By the time a unit is sold, its WIP is long gone — relieved at completion. COGS is always drawn from the inventory layer, so the sale's margin reflects the real landed cost of that specific stock.
+By the time a unit is sold, its WIP is long gone, relieved at completion. COGS is always drawn from the inventory layer, so the sale's margin reflects the real landed cost of that specific stock.
## Close the job
Completion zeroes WIP into finished goods one-for-one, so in the clean case a finished job's WIP balance is already nil. But rounding, late material, or a late event can leave a few cents stranded against the job's work-in-process account. **Closing** the job sweeps it.
-Closing sums whatever remains in WIP for the job and, if it's more than a rounding sliver, posts it to a production-variance account — a debit to **Production Variance**, a credit to work-in-process — tagged *Job Close*. The job moves to **"Closed"**, and its WIP is provably zero. This is the one place a job's variance lands.
+Closing sums whatever remains in WIP for the job and, if it's more than a rounding sliver, posts it to a production-variance account (a debit to **Production Variance**, a credit to work-in-process), tagged *Job Close*. The job moves to **"Closed"**, and its WIP is provably zero. This is the one place a job's variance lands.
<Callout tone="green" badge="CLOSE = SWEEP WIP" title="Closing settles the residual to Production Variance.">
-There's no standard-cost variance booked along the way — finish is at actual, and the only variance Carbon posts for a job is whatever WIP is left over at close. A closed job has zero work-in-process and a complete trail from material in to variance out.
+There's no standard-cost variance booked along the way. Finish is at actual, and the only variance Carbon posts for a job is whatever WIP is left over at close. A closed job has zero work-in-process and a complete trail from material in to variance out.
</Callout>
<Divider />
-That's the cost of a job, start to finish: cost flows into WIP as it's worked, out to inventory when it finishes, on to COGS when it sells, and any remainder swept to variance when it closes — every move a real ledger posting, gated on whether the shop is keeping books at all. The same ledger carries the machines that did the work — which is where this flow turns next.
+That's the cost of a job, start to finish: cost flows into WIP as it's worked, out to inventory when it finishes, on to COGS when it sells, and any remainder swept to variance when it closes, every move a real ledger posting, gated on whether the shop is keeping books at all. The same ledger carries the machines that did the work, which is where this flow turns next.
diff --git a/docs/content/guides/order-to-cash.mdx b/docs/content/guides/order-to-cash.mdx
index 0601aeb603..c16f1414ba 100644
--- a/docs/content/guides/order-to-cash.mdx
+++ b/docs/content/guides/order-to-cash.mdx
@@ -8,23 +8,23 @@ flowName: Quote to cash
flowIndex: 1
---
-You have a <Term>sales order</Term> sitting at **"To Ship and Invoice"**. Cash is four moves away: fulfill the lines, post a <Term>shipment</Term>, raise an invoice, record payment. None of them auto-chain — each is a discrete, posted step you take when the work is actually ready.
+You have a <Term>sales order</Term> sitting at **"To Ship and Invoice"**. Cash is four moves away: fulfill the lines, post a <Term>shipment</Term>, raise an invoice, record payment. None of them auto-chain. Each is a discrete, posted step you take when the work is actually ready.
-<Figure illustration="cash-cycle" caption="Four posted moves carry a confirmed order to recorded cash — and none of them auto-chains." />
+<Figure illustration="cash-cycle" caption="Four posted moves carry a confirmed order to recorded cash. None of them auto-chains." />
## The line stays open
-A sales order line keeps score. It tracks `saleQuantity` against `quantitySent` and `quantityInvoiced`, with the remaining `quantityToSend` and `quantityToInvoice` computed for you. The line only closes when it is **both** fully sent and fully invoiced — that single rule is what lets one order ship and bill in pieces without losing the remainder.
+A sales order line keeps score. It tracks `saleQuantity` against `quantitySent` and `quantityInvoiced`, with the remaining `quantityToSend` and `quantityToInvoice` computed for you. The line only closes when it is **both** fully sent and fully invoiced. That single rule is what lets one order ship and bill in pieces without losing the remainder.
## Three ways to fulfill a line
The <Term>method type</Term> on each line decides where the goods come from:
-- **<Term>Make to Order</Term>** raises a production <Term id="job">job</Term> for the line — the [make-to-order tour](/guides/order) in full.
-- **<Term>Pull from Inventory</Term>** ships from stock you already hold — no job, just a pick.
+- **<Term>Make to Order</Term>** raises a production <Term id="job">job</Term> for the line, the [make-to-order tour](/guides/order) in full.
+- **<Term>Pull from Inventory</Term>** ships from stock you already hold: no job, just a pick.
- **<Term>Purchase to Order</Term>** buys it in for this order; its **<Term>drop-ship</Term>** variant has the supplier ship straight to your customer, so the goods never touch your dock.
-However a line is sourced, every fulfillment resolves to one of two kinds — from **inventory** or from a **job** — and that's what the shipment posts against.
+However a line is sourced, every fulfillment resolves to one of two kinds, from **inventory** or from a **job**, and that's what the shipment posts against.
<Callout tone="blue" badge="STATUS vs DISPLAY" title="The list can read 'In Progress' before the stored status changes.">
The sales order list computes a display status: while a make-to-order line still has incomplete jobs, it shows **"In Progress"** even though the order's stored status is **"To Ship and Invoice"**. The raw status drives filtering and the flow; the display status reflects what's really happening on the floor.
@@ -34,7 +34,7 @@ The sales order list computes a display status: while a make-to-order line still
Create a shipment against the order. One shipment table serves sales orders, purchase orders, and transfers alike, tagged here with a "Sales Order" source. It opens at **"Draft"**.
-Creating it changes nothing on hand — **<Term id="posting">posting</Term>** is the event that matters. Post the shipment and four things happen at once: the shipment moves to **"Posted"**, inventory drops via the item ledger, the line's `quantitySent` rises, and the order advances to **"To Invoice"** (or **"Completed"** once everything is both shipped and billed). `sentComplete` flips only when the cumulative shipped quantity reaches the ordered quantity, so partial and repeated shipments are first-class.
+Creating it changes nothing on hand: **<Term id="posting">posting</Term>** is the event that matters. Post the shipment and four things happen at once: the shipment moves to **"Posted"**, inventory drops via the item ledger, the line's `quantitySent` rises, and the order advances to **"To Invoice"** (or **"Completed"** once everything is both shipped and billed). `sentComplete` flips only when the cumulative shipped quantity reaches the ordered quantity, so partial and repeated shipments are first-class.
<Callout tone="amber" badge="POSTING ≠ CREATING" title="Posting moves inventory and the order — and stops there.">
A posted shipment decrements stock and advances the order, and if accounting is enabled it writes the <Term id="cogs">COGS</Term> journal entries. What it does **not** do is create the invoice. Fulfillment and billing are deliberately separate steps.
@@ -44,22 +44,22 @@ A posted shipment decrements stock and advances the order, and if accounting is
## Raise the invoice
-A sales invoice has two possible sources. You can bill straight from the **sales order**, or from a **posted shipment** — the shipment path links the invoice back to that shipment and clamps the billed quantity to what actually shipped. Bill-on-ship or bill-on-order: Carbon supports both.
+A sales invoice has two possible sources. You can bill straight from the **sales order**, or from a **posted shipment**. The shipment path links the invoice back to that shipment and clamps the billed quantity to what actually shipped. Bill-on-ship or bill-on-order: Carbon supports both.
-The invoice opens at **"Draft"**, fully editable. The moment it leaves "Draft" it locks — a guard against changing numbers that have already entered the books.
+The invoice opens at **"Draft"**, fully editable. The moment it leaves "Draft" it locks, a guard against changing numbers that have already entered the books.
<Screenshot label="Sales invoice" caption="A draft invoice drawn from the posted shipment, quantities matched to what shipped." ratio="wide" />
## Post and get paid
-Posting the invoice writes the general ledger — Accounts Receivable against Sales, and COGS against Inventory — but only when accounting is switched on for the company. Posting also bumps each line's `quantityInvoiced`, stamps the posting date, and sets the invoice to **"Submitted"**. Note what it is *not*: posting never marks an invoice **"Paid"**.
+Posting the invoice writes the general ledger (Accounts Receivable against Sales, and COGS against Inventory), but only when accounting is switched on for the company. Posting also bumps each line's `quantityInvoiced`, stamps the posting date, and sets the invoice to **"Submitted"**. Note what it is *not*: posting never marks an invoice **"Paid"**.
-Payment isn't a separate record in Carbon. It's the invoice's own state — its status, `datePaid`, and `balance`. When you mark the invoice **"Paid"**, Carbon stamps the payment date. Need to undo a posted invoice? Voiding writes compensating reversing entries; you can't simply delete it.
+Payment isn't a separate record in Carbon. It's the invoice's own state: its status, `datePaid`, and `balance`. When you mark the invoice **"Paid"**, Carbon stamps the payment date. Need to undo a posted invoice? Voiding writes compensating reversing entries; you can't simply delete it.
-<Callout tone="green" badge="PAYMENT IS A FIELD" title="There's no payment entity — settlement lives on the invoice.">
+<Callout tone="green" badge="PAYMENT IS A FIELD" title="There's no payment entity: settlement lives on the invoice.">
The invoice carries its own status, paid date, and balance. Posting lands it on **"Submitted"**; moving it to **"Paid"** is the deliberate act that records the cash. All ledger postings along the way are gated on accounting being enabled.
</Callout>
<Divider />
-That's quote to cash end to end: an opportunity priced into a quote, accepted into an order, shipped, invoiced, and settled — each step its own posted move, each leaving a trail you can stand behind.
+That's quote to cash end to end: an opportunity priced into a quote, accepted into an order, shipped, invoiced, and settled, each step its own posted move, each leaving a trail you can stand behind.
diff --git a/docs/content/guides/order.mdx b/docs/content/guides/order.mdx
index 9c5e00fba5..b3781747ba 100644
--- a/docs/content/guides/order.mdx
+++ b/docs/content/guides/order.mdx
@@ -5,61 +5,65 @@ label: "(I)"
index: 0
---
-Meet the shop we'll follow through this guide: an OEM that builds humanoid robots. One customer just placed an order for 90 units. By the end, you'll have followed that order all the way from the sales desk to a finished robot on the shipping dock — and seen most of Carbon along the way.
+Meet the shop we'll follow through this guide: an <Term>OEM</Term> that builds humanoid robots. One customer just placed an order for 90 units. By the end, you'll have followed that order all the way from the sales desk to 90 finished robots on the shipping dock — and seen most of Carbon along the way.
Carbon spans the office and the floor: ERP for orders, purchasing, and planning; MES for the people actually building. The thread that ties them together is a single order, so that's where we start.
-<Figure illustration="flow-overview" caption="The path one order travels through Carbon — and the shape of this guide." />
+<Figure illustration="flow-overview" caption="The path one order travels through Carbon, and the shape of this guide." />
## The sales order
-Open the <Term>sales order</Term> dashboard. There's already an order on the books: 90 robots. But the customer doesn't want all 90 at once — they want 30 this week, 30 next week, and 30 the week after. That delivery schedule is going to shape everything downstream.
+Open the <Term>sales order</Term> dashboard. There's already an order on the books: 90 robots. But the customer doesn't want all 90 at once. They want 30 this week, 30 next week, and 30 the week after. That delivery schedule is going to shape everything downstream.
-An order line doesn't close the moment you ship part of it. Carbon holds the line open — its status reads "To Ship and Invoice" — until every unit has both shipped and been invoiced. That single fact is what lets one order be fulfilled in batches without losing track of what's left.
+Shipping part of an order doesn't close it. While any unit still has to ship, the order's status reads **"To Ship and Invoice"**. Once every unit has shipped but you haven't billed yet, it moves to **"To Invoice"**. The order closes only when everything has both shipped and been invoiced. That's what lets one order be fulfilled in batches without losing track of what's left.
<Screenshot label="Sales order dashboard" caption="The 90-unit robot order, with its three-week delivery schedule." ratio="wide" />
<Callout tone="neutral" badge="UPSTREAM" title="The order often starts as a quote.">
-Carbon has a full <Term>Quote</Term> module with quantity-break pricing, so the 90-unit price could have been negotiated in [quote to cash](/guides/quote-to-cash) first. We'll pick the story up at the confirmed sales order, where the build truly begins.
+Carbon has a full <Term>Quote</Term> module with quantity-break pricing, so the 90-unit price could have been negotiated in <Term>quote to cash</Term> first. We'll pick the story up at the confirmed sales order, where the build truly begins.
</Callout>
## Batch it into jobs
-You don't build 90 robots as one monolithic job. With a batch size of 30, Carbon splits the order into three <Term id="job">jobs</Term> — one per delivery. Each can be scheduled, released, and shipped on its own timeline.
+You don't build 90 robots as one monolithic job. To match the three-week delivery schedule, you split the order into three <Term id="job">jobs</Term> of 30, one per delivery, each scheduled, released, and shipped on its own timeline.
+
+You create those jobs from the sales order itself. On the line's **Jobs** card, click **"Make to Order"**; in the **"Convert Line to Job"** dialog, set the **Quantity** to 30 and create the first job. Repeat for the second and third. Carbon counts down the units still waiting on a job (90 → 60 → 30), so you always know how much of the order is left to batch. To build all 90 at once instead, you'd leave the **Quantity** at the full 90 and create a single job.
<Figure illustration="order-split" caption="One 90-unit order, batched into three 30-unit jobs across three weeks." />
+<Screenshot label="Sales order line: Jobs card and the Convert Line to Job dialog" caption="Where you batch: the line's Jobs card. 'Make to Order' opens 'Convert Line to Job'. Set Quantity to 30 and create each batch, repeating until the order is fully covered." ratio="wide" />
+
<Callout tone="blue" badge="WHY BATCH" title="Batching matches your build to the delivery promise.">
Three jobs of 30 let you release week one now, keep weeks two and three in planning, and ship each batch the moment it's done — instead of waiting on all 90.
</Callout>
## Create the job
-From the order, create the job. Carbon carries the part, quantity, and due date across automatically — the job inherits exactly what was sold, so the floor never works from a stale spec.
+From the sales order, create the job. Carbon carries the part, quantity, and due date across automatically. The job inherits exactly what was sold. That way, the shop floor always has the up-to-date specifications and requirements for the job.
-It carries one more thing across, and it's the most important: the robot's <Term id="method">manufacturing method</Term> — its full recipe of materials and operations. The job doesn't point at the part's master recipe, though. It gets its own copy.
+Carbon carries one more thing across, and it's the most important: the robot's <Term id="method">manufacturing method</Term>, its full recipe of materials and operations. The job doesn't point at the part's master recipe, though. It gets its own copy.
-<Screenshot label="Create job from sales order" caption="Converting the first 30-unit batch into a production job." ratio="wide" />
+<Screenshot label="Job overview with its copied method" caption="The first 30-unit job, carrying its own copy of the robot's method: part, quantity, and due date all inherited from the sales order line." ratio="wide" />
## Get the method
-Pulling that recipe into the job is an explicit action in Carbon called <Term>Get Method</Term>. It clones the part's method — every material, every operation — into a job-specific method that belongs to this job alone.
+Pulling that recipe into the job is an explicit action in Carbon called <Term>Get Method</Term>. It clones the part's method, every material and every operation, into a job-specific method that belongs to this job alone.
-That copy is the whole point. Need a one-off substitution for this batch — a different fastener, an extra inspection step — you edit the job's method and the part master stays untouched. And when a change proves itself, you can push it back up to the part so every future job inherits it.
+That copy is the whole point. Say this batch needs a one-off substitution, like a different fastener or an extra inspection step. You edit the job's method, and the part master stays untouched. And when a change proves itself, you can push it back up to the part so every future job inherits it.
-<Figure illustration="get-method" caption="Get Method copies the part's recipe into the job — edits stay local until you push a proven change back up." />
+<Figure illustration="get-method" caption="Get Method copies the part's recipe into the job. Edits stay local until you push a proven change back up." />
<Callout tone="blue" badge="GET METHOD" title="The part holds the master recipe; the job holds a working copy.">
-Editing a job never silently rewrites your part library, and updating a part never disturbs a job already in flight. The link between them is a deliberate copy-up, copy-down — not a live wire.
+Editing a job never silently rewrites your part library, and updating a part never disturbs a job already in flight. Nothing flows between them automatically: you copy the recipe down when the job is created, and push improvements back up only when you choose to.
</Callout>
## Release or plan
-Now the key decision. You'll release one job — week one — and leave the other two in planning. The difference is exactly what each action sets in motion:
+Now the key decision. You'll release one job, week one, and leave the other two in planning. The difference is what each action sets in motion:
-- Release — generates inventory alerts for any required material that isn't in stock, and adds the job's tasks to the shop-floor schedule. This is work the floor can start.
-- Plan — generates the same inventory alerts, but does not schedule anything. It's how you see what a future job will need without committing the floor.
+- Release: generates inventory alerts for any required material that isn't in stock, and adds the job's tasks to the shop-floor schedule. This is work the floor can start.
+- Plan: generates the same inventory alerts, but does not schedule anything. It's how you see what a future job will need without the shop floor seeing it on the schedule. They are not yet notified about this job in any way.
-<Callout tone="amber" badge="RELEASE ≠ PLAN" title="Plan to see demand early; release to put work in motion.">
-Planning weeks two and three now means you can order long-lead material today — without cluttering this week's schedule with jobs the floor can't touch yet.
+<Callout tone="amber" badge="RELEASE ≠ PLAN" title="Plan = See demand early | Release = Put work in motion">
+Planning weeks two and three now means you can order materials that have a long lead time — without cluttering this week's schedule with jobs the floor can't touch yet.
</Callout>
diff --git a/docs/content/guides/plan.mdx b/docs/content/guides/plan.mdx
index d05f1b9a9d..8d3bf23ca2 100644
--- a/docs/content/guides/plan.mdx
+++ b/docs/content/guides/plan.mdx
@@ -5,15 +5,15 @@ label: "(III)"
index: 2
---
-Creating that first <Term>job</Term> created demand — Carbon now knows it needs arm parts, motors, and machine time. But your <Term id="sales-order">sales orders</Term> only show part of the picture. The pipeline says more robots are coming, even though no order exists yet.
+Creating that first <Term>job</Term> created demand. Carbon now knows it needs arm parts, motors, and machine time. But your <Term id="sales-order">sales orders</Term> only show part of the picture. The pipeline says more robots are coming, even though no order exists yet.
Planning on confirmed orders alone means you're always reacting. Carbon lets you plan on what you expect, too — and lets each part decide for itself how aggressively to replenish.
## Demand forecasting
-Under Production, open Projections and enter what you expect to need in the coming weeks. Here, the pipeline points to 50 robots in week four and 70 in week five — real demand with no order behind it yet. <Term id="demand-forecast">Forecasting</Term> puts it into the plan anyway.
+Under Production, open Projections and enter what you expect to need in the coming weeks. Here, the pipeline points to 50 robots in week four and 70 in week five, real demand with no order behind it yet. <Term id="demand-forecast">Forecasting</Term> puts it into the plan anyway.
-<Figure illustration="demand-forecast" caption="Confirmed orders (weeks 1–3) plus forecasted demand (weeks 4–5) — the full picture Carbon plans against." />
+<Figure illustration="demand-forecast" caption="Confirmed orders (weeks 1–3) plus forecasted demand (weeks 4–5), the full picture Carbon plans against." />
<Screenshot label="Production → Projections" caption="Entering projected weekly quantities for the robot from the sales pipeline." ratio="wide" />
@@ -21,29 +21,29 @@ Under Production, open Projections and enter what you expect to need in the comi
Not every part should wait for demand to pull it. A fast-moving fastener wants a standing buffer; a custom casting wants to be ordered only when a job needs it. Each part carries a <Term>reordering policy</Term> that tells planning exactly which behavior to use:
-- Manual Reorder — planning stays hands-off. You decide when to order. Good for the parts a human should always eyeball.
-- Demand-Based Reorder — order just what demand needs, when it needs it, grouped into a demand accumulation period so a week of small pulls becomes one sensible order.
-- Fixed Reorder Quantity — when on-hand falls to the <Term>reorder point</Term>, order a fixed reorder quantity. Predictable, supplier-friendly batch sizes.
-- Maximum Quantity — when on-hand falls to the reorder point, top back up to the maximum inventory quantity. Classic min/max for shelf stock.
+- Manual Reorder: planning stays hands-off. You decide when to order. Good for the parts a human should always eyeball.
+- Demand-Based Reorder: order just what demand needs, when it needs it, grouped into a demand accumulation period so a week of small pulls becomes one sensible order.
+- Fixed Reorder Quantity: when on-hand falls to the <Term>reorder point</Term>, order a fixed reorder quantity. Predictable, supplier-friendly batch sizes.
+- Maximum Quantity: when on-hand falls to the reorder point, top back up to the maximum inventory quantity. Classic min/max for shelf stock.
-<Figure illustration="reorder-policy" caption="Reorder point in action — on-hand falls to the trigger, and an order tops it back up." />
+<Figure illustration="reorder-policy" caption="Reorder point in action: on-hand falls to the trigger, and an order tops it back up." />
<Callout tone="blue" badge="BUY OR MAKE" title="The policy decides how much; the replenishment system decides what kind of order.">
A part set to Buy turns a replenishment into a <Term id="purchase-order">purchase order</Term>; set to Make, it turns into a job. Lot size and minimum / maximum order quantities round the raw number into something you can actually order or build.
</Callout>
-<Screenshot label="Part — Planning tab" caption="A part's reordering policy, reorder point, and lot size that drive every suggestion." ratio="wide" />
+<Screenshot label="Part: Planning tab" caption="A part's reordering policy, reorder point, and lot size that drive every suggestion." ratio="wide" />
## Into jobs & POs
-Now Carbon turns the whole picture — orders, forecast, and each part's policy — into the work that fulfills it. It nets demand against what you already have (on-hand stock plus open jobs and purchase orders) and proposes the difference: [production planning](/docs/reference/planning) suggests the jobs to build, purchasing planning suggests the purchase orders to raise.
+Now Carbon turns the whole picture (orders, forecast, and each part's policy) into the work that fulfills it. It nets demand against what you already have (on-hand stock plus open jobs and purchase orders) and proposes the difference: [production planning](/docs/reference/planning) suggests the jobs to build, purchasing planning suggests the purchase orders to raise.
<Figure illustration="planning-engine" caption="Demand in, plan out: production planning suggests jobs, purchasing planning suggests POs." />
-Purchasing planning applies <Term id="conversion-factor">conversion factors</Term> as it goes, so a robot's worth of demand becomes the right quantity in the units you actually buy. Nothing is committed until you confirm a suggestion — that's the moment a proposed line becomes a real job or a real PO.
+Purchasing planning applies <Term id="conversion-factor">conversion factors</Term> as it goes, so a robot's worth of demand becomes the right quantity in the units you actually buy. Nothing is committed until you confirm a suggestion. That's the moment a proposed line becomes a real job or a real PO.
<Callout tone="neutral" badge="BY LOCATION" title="Demand and planning can differ by location.">
-Run different plans for different sites, and let each part replenish the way that site needs — full demand-driven planning in one, simple min/max for high-runners in another.
+Run different plans for different sites, and let each part replenish the way that site needs: full demand-driven planning in one, simple min/max for high-runners in another.
</Callout>
<Screenshot label="Planning table" caption="Suggested jobs and purchase orders, ready to confirm." ratio="wide" />
@@ -52,8 +52,8 @@ Run different plans for different sites, and let each part replenish the way tha
When a purchase order arrives, you receive it. A <Term>receipt</Term> starts as a Draft against the PO, auto-fills its lines from what was ordered, and validates the quantities; <Term id="posting">posting</Term> it turns the goods into on-hand stock on a shelf.
-For a <Term id="batch">batch-tracked</Term> part like the motors, Carbon captures the lot right on the receipt line — and a conversion factor converts what you bought into what you stock, so a box of ten motors becomes ten units on the shelf. Months later, you can answer exactly which lot of motors went into which robots.
+For a <Term id="batch">batch-tracked</Term> part like the motors, Carbon captures the lot right on the receipt line, and a conversion factor converts what you bought into what you stock, so a box of ten motors becomes ten units on the shelf. Months later, you can answer exactly which lot of motors went into which robots.
-<Figure illustration="conversion-factor" caption="A conversion factor reconciles units — one purchased box of ten lands as ten stocked Each." />
+<Figure illustration="conversion-factor" caption="A conversion factor reconciles units: one purchased box of ten lands as ten stocked Each." />
<Screenshot label="Receiving a purchase order" caption="Receiving a batch-tracked motor shipment against its PO, lot captured on the line." ratio="wide" />
diff --git a/docs/content/guides/quote-to-cash.mdx b/docs/content/guides/quote-to-cash.mdx
index 477d268264..bd2f7b26b0 100644
--- a/docs/content/guides/quote-to-cash.mdx
+++ b/docs/content/guides/quote-to-cash.mdx
@@ -14,21 +14,21 @@ We'll follow one inquiry from a blank quote all the way to an order Carbon is re
## One opportunity, many documents
-In Carbon, a <Term id="rfq">request for quote</Term>, a <Term>quote</Term>, and a <Term>sales order</Term> aren't a rigid chain — they're three documents that hang off a single **<Term>opportunity</Term>**. The opportunity holds a slot for each (`salesRfqId`, `quoteId`, `salesOrderId`), and any of them can be empty.
+In Carbon, a <Term id="rfq">request for quote</Term>, a <Term>quote</Term>, and a <Term>sales order</Term> aren't a rigid chain. They're three documents that hang off a single **<Term>opportunity</Term>**. The opportunity holds a slot for each (`salesRfqId`, `quoteId`, `salesOrderId`), and any of them can be empty.
-<Figure illustration="opportunity-thread" caption="Three documents — RFQ, quote, order — hang off one opportunity, and any slot can be empty." />
+<Figure illustration="opportunity-thread" caption="Three documents (RFQ, quote, order) hang off one opportunity, and any slot can be empty." />
That design has a practical consequence: none of the steps are mandatory. You can raise a sales order cold, quote without a formal RFQ, or carry one opportunity through all three. Carbon tracks the relationship through the opportunity, not through a foreign key that forces the sequence.
-<Callout tone="neutral" badge="NO RIGID CHAIN" title="Quotes are optional — the opportunity is the thread.">
+<Callout tone="neutral" badge="NO RIGID CHAIN" title="Quotes are optional. The opportunity is the thread.">
A sales order does not require a quote, and a quote does not require an RFQ. Each document links back to the same opportunity, so you can enter the flow at whatever point a deal actually starts.
</Callout>
## Build the quote
-Open a new quote and add a line per item the customer asked about. Pricing lives on the line and supports quantity breaks, so the unit price for 10 can differ from the price for 100 — the negotiated number you land on is what carries forward later.
+Open a new quote and add a line per item the customer asked about. Pricing lives on the line and supports quantity breaks, so the unit price for 10 can differ from the price for 100. The negotiated number you land on is what carries forward later.
-A fresh quote sits at **"Draft"**. Each line moves through its own state as you work it up: **"Not Started"**, **"In Progress"**, **"Complete"** — or **"No Quote"** for a line you decide not to bid. The line states let you quote a multi-item inquiry piecemeal instead of all at once.
+A fresh quote sits at **"Draft"**. Each line moves through its own state as you work it up: **"Not Started"**, **"In Progress"**, **"Complete"**, or **"No Quote"** for a line you decide not to bid. The line states let you quote a multi-item inquiry piecemeal instead of all at once.
<Screenshot label="Quote builder" caption="A multi-line quote with quantity-break pricing, each line worked up independently." ratio="wide" />
@@ -36,21 +36,21 @@ When the numbers are ready, finalizing the quote moves it to **"Sent"** and mark
## Send it to the customer
-Carbon can hand the customer the quote directly. With digital quotes enabled, a **"Sent"** quote exposes a private share link — an unguessable id, no login required. Internal notes are stripped before anything reaches the customer.
+Carbon can hand the customer the quote directly. With digital quotes enabled, a **"Sent"** quote exposes a private share link: an unguessable id, no login required. Internal notes are stripped before anything reaches the customer.
-From that link the customer does one of two things. They **accept** — optionally attaching their PO as a PDF — and the quote converts straight into a sales order. Or they **reject**, and the quote moves to **"Lost"**. Either way the outcome lands back in Carbon without a single email thread.
+From that link the customer does one of two things. They **accept**, optionally attaching their PO as a PDF, and the quote converts straight into a sales order. Or they **reject**, and the quote moves to **"Lost"**. Either way the outcome lands back in Carbon without a single email thread.
<Callout tone="blue" badge="DIGITAL QUOTE" title="Acceptance is a first-class action, not an inbox.">
The customer-facing share link turns an accept into a real conversion and a reject into a recorded outcome. A companion customer portal then shows them live order and job status as the work proceeds.
</Callout>
-<Screenshot label="Digital quote — customer view" caption="What the customer sees: line pricing, accept with an optional PO upload, or reject." ratio="wide" />
+<Screenshot label="Digital quote: customer view" caption="What the customer sees: line pricing, accept with an optional PO upload, or reject." ratio="wide" />
## When a quote doesn't land
Not every quote converts, and Carbon keeps a distinct status for each ending. A quote whose validity date passes turns **"Expired"**; one the customer rejects becomes **"Lost"**; one you withdraw yourself is **"Cancelled"**. Each is a real outcome on the record, not a quote left hanging.
-None of them ends the conversation. A quote carries a **revision** number, so when a price needs reworking you re-quote rather than start over — the revision bumps, the customer sees the current terms, and the history of what changed stays intact.
+None of them ends the conversation. A quote carries a **revision** number, so when a price needs reworking you re-quote rather than start over: the revision bumps, the customer sees the current terms, and the history of what changed stays intact.
<Callout tone="neutral" badge="REVISE, DON'T RESTART" title="Re-quoting bumps a revision and keeps the trail.">
A lost or expired quote isn't wasted work. Raise a new revision off it and the prior terms stay on the record, so a negotiation that runs three rounds leaves three readable versions, not three disconnected quotes.
@@ -58,12 +58,12 @@ A lost or expired quote isn't wasted work. Raise a new revision off it and the p
## Into a sales order
-Whether you convert internally or the customer accepts, the same thing happens: Carbon builds a sales order from the quote. The order lines carry the negotiated net unit price, the new order reuses the quote's opportunity, and the quote flips to **"Ordered"** — or **"Partial"** if only some lines converted. The order itself opens at **"To Ship and Invoice"**.
+Whether you convert internally or the customer accepts, the same thing happens: Carbon builds a sales order from the quote. The order lines carry the negotiated net unit price, the new order reuses the quote's opportunity, and the quote flips to **"Ordered"**, or **"Partial"** if only some lines converted. The order itself opens at **"To Ship and Invoice"**.
-That status is the handoff. Everything from here — production, shipment, invoice — keys off the sales order, exactly where the make-to-order tour began.
+That status is the handoff. Everything from here (production, shipment, invoice) keys off the sales order, exactly where the make-to-order tour began.
<Callout tone="amber" badge="ORDER → JOB, NOT QUOTE → JOB" title="Jobs come from the order, never the quote.">
-There is no path from a quote straight to a production job. A [make-to-order](/guides/order) line on the *sales order* is what spawns a job — so the sequence is always quote → order → job. The order is the source of truth the floor builds against.
+There is no path from a quote straight to a production job. A [make-to-order](/guides/order) line on the *sales order* is what spawns a job, so the sequence is always quote → order → job. The order is the source of truth the floor builds against.
</Callout>
<Screenshot label="Sales order" caption="The converted order at 'To Ship and Invoice', priced from the accepted quote." ratio="wide" />
diff --git a/docs/content/guides/receive-and-bill.mdx b/docs/content/guides/receive-and-bill.mdx
index bda2d9828a..276880a7c6 100644
--- a/docs/content/guides/receive-and-bill.mdx
+++ b/docs/content/guides/receive-and-bill.mdx
@@ -8,24 +8,24 @@ flowName: RFQ to bill
flowIndex: 2
---
-The order is placed and sitting at **"To Receive and Invoice"**. Two things now happen on their own schedules: the goods show up, and the supplier's bill shows up. They rarely arrive together, and Carbon is built around that fact — receiving and invoicing are separate posted steps that reconcile against the order, not against each other directly.
+The order is placed and sitting at **"To Receive and Invoice"**. Two things now happen on their own schedules: the goods show up, and the supplier's bill shows up. They rarely arrive together, and Carbon is built around that fact: receiving and invoicing are separate posted steps that reconcile against the order, not against each other directly.
<Figure illustration="receive-bill-axes" caption="Received and invoiced are two independent axes on one purchase order line; the line closes only when both complete." />
## The line keeps score
-A <Term>purchase order</Term> line tracks `purchaseQuantity` against two independent counters: `quantityReceived` and `quantityInvoiced`. The amounts still owed — `quantityToReceive` and `quantityToInvoice` — are computed for you. A line carries two flags, `receivedComplete` and `invoicedComplete`, and only when both are true is that line done.
+A <Term>purchase order</Term> line tracks `purchaseQuantity` against two independent counters: `quantityReceived` and `quantityInvoiced`. The amounts still owed, `quantityToReceive` and `quantityToInvoice`, are computed for you. A line carries two flags, `receivedComplete` and `invoicedComplete`, and only when both are true is that line done.
Those two flags are exactly what the order's status rolls up. Receive everything and the order drops to **"To Invoice"**; bill everything and it drops to **"To Receive"**; once a line is both received and invoiced, it's **"Completed"**. Receiving and billing move the same order along two separate axes.
## Receive the goods
-Create a receipt from the order and Carbon pre-fills it from the outstanding lines, linking each receipt line back to its purchase order line. The receipt opens at **"Draft"** — and like a shipment, creating it changes nothing on hand.
+Create a receipt from the order and Carbon pre-fills it from the outstanding lines, linking each receipt line back to its purchase order line. The receipt opens at **"Draft"**. And like a shipment, creating it changes nothing on hand.
**<Term id="posting">Posting</Term>** is the event. Post the receipt and stock comes in through the item ledger as a *Purchase Receipt*, the order line's `quantityReceived` rises, `receivedComplete` flips once the full quantity is in, and the order advances. The receipt moves to **"Posted"**.
<Callout tone="amber" badge="INVENTORY vs LEDGER" title="Stock moves whether or not accounting is on.">
-Posting a receipt always updates inventory. The accounting entries — debit inventory or <Term id="wip">WIP</Term>, credit the <Term id="gr-ir">goods-received-not-invoiced (GR/IR)</Term> clearing account — are written only when accounting is enabled for the company. Inventory and the general ledger advance on different switches.
+Posting a receipt always updates inventory. The accounting entries are written only when accounting is enabled for the company: debit inventory or <Term id="wip">WIP</Term>, credit the <Term id="gr-ir">goods-received-not-invoiced (GR/IR)</Term> clearing account. Inventory and the general ledger advance on different switches.
</Callout>
<Callout tone="green" badge="QUALITY HANDOFF" title="Inspected parts land on hold, not on the shelf.">
@@ -38,30 +38,30 @@ Receive an item flagged for inspection and its <Term id="tracked-entity">tracked
Suppliers rarely sell in your stock unit. You might buy fasteners by the thousand-count box but stock and issue them as eaches. Every purchase order line carries a **<Term>conversion factor</Term>** between the two units, so the price and quantity you agree with the supplier stay in *their* terms while inventory moves in *yours*.
-<Figure illustration="conversion-factor" caption="Buy by the box, stock by the each — the line's conversion factor turns one purchased box into ten stocked units." />
+<Figure illustration="conversion-factor" caption="Buy by the box, stock by the each: the line's conversion factor turns one purchased box into ten stocked units." />
-Posting the receipt does the translation: the quantity the supplier shipped is converted through the factor before it lands in stock, while the line's received count stays in the purchase unit. You reconcile against the supplier in the unit you ordered, and the floor pulls stock in the unit it builds with — neither side has to do the arithmetic in its head.
+Posting the receipt does the translation: the quantity the supplier shipped is converted through the factor before it lands in stock, while the line's received count stays in the purchase unit. You reconcile against the supplier in the unit you ordered, and the floor pulls stock in the unit it builds with. Neither side has to do the arithmetic in its head.
## The supplier bill
-When the invoice arrives, draw a purchase invoice from the order. Carbon keeps the lines that still have something to bill and opens the invoice at **"Draft"**. Each invoice line links back to its **purchase order line** — and that is the only structural link in the chain.
+When the invoice arrives, draw a purchase invoice from the order. Carbon keeps the lines that still have something to bill and opens the invoice at **"Draft"**. Each invoice line links back to its **purchase order line**. And that is the only structural link in the chain.
There is, deliberately, no direct link from an invoice to a receipt. A receipt isn't even required before you bill: a direct invoice can create its own receipt as it posts. Carbon reconciles on the shared order line, not on a receipt-to-invoice match.
<Callout tone="blue" badge="THREE-WAY MATCH" title="The match is on the order line, not a receipt record.">
-Order, receipt, and bill are reconciled through the quantities on their shared purchase order line. Posting the invoice clears the GR/IR accrual the receipt booked — at the receipt's cost — and books any difference between order price and bill to a purchase price-variance account.
+Order, receipt, and bill are reconciled through the quantities on their shared purchase order line. Posting the invoice clears the GR/IR accrual the receipt booked, at the receipt's cost, and books any difference between order price and bill to a purchase price-variance account.
</Callout>
<Screenshot label="Purchase invoice" caption="A draft supplier invoice drawn from the order, lines matched on the purchase order line." ratio="wide" />
## Match and post
-Posting the purchase invoice writes the payable side of the ledger — credit Accounts Payable, debit inventory or WIP, reverse the GR/IR clearing the receipt set up, and send any price difference to variance — all gated on accounting being enabled. It bumps each order line's `quantityInvoiced`, flips `invoicedComplete`, and recomputes the order's status. The invoice itself lands on **"Open"**.
+Posting the purchase invoice writes the payable side of the ledger, all gated on accounting being enabled: credit Accounts Payable, debit inventory or WIP, reverse the GR/IR clearing the receipt set up, and send any price difference to variance. It bumps each order line's `quantityInvoiced`, flips `invoicedComplete`, and recomputes the order's status. The invoice itself lands on **"Open"**.
-Note what posting does *not* do: it never marks the invoice **"Paid"**. As on the sales side, payment in Carbon is field-based — a status and a paid date on the invoice — not a separate transaction. Voiding a posted invoice writes reversing entries rather than deleting it.
+Note what posting does *not* do: it never marks the invoice **"Paid"**. As on the sales side, payment in Carbon is field-based, a status and a paid date on the invoice, not a separate transaction. Voiding a posted invoice writes reversing entries rather than deleting it.
<Callout tone="green" badge="POSTED ≠ PAID" title="A posted bill is 'Open', awaiting payment.">
-Posting settles the accounting against the order and receipt; it doesn't disburse cash. The invoice waits at **"Open"** until it's marked paid — the deliberate act that records the outflow.
+Posting settles the accounting against the order and receipt; it doesn't disburse cash. The invoice waits at **"Open"** until it's marked paid, the deliberate act that records the outflow.
</Callout>
<Divider />
diff --git a/docs/content/guides/rfq-to-po.mdx b/docs/content/guides/rfq-to-po.mdx
index 4b0e75047e..b66627ddb2 100644
--- a/docs/content/guides/rfq-to-po.mdx
+++ b/docs/content/guides/rfq-to-po.mdx
@@ -8,7 +8,7 @@ flowName: RFQ to bill
flowIndex: 2
---
-Every robot the shop builds is mostly parts it buys. RFQ to bill is the procurement side of the house — the mirror image of quote to cash, run from the buyer's chair. You ask suppliers for a price, you place an order, the goods arrive, and a supplier bill lands that you reconcile against what you actually ordered and received.
+Every robot the shop builds is mostly parts it buys. RFQ to bill is the procurement side of the house, the mirror image of quote to cash, run from the buyer's chair. You ask suppliers for a price, you place an order, the goods arrive, and a supplier bill lands that you reconcile against what you actually ordered and received.
We'll follow one purchased part from a blank request all the way to a posted supplier invoice.
@@ -16,19 +16,19 @@ We'll follow one purchased part from a blank request all the way to a posted sup
## One RFQ, many suppliers
-Start with a <Term id="rfq">purchasing RFQ</Term>. Unlike a sales <Term>quote</Term> — which is one document for one customer — a purchasing RFQ is built to fan out: one request, the same lines, sent to several suppliers at once so you can compare what comes back. A fresh RFQ sits at **"Draft"**.
+Start with a <Term id="rfq">purchasing RFQ</Term>. Unlike a sales <Term>quote</Term>, which is one document for one customer, a purchasing RFQ is built to fan out: one request, the same lines, sent to several suppliers at once so you can compare what comes back. A fresh RFQ sits at **"Draft"**.
-When you finalize it, Carbon does the fan-out for you. It creates one **supplier quote** per supplier off the RFQ's lines, links each back to the request, and — if you want — emails the supplier a private link to respond. The RFQ moves to **"Requested"**; each new supplier quote opens at **"Draft"**.
+When you finalize it, Carbon does the fan-out for you. It creates one **supplier quote** per supplier off the RFQ's lines, links each back to the request, and, if you want, emails the supplier a private link to respond. The RFQ moves to **"Requested"**; each new supplier quote opens at **"Draft"**.
<Callout tone="neutral" badge="LOOSELY COUPLED" title="RFQ and supplier quote are both optional.">
-You can start at the purchase order and skip the shopping-around entirely. When you do use them, the RFQ, the supplier quotes, and the eventual PO are tied together by junction records — not a rigid chain — so one request can spread across many suppliers and many orders.
+You can start at the purchase order and skip the shopping-around entirely. When you do use them, the RFQ, the supplier quotes, and the eventual PO are tied together by junction records, not a rigid chain, so one request can spread across many suppliers and many orders.
</Callout>
<Screenshot label="Purchasing RFQ — supplier comparison" caption="One request, the same lines, fanned out to several suppliers to compare." ratio="wide" />
## Suppliers quote back
-Each supplier quote carries a private share link. The supplier opens it — no login — and enters their pricing, including quantity breaks and lead times. Submitting moves their quote to **"Active"** and writes the prices back into Carbon; declining moves it to **"Declined"**.
+Each supplier quote carries a private share link. The supplier opens it, no login, and enters their pricing, including quantity breaks and lead times. Submitting moves their quote to **"Active"** and writes the prices back into Carbon; declining moves it to **"Declined"**.
It's the same digital-quote machinery as the sales side, pointed the other way: there, customers accept your price; here, suppliers send you theirs.
@@ -42,19 +42,19 @@ The share link lives on each supplier quote, so every supplier responds in their
Convert the winning supplier quote and Carbon builds a <Term>purchase order</Term> from it — carrying the supplier, the lines, the negotiated pricing (converted through the line's <Term>conversion factor</Term> and exchange rate), and the same supplier-interaction thread. A PO can also be one of three kinds: a plain **"Purchase"**, a **"Return"**, or **<Term id="outside-operation">"Outside Processing"</Term>** for sending parts out to a vendor for a step.
-A purchase order's status is never typed in by hand — Carbon computes it from the state of its lines. Finalize a fresh order and it lands at **"To Receive and Invoice"**: nothing has arrived, nothing has been billed. If the order's value crosses an approval threshold, it stops at **"Needs Approval"** until someone signs off.
+A purchase order's status is never typed in by hand. Carbon computes it from the state of its lines. Finalize a fresh order and it lands at **"To Receive and Invoice"**: nothing has arrived, nothing has been billed. If the order's value crosses an approval threshold, it stops at **"Needs Approval"** until someone signs off.
<Callout tone="amber" badge="STATUS IS COMPUTED" title="A PO's status is derived from its lines, every time.">
-Each line tracks whether it's fully received and fully invoiced. The order rolls those up — "To Receive and Invoice" → "To Receive" or "To Invoice" → "Completed" — so the header always reflects what's actually outstanding, never a stale label.
+Each line tracks whether it's fully received and fully invoiced. The order rolls those up: "To Receive and Invoice" → "To Receive" or "To Invoice" → "Completed", so the header always reflects what's actually outstanding, never a stale label.
</Callout>
<Screenshot label="Purchase order" caption="The order converted from the chosen supplier quote, sitting at 'To Receive and Invoice'." ratio="wide" />
## Send work out, too
-Not every purchase order buys a part — some buy a *step*. When an operation on one of your own jobs goes to an outside vendor — plating, heat-treat, anodizing — you raise a purchase order of type **"Outside Processing"**, tied to that job's operation rather than to a stock item.
+Not every purchase order buys a part — some buy a *step*. When an operation on one of your own jobs goes to an outside vendor (plating, heat-treat, anodizing), you raise a purchase order of type **"Outside Processing"**, tied to that job's operation rather than to a stock item.
-It receives differently, too. Posting an outside-processing receipt adds nothing to a shelf; instead it advances the job operation and posts the vendor's charge straight into the job's [work-in-process](/guides/job-costing) — the subcontracted step lands in the same cost balance as the operations you ran in-house.
+It receives differently, too. Posting an outside-processing receipt adds nothing to a shelf; instead it advances the job operation and posts the vendor's charge straight into the job's [work-in-process](/guides/job-costing). The subcontracted step lands in the same cost balance as the operations you ran in-house.
<Callout tone="blue" badge="OUTSIDE PROCESSING" title="A PO can buy an operation, not just an item.">
Outside-processing orders bridge purchasing and the floor: the vendor performs a step on your part, and receiving the PO both moves the [make-to-order](/guides/order) job's operation forward and charges its cost to WIP. Purchasing, production, and accounting meet on one document.
diff --git a/docs/content/guides/ship.mdx b/docs/content/guides/ship.mdx
index 180629ac46..50084c9b4b 100644
--- a/docs/content/guides/ship.mdx
+++ b/docs/content/guides/ship.mdx
@@ -9,9 +9,9 @@ Building the robot is most of the work, but it isn't the whole job. You still ha
## Raise an issue
-Say an operator flags a defect on an arm. You open an Issue — Carbon's name for a <Term id="nonconformance">non-conformance</Term>. It moves through a clear lifecycle, from Registered to In Progress to Closed, and it links to the part itself, so the arm now carries that open issue everywhere it appears in the system.
+Say an operator flags a defect on an arm. You open an Issue, Carbon's name for a <Term id="nonconformance">non-conformance</Term>. It moves through a clear lifecycle, from Registered to In Progress to Closed, and it links to the part itself, so the arm now carries that open issue everywhere it appears in the system.
-<Figure illustration="eight-d" caption="An issue moves through its workflow — contain, correct, verify — until the fix is proven." />
+<Figure illustration="eight-d" caption="An issue moves through its workflow (contain, correct, verify) until the fix is proven." />
<Screenshot label="Quality issue" caption="An issue opened against the arm assembly operation." ratio="wide" />
@@ -21,19 +21,19 @@ An issue doesn't just sit there — it runs a workflow you define. A classic <Te
<Figure illustration="issue-workflow" caption="An issue moves Registered → In Progress → Closed, spinning up its required-action tasks along the way." />
-- <Term id="containment-action">Containment</Term> — stop the bad parts from spreading. Set it on the affected process and it surfaces on the shop floor, so the next operator can't keep building the defect.
-- <Term id="corrective-action">Corrective</Term> — find and fix the root cause.
-- <Term id="preventive-action">Preventive</Term> — change something so it can't recur.
-- Verification — prove the fix actually worked.
-- Communication — keep the customer in the loop.
+- <Term id="containment-action">Containment</Term>: stop the bad parts from spreading. Set it on the affected process and it surfaces on the shop floor, so the next operator can't keep building the defect.
+- <Term id="corrective-action">Corrective</Term>: find and fix the root cause.
+- <Term id="preventive-action">Preventive</Term>: change something so it can't recur.
+- Verification: prove the fix actually worked.
+- Communication: keep the customer in the loop.
<Callout tone="amber" badge="DISPOSITION" title="Held material doesn't move until someone signs off.">
-A review step gates what happens to the non-conforming arms — use, <Term>rework</Term>, or <Term>scrap</Term>. Nothing is dispositioned on a hunch; the decision is recorded against the issue alongside its actions.
+A review step gates what happens to the non-conforming arms: use, <Term>rework</Term>, or <Term>scrap</Term>. Nothing is dispositioned on a hunch; the decision is recorded against the issue alongside its actions.
</Callout>
## Versioned procedures
-Those work instructions the operator followed didn't appear from nowhere. They're generated from versioned procedures — the same Draft / Active / Archived discipline you saw on <Term id="method">methods</Term>. When a corrective action changes how the arm is assembled, you publish a new revision; every future job picks it up, and every job already running keeps the revision it started on.
+Those work instructions the operator followed didn't appear from nowhere. They're generated from versioned procedures, the same Draft / Active / Archived discipline you saw on <Term id="method">methods</Term>. When a corrective action changes how the arm is assembled, you publish a new revision; every future job picks it up, and every job already running keeps the revision it started on.
<Callout tone="green" badge="REVISIONS" title="Change the procedure once; the floor follows everywhere.">
New jobs pick up the latest published version; in-flight jobs never shift mid-build. And every robot's record pins the exact procedure revision it was actually built to.
@@ -43,17 +43,17 @@ New jobs pick up the latest published version; in-flight jobs never shift mid-bu
## Traceability
-Because everything was captured at build time, the <Term>genealogy</Term> of a finished robot is complete. Carbon stores it as a graph of <Term id="tracked-entity">tracked entities</Term> and the activities that link them — so from one serial you can walk backward to every ancestor (which arm, which motor lot, which raw material) or forward to every place a lot was used.
+Because everything was captured at build time, the <Term>genealogy</Term> of a finished robot is complete. Carbon stores it as a graph of <Term id="tracked-entity">tracked entities</Term> and the activities that link them, so from one serial you can walk backward to every ancestor (which arm, which motor lot, which raw material) or forward to every place a lot was used.
<Figure illustration="traceability-graph" caption="The genealogy of one finished robot, from serial number down to material lots." />
-One click — or one scan of the robot's QR label — answers the question every auditor and every recall asks: what exactly went into this unit, and where else did that lot go?
+One click, or one scan of the robot's QR label, answers the question every auditor and every recall asks: what exactly went into this unit, and where else did that lot go?
<Screenshot label="Traceability graph" caption="The full as-built genealogy for robot serial #0001." ratio="wide" />
## Ship & invoice
-Week one's 30 robots are done. You create a [shipment](/guides/order-to-cash) against the <Term id="sales-order">sales order</Term> — it drafts its lines from what's outstanding, you pick and post it — then <Term id="invoice">invoice</Term> that same 30. Because the order line stays open at "To Ship and Invoice," it simply carries the remaining 60 forward; the completed count rolls up as each batch ships.
+Week one's 30 robots are done. You create a [shipment](/guides/order-to-cash) against the <Term id="sales-order">sales order</Term>. It drafts its lines from what's outstanding, you pick and post it, then <Term id="invoice">invoice</Term> that same 30. Because the order line stays open at "To Ship and Invoice," it simply carries the remaining 60 forward; the completed count rolls up as each batch ships.
Carbon ties the invoice straight into your accounting system, so the build that started at the [sales desk](/guides/quote-to-cash) closes on the books — partial quantity and all.
@@ -61,4 +61,4 @@ Carbon ties the invoice straight into your accounting system, so the build that
<Divider />
-That's the whole loop: a 90-unit promise became three jobs, a tree of made and bought parts, a forecast-aware plan, traceable work on the floor, a quality save, and a shipped, invoiced, fully-traceable robot. Every entity you saw — methods, kits, policies, operations, issues — has its own page in the Reference when you're ready for the detail.
+That's the whole loop: a 90-unit promise became three jobs, a tree of made and bought parts, a forecast-aware plan, traceable work on the floor, a quality save, and a shipped, invoiced, fully-traceable robot. Every entity you saw (methods, kits, policies, operations, issues) has its own page in the Reference when you're ready for the detail.
diff --git a/docs/lib/glossary.ts b/docs/lib/glossary.ts
index 0d9aae8706..5602e3eae8 100644
--- a/docs/lib/glossary.ts
+++ b/docs/lib/glossary.ts
@@ -48,6 +48,11 @@ export function glossaryEntries(): GlossaryEntry[] {
}
export const glossary: Record<string, GlossaryEntry> = {
+ oem: {
+ term: "OEM (original equipment manufacturer)",
+ definition:
+ "A company that designs and builds its own finished products end to end (here, the shop building humanoid robots) rather than making parts to another company's specification.",
+ },
"method-type": {
term: "Method type",
definition:
@@ -75,7 +80,7 @@ export const glossary: Record<string, GlossaryEntry> = {
"replenishment-system": {
term: "Replenishment system",
definition:
- "How an item is replenished overall — Buy, Make, or Buy and Make — set per item, unlike the per-line method type.",
+ "How an item is replenished overall (Buy, Make, or Buy and Make), set per item, unlike the per-line method type.",
href: "/docs/reference/methods#method-type-vs-replenishment-system",
},
method: {
@@ -175,7 +180,7 @@ export const glossary: Record<string, GlossaryEntry> = {
"get-method": {
term: "Get Method",
definition:
- "The action that copies a saved method — its materials, operations, and work instructions — onto a job or quote line.",
+ "The action that copies a saved method (its materials, operations, and work instructions) onto a job or quote line.",
href: "/docs/reference/methods#get-method",
},
scrap: {
@@ -223,6 +228,12 @@ export const glossary: Record<string, GlossaryEntry> = {
"The thread linking a sales RFQ, its quote, and the resulting sales order — a join, not a document with its own status.",
href: "/guides/quote-to-cash#one-opportunity-many-documents",
},
+ "quote-to-cash": {
+ term: "Quote to cash",
+ definition:
+ "The end-to-end commercial flow from quoting a customer to collecting payment: RFQ to quote to sales order, then shipment, invoice, and settled payment.",
+ href: "/guides/quote-to-cash",
+ },
"drop-ship": {
term: "Drop-ship",
definition:
@@ -310,7 +321,7 @@ export const glossary: Record<string, GlossaryEntry> = {
receipt: {
term: "Receipt",
definition:
- "The inbound posting document that takes goods into stock — from a PO, transfer, or job output — and creates any tracked entities.",
+ "The inbound posting document that takes goods into stock (from a PO, transfer, or job output) and creates any tracked entities.",
href: "/docs/reference/receipts",
},
shipment: {
@@ -381,7 +392,7 @@ export const glossary: Record<string, GlossaryEntry> = {
"accounting-period": {
term: "Accounting period",
definition:
- "A dated window postings fall into — Active or Inactive, not open or closed — opened automatically when needed.",
+ "A dated window postings fall into (Active or Inactive, not open or closed), opened automatically when needed.",
href: "/docs/reference/accounting#periods",
},