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.
Accounting readiness assessment — 2026-09-07
Assessed #1060 against HEAD 0a9aef2444b04f0a0f0ade6f99dcd8e60aa3ec30. HEAD, local origin/main and the remote main SHA were identical at audit time. Issue bodies/specs supplied acceptance criteria; issue states and checkboxes supplied no implementation evidence.
Execution update (2026-09-08): The approved posting corrections plan now implements tax/shipping separation, exact payment funding and transaction FX, historical AR/AP reports, and consolidation CTA corrections. The matrix below preserves the original audit baseline; it must not be read as the current implementation status of those corrected defects. France and e-invoicing were explicitly excluded from this implementation. Provider sandbox acceptance, fixed-asset void lifecycle, record integrity and broader close/readiness controls remain follow-up work.
Verdict: Carbon has a substantial operational accounting foundation, but the program's public-company-readiness exit criteria are not met. Work remains on present-day monetary correctness, independent approvals, record integrity, bank close, GAAP subledgers and statutory interfaces. The current evidence supports neither a readiness date nor a credible percentage-complete estimate.
The July readiness document explicitly assumes implemented tax, budgeting, bank reconciliation and FX normalization. Those assumptions do not describe current main. See the assumed baseline. Rebaseline the tracker before using its DAG to dispatch work.
What is present
Period locking, sequential close/reopen, persisted checklist and transactional balance snapshots; posted-only multi-period balance sheet/income statement scans, TB and ledger drilldowns; inventory quantity-adjustment postings, cost-layer adjustments and overhead absorption; full asset disposal gain/loss; per-trade intercompany eliminations; daily exchange-rate store and company overrides; opening balance entry; several external accounting connectors. These are implemented building blocks, not sign-offs on their enclosing workstreams.
Code-backed workstream matrix
“Partial” means material implementation exists but the issue's complete acceptance contract is unmet. “Missing” means the program-specific implementation was not found or the described correction is still absent; older generic foundations can exist. No row represents a production deployment or auditor attestation.
| Issue | Workstream | Assessment | Current code and remaining scope | Evidence |
|---|---|---|---|---|
| #1030 | FX convention | Missing | A new rate store exists, but invoice/payment posting still multiplies foreign-per-base rates; the required coordinated normalization is absent. | payment conversion |
| #1031 | Period close and immutability | Partial | Open→Locked→Closed, sequential close/reopen, checklist and snapshots exist. Posted/reversed-header and line-insertion protection remains incomplete. | close lifecycle; latest immutability guard |
| #1032 | Accounting approvals / SoD | Missing | Reusable engine supports PO, quality documents and supplier approvals only. No JE/payment/purchase-invoice/memo approval extension or no-self-approval control. | supported approval types; direct JE posting |
| #1033 | IT general controls (deferred) | Partial | TOTP MFA and Enterprise SAML now exist. The CI dependency audit still ignores failure; the inspected deploy pipeline has no staging-promotion gate. This is not an exhaustive ITGC audit. | TOTP; SAML gate; nonblocking audit |
| #1034 | Bank reconciliation P1 | Missing | No dedicated bank master, bank statements, matching/reconciliation documents or source-currency journal fields found. A payment's bankAccount is a GL account reference. | existing payment model |
| #1035 | Financial reporting | Partial | BS/IS/TB, multi-period columns, CSV, ledger drawers and consolidation exist. Cash flow, fiscal-year retained-earnings split, gross TB debit/credit activity and statement PDF package remain missing. | cumulative earnings; netted TB columns |
| #1036 | Tax P1 | Missing | Percentage/amount tax fields exist, but ordinary taxed sales post gross to revenue. No tax codes/components/registrations, tax ledger, recovery/reverse-charge machinery or liability report found. | gross calculation; gross revenue posting |
| #1037 | Budgeting P1 | Missing | No budget header/line model, matrix, approval or budget-versus-actual implementation found. | Search A below; existing fiscal periods/cost centers are prerequisites. |
| #1038 | Gapless numbering / legal series | Partial | Atomic counter allocation is fixed. Draft/pre-post allocation remains; no posting-time legal-series/cutover/used-counter immutability contract found. | atomic allocator; numbered draft creation |
| #1039 | Close automation | Missing | Manual depreciation exists. No scheduled proposal engine, prepaid/recurring/auto-reversing machinery. The depreciation check only warns on existing drafts; no run can pass. | draft count; checklist condition |
| #1040 | Inventory valuation completeness | Partial | Quantity-adjustment GL, cost-layer adjustments, overhead absorption and valuation/tie-out report exist. Standard costing remains hidden; revaluation/LCNRV/landed-cost documents and full variance treatment are missing. | Standard hidden; adjustment GL; single variance account |
| #1041 | Fixed assets completeness | Partial | Acquisition, manual depreciation and invoice-linked full disposal with gain/loss exist. No impairment, CIP, component assets or partial-disposal implementation found. | gain/loss calculation; gain/loss posting |
| #1042 | Plaid / cash position | Missing | No Plaid feed, sync cursor/token model or cash-position implementation found. | integration registry; Search A. |
| #1043 | Tax P2 returns | Missing | No tax-return documents, ledger stamping, UK layout, settlement/reopen or remittance implementation found. | Search A; tax-ledger prerequisite also missing. |
| #1044 | Tax P3 AvaTax | Missing | No AvaTax determination/commit/void/fallback-and-reconcile engine found. Generic provider taxCode fields are not Carbon's tax model. | integration registry; Search A. |
| #1045 | Budgeting P2–3 | Missing | No commitment accounting, budget controls/overrides or consolidated budget-versus-actual implementation found. | Search A; budget model prerequisite missing. |
| #1046 | Bank reconciliation P3–4 | Missing | No advanced bank parsers, rules, tolerance adjustment or transfer machinery found. | Search A; bank reconciliation prerequisite missing. |
| #1047 | Integrity / audit / JE export / book seed | Partial | Append-only audit-log protection exists. Mandatory synchronous accounting capture, comprehensive posted-record guards, deferred balance enforcement, protected long-term archives, canonical JE population export and book seed remain missing. | optional asynchronous capture; append-only guard |
| #1048 | ASC 606 revenue recognition | Missing | Ordinary invoice-time revenue posting exists; no arrangements/obligations/SSP, recognition schedules, POC, contract rollforwards or close integration found. | current revenue trigger; Search A. |
| #1049 | Segments / dimension enforcement | Missing | Generic dimensions exist, but reserved Segment derivation/disclosures and required-dimension posting enforcement were not found. | dimension writer; posting validation |
| #1050 | FX / consolidation completeness | Partial | Daily global rates, overrides and actual pair-rate consolidation exist. No revaluation runs, posted CTA rollforward or transaction-level historical layers. Current CTA calculation also mishandles Expense signs. | rate resolver; CTA calculation |
| #1051 | Master-data controls | Missing | Supplier settings cover invoice party/payment terms; no controlled bank-detail/version/verification/change-alert workflow found. | supplier payment settings |
| #1052 | Multi-book | Missing | No accounting books, journal.bookId, adjustment generators or book-specific reports/close found. Tax depreciation fields are not adjustment books. | single-ledger TB contract; Search A. |
| #1053 | Statutory files / retention (deferred) | Missing | No FEC/SAF-T validation, statutory account mapping, archive legal hold or WORM enforcement found in inspected source. Existing gzip archives use ordinary mutable object storage. | archive upload; Search A. |
| #1054 | E-invoicing | Missing | No EN 16931 renderers, clearance state machine, legal issuance gating or structured inbound AP ingestion found. | Search A; provider registry and tax prerequisite also missing. |
| #1055 | WHT / ECSL / Intrastat / MTD | Missing | No withholding/trade declaration models, UK MTD submission or corresponding reporting adapters found. | Search A. |
| #1056 | Leases | Missing | No lease subledger, effective-interest schedules, modification/posting runs, disclosures or lessor machinery found. | Search A; multi-book prerequisite missing. |
| #1057 | Cutover / flag retirement | Partial | Opening balances and one-posted-opening-entry control exist. accountingEnabled remains reversible; no controlled activation validation/runbook evidence or flag retirement. | opening-balance gate; reversible toggle |
| #1058 | Intercompany maturity | Partial | Exact matching and per-trade control/revenue/COGS/capitalization eliminations exist. No tolerance/FX-difference matching, mirrored documents, netting or paired settlement found. | exact matching; per-trade eliminations |
| #1059 | Integration surface | Partial | Generic REST/MCP operations include TB and JE services. Specified book-aware contracts, canonical full JE export, controlled batch import/idempotency and signed accounting webhooks are missing. | operation catalog; router |
| #1061 | Avalara foundation | Missing | No Avalara registry entry, shared client/lifecycle hooks or sandbox smoke-test implementation found. | integration registry; hook registry |
Highest-priority findings
Effort: S = hours, M = approximately a day or several focused days, L = multiple days or a multi-PR workstream. These are coarse engineering estimates, not delivery commitments. All findings below have high confidence from source inspection; the CTA finding was also reproduced from the actual function with a mocked rate RPC.
| Priority | Finding | Impact | Effort | Change risk | Evidence |
|---|---|---|---|---|---|
| P0 | Tax still flows to ordinary sales revenue | A base-currency 100 sale plus 20 tax credits revenue 120; the required 100 revenue / 20 payable split does not occur. Purchases also fold tax into cost without recoverability machinery. | L for #1036 | High: invoice, memo, void, ledger and GL contracts | tax-inclusive total; revenue credit; purchase total |
| P0 | Foreign-currency posting convention remains wrong | Rates resolve as foreign units per base unit; invoice/payment multipliers do not implement the program's divide-to-base convention. Matching invoice/payment mistakes can still produce a misleading tie-out. | L | High: coordinated monetary change | rate ratio; sales conversion; cash conversion |
| P0 | Consolidation creates phantom CTA from Expense balances | Cash 80, Revenue 100, Expense 20, all USD at rate 1, produces CTA −40 instead of 0. Expense is added to equity contributions instead of subtracted. | S–M | Medium: reported consolidated balances change | actual calculation; real caller input; report application |
| P0 | Posted-record protection is incomplete | Journal reversal permits business-field changes; old Reversed headers are not guarded by the trigger; line INSERT has no finalized-parent guard. The latter must preserve legitimate posters that insert header/lines atomically. | M header fix; L full boundary | Medium/high: every posting writer | header guard; line trigger |
| P0 | Independent accounting approval controls are missing | The accounting document families can post without the specified maker/checker and no-self-approval controls. | L | High: statuses, permissions and posting | supported types; posting transition |
| P0 | Audit storage protection exceeds capture/retention protection | Append-only rows exist, but capture remains optional/asynchronous and lacks core accounting-table coverage. Archives are uploaded with upsert and rows purged; no program-required duration/hold enforcement was found. | L | High: posting and retention | capture gate; entity allowlist; archive path |
| P1 | Close evidence is incomplete | No bank reconciliation; no-run depreciation passes its check; core financial statement package remains partial. | L | Medium/high | depreciation condition; earnings presentation; TB activity columns |
The journal-header finding was checked against RLS and the later period guard: journal update policy allows existing Posted rows; period guard skips unchanged dates/periods except Draft→Posted. Existing Reversed rows are excluded by ordinary-user update RLS, so the Reversed reset gap is specifically relevant to privileged/service-role writers. No live database mutation was attempted.
Recommended execution order
- Restore trustworthy regression coverage and fix the narrow statement/record defects. Repair the three stale period-test mocks; add same-currency CTA and exact reversal/final-state regression cases. Correct CTA signing and the journal-header boundary promptly.
- Run two coordinated foundation tracks. Controls: #1032 accounting approvals, then #1047 full record/audit/balance/export/book-seed requirements as dependencies become available, with #1038 posting-time numbering. Monetary correctness: #1030 across invoices/payments/receipts/tie-outs, then #1036 tax Phase 1. The shared posting files require sequencing/rebasing, not concurrent uncoordinated changes.
- Prove a complete accounting close. #1034 bank reconciliation and core #1035 reporting, followed by #1039 scheduled close proposals/checks and #1050 revaluation/posted CTA. Demonstrate opening TB + complete JE population = closing TB; reconcile AR/AP, bank, inventory and fixed assets to GL; exercise cross-year earnings, FX, approvals, void/reversal and close/reopen.
- Finish manufacturing measurement and required subledgers. Complete #1040 standard cost/variances/revaluation/LCNRV/landed cost and #1041 assets. Add #1048 revenue recognition for relevant contracts; #1052 books before book-specific lease/NRV/depreciation deltas and #1056. Deliver #1049 server dimension enforcement with these posting paths. Schedule #1051 before vendor payment execution, and finish #1059 once its controlled primitives exist.
- Gate always-on accounting on evidence. #1057 needs controlled activation, reconciled opening subledgers, at least two demonstrated company cutovers and flag retirement. A convenience opening-balance form does not satisfy this.
- Keep budgeting and advanced banking behind correctness and close evidence. #1037/#1045 and #1042/#1046 remain valuable, but do not repair the current tax/FX/control gaps. This is delivery ordering; the full program scope remains.
Refresh existing plans against current source before execution. The September rate refactor does not implement #1030. The old #1047 wording about raw SUM(journalLine.amount)=0 is incompatible with current natural-balance signing: decode account class, as the existing manual-JE validator does. Do not replay superseded migration definitions or implement controls against stale schemas.
Statutory and company work in parallel
As of this assessment date, the September 1, 2026 French deadline has passed. In-scope French businesses must receive electronic invoices; large and intermediate businesses must also issue them, while SMEs/microbusinesses have a September 1, 2027 issuance deadline. The issue's blanket “France issue mandate September 2026” wording is too broad. DGFiP timetable.
Poland's KSeF timetable already applies, subject to its scope/exemptions: large-taxpayer issuance from February 1, others generally April 1, 2026, with limited transitional exceptions; receipt from February 1. Polish Ministry of Finance scope and timetable.
Customer legal-entity exposure and any external platform already meeting these duties were not established. Confirm those immediately; if relevant, establish an approved provider-based operational path while executing #1061 → #1044/#1054 with tax and legal-series prerequisites. Do not assume the absent Carbon connector means a particular customer is noncompliant.
#1053's deferred status does not waive FEC/SAF-T/statutory mapping/retention requirements in the program's exit criteria. #1033 also contains real delivered auth work, but remains incomplete as a vendor-control program. Assign the readiness/auditor/SOC evidence work in parallel: software inspection cannot establish control operating effectiveness, which the PCAOB integrated-audit standard requires auditors to test. No live evidence program or auditor engagement was verified here.
Verification evidence
git rev-parse HEAD origin/mainplusgit ls-remote origin refs/heads/main: all returned the revision above.pnpm --filter erp exec vitest run app/modules/accounting/accounting.utils.test.ts app/modules/accounting/accounting.periods.test.ts: 97 passed, 3 failed. Utilities 69/69; periods 28/31. Three scripted Supabase mocks lackmaybeSingle()now called by the company-timezone lookup. This establishes stale tests, not a production close failure.pnpm --filter erp exec vitest run app/modules/accounting/accounting.utils.test.ts app/modules/accounting/ui/Reports/executivePnl.test.ts app/modules/accounting/ui/Reports/pivotData.test.ts: 95 passed; 69 overlap with the preceding command.- From
packages/database/supabase/functions:deno test --cached-only --no-check post-payment/post-payment.test.ts: 33 passed. Existing FX cases pin current multiply semantics; these passes do not clear #1030. deno test --no-config --no-lock --cached-only packages/database/supabase/functions/shared/post-adjustment.test.ts packages/database/supabase/functions/shared/purchase-cost-adjustment.test.ts: 14 passed.- Unique tests across those commands: 170 passed, 3 failed.
- Document-total and exchange-rate-job Vitest commands could not start because
@carbon/config/dist/vitest.mjsis absent. No package build/install was performed to alter this audit environment. - Actual
translateCompanyBalancesdeclaration extracted and transpiled in memory; only rate RPC and rounding dependency supplied locally. Balanced USD fixture yielded expected CTA 0, actual −40, independently reproduced by the primary reviewer. - Search A: targeted TS/TSX/SQL symbol searches over
apps/andpackages/, including migrations and posting functions, excluding dependency/build/generated catalogs; cross-checked route/file names, operation and integration registries, current models and latest SQL definitions. Searched named models includedtaxLedger,taxRegistration,taxReturn,eInvoiceDocument,tradeDeclaration,bankReconciliation,bankStatement,budgetLine,plaidItem,revenueArrangement,revenueRecognitionSchedule,prepaidSchedule,recurringJournalTemplate,accountingBook,bookId,fixedAssetBook,leaseScheduleLine,legalSeries,supplierBankChangeandapiIdempotencyKey. Generic external-providertaxCodefields were not counted as a tax-code subsystem.
Considered and rejected / boundaries
- The old duplicate-sequence allocation race is fixed; gapless posting is the remaining requirement.
- Full asset sale proceeds/gain/loss posting is fixed; impairment/CIP/components/partial disposal remain.
- Intercompany source-date/per-trade elimination fixes are present; tolerance/netting/mirroring remain.
- Draft exclusion in modern statement balance scans and the daily rate writer are implemented; do not repeat the July “all drafts included/no rate writer” claims.
- Natural-balance journal signing is intentional. Report and constraint math must honor it.
- Inventory valuation's historic-date mode explicitly uses historical quantities with current costs/statuses (documented implementation). Treat this as a readiness boundary, not a newly introduced bug or a historical close valuation proof.
- Audit
retentionDays: 30is the live-table archival threshold, not proof that all history is destroyed after 30 days. The finding is absent protected long-term retention/capture/hold enforcement. - No DB schema/application, browser workflow, production deployment, customer balances, country certification, live Avalara/HMRC contract or control operating-effectiveness evidence was verified. This was an issue-scoped code audit, not a comprehensive security or financial audit.
- Source code, issue states and remote records were unchanged. This assessment is the only authored artifact.