@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / a112ba8
Fork 0

سامانه صدور فاکتور و حسابداری

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 3, 20:45 UTC

Record production accounting cutover readiness evidence

davoodmehraban89 committed Sep 30, 2026 at 07:48 UTC a112ba8aef8c39185993f4ba0f38bf65df6619fa
1 file changed +51
docs/PRODUCTION_ACCOUNTING_CUTOVER_READINESS_2026-09-30.md new
+51
@@ -0,0 +1,51 @@
1 +# Finora — Production accounting cutover readiness
2 +
3 +Date: 2026-09-30
4 +Production project: `hcsixhqbyuhpshfwqpjx`
5 +Mode: read-only evidence; **no historical invoice was posted or mutated**.
6 +
7 +## Live snapshot
8 +Two organizations currently contain invoice history.
9 +
10 +### Organization `238af0f9-36dd-4655-915e-7054bd628ff5`
11 +- 1 company record.
12 +- 1 fiscal-year record.
13 +- 0 account-master records.
14 +- 1 formal invoice, total `388,500,000` in the stored currency unit.
15 +- The invoice is scoped to company `COMP_1790278339547`.
16 +- Company `organizationSector` is unset.
17 +
18 +### Organization `c57b38ce-bc27-454f-a75c-e5c5439156c7`
19 +- 4 company records.
20 +- 1 fiscal-year record.
21 +- 0 account-master records.
22 +- Company `COMP_1789884425629`: 3 formal invoices totaling `2,652,260,000`, 1 non-formal invoice totaling `330,400,000`, and 1 pre-invoice totaling `1,770,000,000`.
23 +- Company `COMP_1789888720411`: 1 pre-invoice totaling `1,800,000,000`.
24 +- Company `organizationSector` is unset for the organization records inspected.
25 +
26 +## Reconciled source population
27 +Current production has 7 invoice records total:
28 +- 4 formal invoices.
29 +- 1 non-formal invoice.
30 +- 2 `pre_invoice` records.
31 +- Accounting-eligible historical source total (formal + non-formal): `3,371,160,000`.
32 +- Pre-invoice total excluded from accounting posting: `3,570,000,000`.
33 +
34 +This reconciles the monetary totals from the earlier Phase 6 manifest while correcting its descriptive split: the current live data is **4 formal + 1 non-formal**, not 5 formal.
35 +
36 +## Why automatic posting remains prohibited
37 +The organizations have fiscal-year records but no account masters. In addition, company sector/type is unset, so Finora cannot safely infer whether the owner intends the trading, service, manufacturing, or custom chart template. Auto-creating a chart and posting history would assign accounting meaning without owner review.
38 +
39 +## Required cutover gate
40 +For each company that has eligible historical invoices:
41 +1. Owner selects/accepts the company type and chart template, or approves a custom chart.
42 +2. Required system-role posting accounts are present and posting-enabled.
43 +3. Full backup/export is taken.
44 +4. `legacyCutoverPreview()` is reviewed; `pre_invoice` rows remain excluded.
45 +5. Each eligible source is posted through the normal source-linked double-entry path only after explicit confirmation.
46 +6. Reconcile source eligible total to generated vouchers and verify total debit = total credit.
47 +7. Verify every posted source has exactly one active source voucher.
48 +8. Corrections use reversal; posted history is never deleted or rewritten.
49 +
50 +## Current disposition
51 +The technical preview/posting path exists and production source population is now reconciled. P0 cutover is **not closed** because the owner-controlled accounting mapping decision is intentionally still missing. This is a real financial-safety gate, not an implementation omission to bypass automatically.