Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Fail-closed accounting workflows: n8n, TypeScript, and a Conta pilot

说明与用途

一个试点项目使用 n8n 编排和确定性 TypeScript 逻辑来检查两家公司之间的余额,确保只有在数据完整且准确时才生成对账报告,并清晰标示数据和余额状态。

问题

Accounting reconciliations can finish successfully yet still lack a valid conclusion, leading to misleading reports.

结果

The pilot demonstrates deterministic accounting checks, precise numeric handling, and clear failure reporting, but production readiness requires validation against live Conta data and n8n Cloud execution.

工作流

  • Retrieve each company’s account list and initial trial balance
  • Retrieve ledger details for every selected account on both sides
  • Retrieve both trial balances again
  • Validate opening+movement=closing, detail sum=movement, and unchanged totals across retrievals
  • Generate Norwegian HTML, CSV, and JSON evidence
  • Handle retries with bounded attempts and respect Retry-After
  • Produce a report with COMPLETE/BALANCES_AGREE, COMPLETE/DIFFERENCE, or INCOMPLETE status

证据

53 deterministic accounting/workflow tests passed.

来源

17 scenarios passed through actual self-hosted n8n 2.39.6 execution on Windows with Node 24.13.1

  • 记录日期: 2026-09-21T12:00:31.149Z