@davoodmehraban89 / Aram-1 / commits / a135a91
Fork 0

docs: propose seven account 8161 mapping rules

davoodmehraban89 committed Nov 11, 2026 at 22:39 UTC a135a91fc4be3b7ebd482dd20c3a66e14266b2a2
1 file changed +111
docs/MAP_8161_SEVEN_RULES_PROPOSAL_20261111.md new
+111
@@ -0,0 +1,111 @@
1 +# Account 8161 — Seven Missing Mapping Rules (Controlled Proposal)
2 +
3 +**Status:** PROPOSED — NOT APPROVED / NOT APPLIED
4 +**Prepared:** 2026-11-11
5 +**Related control item:** MAP-8161-01
6 +**Related evidence:** [Financial Statement Reconciliation 1402–1404](FINANCIAL_STATEMENT_RECONCILIATION_1402_1404.md)
7 +**Working branch:** `docs/financial-statement-reconciliation-1402-1404-20261110`
8 +
9 +## 1. Executive conclusion
10 +
11 +A read-only revalidation was performed directly on the Aram Windows workstation against:
12 +
13 +- `data/source_ledgers/source_1403.xlsx`
14 +- `data/source_ledgers/source_1404.xlsx`
15 +- `data/mappings/mapping_1404.xlsx`
16 +
17 +The current file hashes match the hashes recorded in the reconciliation baseline:
18 +
19 +| File | Bytes | SHA-256 |
20 +|---|---:|---|
21 +| source_1403.xlsx | 23,928,541 | `747FAE7B8DE9866DFBB45CE3A983584A8AC832DEF59F2C65874302F0F87CBB22` |
22 +| source_1404.xlsx | 32,062,394 | `5B4790DCE6E9EA169D61C68751BC6FD5DC390012BC14473B0298BA5AAC30D044` |
23 +| mapping_1404.xlsx | 2,574,677 | `8B3F94389E61B76775E00B8BEC8B9E241F7CCE5097505C61199574855ADAE574` |
24 +
25 +The Mapping workbook contains 66 existing rows for account 8161. Comparing the seven candidate keys against account, T1, current/capital, T4 and type (with blank Mapping dimensions treated as wildcards) found **zero matching rules** for all seven keys.
26 +
27 +The source ledger's note ID for every non-zero candidate row is consistent with Note 10 or Note 13. This supports the proposed note routing but does not itself constitute accounting-owner approval.
28 +
29 +## 2. Proposed seven rules
30 +
31 +| # | Account | T1 | Current / capital | T4 | T4 description | Type | Note ID | Note title | Sub-note |
32 +|---:|---:|---:|---|---:|---|---|---:|---|---|
33 +| 1 | 8161 | 117001 | جاری | 4512 | علی‌الحساب پرداختی | O | 13 | پیش‌پرداخت‌ها | پیمانکاران جاری |
34 +| 2 | 8161 | 117373 | سرمایه‌ای | 4512 | علی‌الحساب پرداختی | O | 10 | دارایی‌های ثابت | پیش‌پرداخت‌های سرمایه‌ای |
35 +| 3 | 8161 | 117401 | جاری | 4512 | علی‌الحساب پرداختی | O | 13 | پیش‌پرداخت‌ها | پیمانکاران جاری |
36 +| 4 | 8161 | 117488 | جاری | 4502 | حساب کنترل پیش‌پرداخت | O | 13 | پیش‌پرداخت‌ها | پیمانکاران جاری |
37 +| 5 | 8161 | 117865 | جاری | 4512 | علی‌الحساب پرداختی | O | 13 | پیش‌پرداخت‌ها | پیمانکاران جاری |
38 +| 6 | 8161 | 118701 | جاری | 4512 | علی‌الحساب پرداختی | O | 13 | پیش‌پرداخت‌ها | پیمانکاران جاری |
39 +| 7 | 8161 | 117088 | سرمایه‌ای | 4512 | علی‌الحساب پرداختی | O | 10 | دارایی‌های ثابت | پیش‌پرداخت‌های سرمایه‌ای |
40 +
41 +The Persian current/capital values and note titles above are the proposed canonical values to be entered in a separate derived Mapping candidate after approval. They are not written to the official workbook.
42 +
43 +## 3. Source-ledger evidence by key
44 +
45 +Amounts below are signed values in Rials from the statement-balance column. The table lists all candidate-key rows in the relevant source year, not only non-zero rows.
46 +
47 +| Year | T1 | Current / capital | T4 | Rows | Non-zero rows | Net statement balance (Rials) | Note ID on non-zero rows |
48 +|---|---:|---|---:|---:|---:|---:|---|
49 +| 1403 | 117001 | جاری | 4512 | 2 | 1 | -5,425,842,707 | 13 |
50 +| 1403 | 117373 | سرمایه‌ای | 4512 | 2 | 1 | +5,000,000,000 | 10 |
51 +| 1403 | 117401 | جاری | 4512 | 14 | 9 | +57,139,085,409 | 13 |
52 +| 1403 | 117488 | جاری | 4502 | 22 | 7 | +48,274,392,545 | 13 |
53 +| 1403 | 117865 | جاری | 4512 | 1 | 1 | +8,522,211,152 | 13 |
54 +| 1403 | 118701 | جاری | 4512 | 4 | 1 | +30,615,823,692 | 13 |
55 +| 1404 | 117088 | سرمایه‌ای | 4512 | 2 | 1 | +11,365,395,802 | 10 |
56 +| 1404 | 117865 | جاری | 4512 | 2 | 1 | +8,522,211,152 | 13 |
57 +| 1404 | 118701 | جاری | 4512 | 7 | 2 | +32,894,641,756 | 13 |
58 +
59 +For completeness, the 1403 source also contains two rows for key (117088, capital, 4512); both have zero statement balance. This key is included because it carries a non-zero row in 1404 and should be represented consistently in the derived rule set.
60 +
61 +Totals for the non-zero rows:
62 +- 1403: 20 rows, net +144,125,670,091 Rials.
63 +- 1404: 4 rows, net +52,782,248,710 Rials.
64 +- Combined: 24 rows, net +196,907,918,801 Rials.
65 +
66 +The 86 zero-statement-balance unmatched rows remain preserved for traceability and are not included in the non-zero exposure above.
67 +
68 +## 4. Mapping formula construction
69 +
70 +The existing workbook uses these three helper-key columns:
71 +
72 +- Column J — current / capital-independent helper: account + T1 + T4.
73 +- Column K — account + current/capital + T4 + type.
74 +- Column L — account + current/capital + T4 + type + note ID.
75 +
76 +The seven proposed helper keys are:
77 +
78 +| T1 | Kind | T4 | Column J | Column K | Column L |
79 +|---:|---|---:|---|---|---|
80 +| 117001 | جاری | 4512 | `81611170014512` | `8161جاری4512O` | `8161جاری4512O13` |
81 +| 117373 | سرمایه‌ای | 4512 | `81611173734512` | `8161سرمایه‌ای4512O` | `8161سرمایه‌ای4512O10` |
82 +| 117401 | جاری | 4512 | `81611174014512` | `8161جاری4512O` | `8161جاری4512O13` |
83 +| 117488 | جاری | 4502 | `81611174884502` | `8161جاری4502O` | `8161جاری4502O13` |
84 +| 117865 | جاری | 4512 | `81611178654512` | `8161جاری4512O` | `8161جاری4512O13` |
85 +| 118701 | جاری | 4512 | `81611187014512` | `8161جاری4512O` | `8161جاری4512O13` |
86 +| 117088 | سرمایه‌ای | 4512 | `81611170884512` | `8161سرمایه‌ای4512O` | `8161سرمایه‌ای4512O10` |
87 +
88 +**Control note:** helper-key values above are derived from the observed workbook convention. Before writing a candidate workbook, verify the exact Persian code points, formula/data type, formula precedence and uniqueness against the original workbook. The official Mapping workbook remains unchanged.
89 +
90 +## 5. Required validation before approval
91 +
92 +1. Reproduce the current baseline counts from the exact source and Mapping hashes above.
93 +2. Add these seven rows only to a separate proposed Mapping copy; never overwrite the official source.
94 +3. Re-run the exact Mapping algorithm, including wildcard precedence and type normalization.
95 +4. Confirm the seven new keys yield exactly one deterministic rule each and no ambiguous matches.
96 +5. Confirm all 24 non-zero source rows route to the expected Note 10 / Note 13.
97 +6. Confirm the net statement-balance exposure assigned by the seven keys equals 196,907,918,801 Rials, split by year exactly as shown.
98 +7. Confirm all 86 zero-balance rows remain present and traceable.
99 +8. Re-run total unmatched / ambiguous / deterministic counts and explain every count change.
100 +9. Verify the original Mapping workbook hash is unchanged.
101 +10. Obtain accounting-owner approval for the note classification and an independent reviewer approval for the derived Mapping candidate.
102 +
103 +## 6. Acceptance boundary
104 +
105 +- This document is a controlled proposal, not an approved accounting judgment.
106 +- No official Mapping row, ledger row, financial workbook, note, statement, or database has been changed.
107 +- No zero-balance account is deleted or hidden.
108 +- No offsetting-counterpart relationship is inferred for account 8161.
109 +- The 196,907,918,801 Rial exposure remains open until the proposed rules are applied in a derived copy, all controls pass, and the responsible accounting owner approves the disposition.
110 +
111 +**Decision requested:** approve or reject the seven proposed note-routing rules as a set, with any exceptions explicitly identified. Until that decision is recorded, keep MAP-8161-01 open.