سامانه صدور فاکتور و حسابداری
Add Iranian accounting ERP R&D and Finora product direction
davoodmehraban89 committed
Sep 28, 2026 at 16:41 UTC
99ccd334701dc30d0cb81a66713e503073f5c021
1 file changed
+243
docs/RD_IRAN_ACCOUNTING_ERP_2026-09-28.md
new
+243
@@ -0,0 +1,243 @@
1
+# Finora R&D — Iranian Accounting/ERP Product Research
2
+
3
+Date: 2026-09-28
4
+Baseline: Finora 1.0
5
+Purpose: Product discovery before implementation of the accounting-core expansion.
6
+
7
+## Products/references reviewed
8
+Hamkaran System / Rahkaran ecosystem, Sepidar, Tadbir, Shygun Hesabgar, Parmis Star, Mahak, Gheyas, and current Iranian cloud-accounting patterns. Research prioritizes vendor/product documentation where accessible and uses secondary material only to fill documentation gaps.
9
+
10
+## Market patterns that matter
11
+
12
+### A. Accounting core
13
+Mature products converge on:
14
+- multi-level chart of accounts
15
+- reusable/floating detail identities
16
+- cost centers/projects as analytic dimensions
17
+- draft/normal/final voucher lifecycle
18
+- automatic vouchers from operational subsystems
19
+- year-end closing/opening
20
+- multi-period/multi-company
21
+- multi-currency and revaluation
22
+- drill-down from balance -> ledger -> voucher -> source document
23
+- attachments and audit trail
24
+- approval/control stages for vouchers.
25
+
26
+### B. Treasury
27
+A professional treasury subsystem includes:
28
+- cash, bank, POS, transfer and cheque
29
+- cheque lifecycle and maturity alerts
30
+- bank statement import and automatic reconciliation
31
+- petty cash
32
+- installments/loans
33
+- customer credit controls
34
+- aging and collection follow-up
35
+- cashflow forecast.
36
+
37
+### C. Contract/project accounting
38
+A serious contractor module includes:
39
+- tender
40
+- contract and amendments
41
+- employer/subcontractor
42
+- price-list/BOQ structure
43
+- progress statements (interim/final)
44
+- physical and financial progress
45
+- direct/indirect cost allocation
46
+- retention, insurance, withholding tax, advance recovery and penalties
47
+- guarantees with reduction/extension/release
48
+- contract/project profitability and cost-to-complete.
49
+
50
+### D. Inventory and costing
51
+Market leaders commonly provide:
52
+- multiple warehouses
53
+- receipts/issues/transfers
54
+- stock count and adjustment
55
+- reservations
56
+- serial/batch/expiry tracking where needed
57
+- multiple units
58
+- costing methods
59
+- landed/import costs
60
+- BOM and production
61
+- actual/standard costing and variance.
62
+
63
+### E. Fixed assets
64
+Expected capabilities:
65
+- asset classes and tags
66
+- acquisition and subsequent expenditure
67
+- custodian/location/cost-center tracking
68
+- transfer
69
+- depreciation methods/rates
70
+- idle asset handling
71
+- sale/disposal
72
+- automatic accounting vouchers.
73
+
74
+### F. Payroll
75
+Expected capabilities:
76
+- employee contracts
77
+- attendance input/import
78
+- configurable earning/deduction formulas
79
+- loans/installments
80
+- leave/severance/bonus
81
+- insurance/tax/bank outputs
82
+- payroll accounting voucher
83
+- employee self-service can be later.
84
+
85
+### G. Tax/legal compliance
86
+Iran-specific product architecture should reserve independent adapters for:
87
+- Taxpayer System electronic invoices
88
+- VAT/tax mappings
89
+- electronic legal/commercial books export
90
+- payroll insurance/tax outputs
91
+- configurable legal reports.
92
+Compliance adapters must be versioned separately from the accounting ledger so regulatory changes do not destabilize core accounting.
93
+
94
+### H. Enterprise controls
95
+- role/permission matrix
96
+- company/branch scope
97
+- maker/checker/approver workflows
98
+- fiscal period locks
99
+- immutable posted vouchers + reversal
100
+- audit log
101
+- document attachments
102
+- API/webhooks/import/export
103
+- backup/restore and migration diagnostics
104
+- configurable numbering and document templates.
105
+
106
+## Product direction proposed for Finora
107
+
108
+Finora should not copy the menu structure of a competitor. It should combine professional accounting depth with a cloud-first, simpler UX.
109
+
110
+### Finora Accounting Kernel
111
+1. Fiscal years and periods
112
+2. Chart of accounts: Group (optional presentation), General, Subsidiary, Detail
113
+3. Four configurable floating analytic dimensions at launch, schema designed to support more later
114
+4. Branch, Counterparty, Project and Contract as first-class master entities
115
+5. Account-dimension rules: allowed/required/forbidden
116
+6. Posting profiles
117
+7. Journal vouchers and immutable posted lines
118
+8. Source-document <-> voucher bidirectional trace
119
+9. Reversal/amendment
120
+10. closing/opening and fiscal locks.
121
+
122
+### Important refinement to the original four-floating-detail idea
123
+Default UI presets can be:
124
+1. Branch
125
+2. Counterparty
126
+3. Project
127
+4. Contract / analytic classification
128
+
129
+But deductions and payment methods should NOT be forced into Floating Detail 4. They are transaction semantics with their own master/rule records. They may optionally be exposed as analytic dimensions for reporting. This prevents the accounting model from becoming ambiguous.
130
+
131
+### Global master-data rule
132
+Counterparties, projects, branches, contracts, employees, banks and assets are defined once. Accounting accounts reference them through dimensions/posting profiles rather than cloning them into account trees.
133
+
134
+## Recommended product modules
135
+
136
+### Core / must build first
137
+- Accounting
138
+- Treasury
139
+- Sales/Receivables
140
+- Purchases/Payables
141
+- Counterparties
142
+- Branches
143
+- Projects
144
+- Contracts
145
+- Tax/legal adapters
146
+- Management reports
147
+
148
+### Next professional tier
149
+- Guarantees
150
+- Contract statements/deductions
151
+- Inventory
152
+- Fixed assets
153
+- Budget/control
154
+- advanced approval workflow
155
+- multi-currency
156
+
157
+### Expansion tier
158
+- Payroll
159
+- Production/BOM/cost accounting
160
+- procurement/orders
161
+- CRM/sales pipeline
162
+- distribution
163
+- API/integration marketplace
164
+- BI/management dashboards.
165
+
166
+## Differentiators Finora should pursue
167
+1. Cloud-first responsive UX instead of desktop-era form overload.
168
+2. Accountant mode + manager mode: same ledger, different workflows.
169
+3. Source-to-ledger transparency: every KPI can drill to voucher and source.
170
+4. Setup wizard that generates a sane chart/posting profiles by business type.
171
+5. Reusable floating dimensions without duplicate identities.
172
+6. Contract/project profitability in real time.
173
+7. Smart reconciliation assistant for bank, receivables/payables and legacy migration.
174
+8. Rule-based anomaly warnings: unbalanced mappings, unusual balances, duplicate invoices, overdue receivables, expired guarantees.
175
+9. Import-first migration center for Excel and legacy systems.
176
+10. API-first integration architecture.
177
+11. Versioned Iran-compliance adapters.
178
+12. Audit-grade history rather than destructive edits.
179
+
180
+## Proposed information architecture
181
+
182
+Dashboard
183
+Accounting
184
+ - Journal vouchers
185
+ - Chart of accounts
186
+ - Floating details
187
+ - Posting profiles
188
+ - Fiscal years / close
189
+Treasury
190
+ - Receipts/payments
191
+ - Banks/cash/POS
192
+ - Cheques
193
+ - Bank reconciliation
194
+ - Petty cash
195
+Sales
196
+Purchases
197
+Inventory
198
+Counterparties
199
+Branches
200
+Projects
201
+Contracts
202
+ - Statements
203
+ - Deductions
204
+ - Subcontractors
205
+Guarantees
206
+Fixed assets
207
+Payroll (later)
208
+Production/Costing (later)
209
+Reports
210
+ - General ledger
211
+ - Subsidiary/detail ledgers
212
+ - Floating-detail ledgers
213
+ - Trial balance
214
+ - AR/AP aging
215
+ - Cashflow
216
+ - Project/contract profitability
217
+ - Financial statements
218
+Tax & Legal
219
+Administration
220
+ - Users/roles
221
+ - approval workflows
222
+ - integrations/API
223
+ - backup/import/audit log.
224
+
225
+## R&D decisions before coding
226
+- Keep accounting ledger generic; never encode Iranian legal rules directly in journal storage.
227
+- Treat operational documents as sources and journals as accounting truth after posting.
228
+- Separate master identity from account classification.
229
+- Model branch/project/contract/counterparty as dimensions, not duplicated chart nodes.
230
+- Design voucher immutability and fiscal locks before automatic posting.
231
+- Implement migration/reconciliation before replacing legacy project/contact structures.
232
+- Introduce modules progressively; do not turn Finora into a monolith of unfinished menus.
233
+
234
+## Proposed implementation sequence
235
+Phase 5: accounting kernel, chart, dimensions, branches, global projects, migration.
236
+Phase 6: journals, posting engine, treasury/accounting integration, ledgers/trial balance.
237
+Phase 7: contracts, statements, deductions, guarantees, project/contract accounting.
238
+Phase 8: inventory/fixed assets, advanced reports, tax/legal adapters, close/migration/release.
239
+Phase 9 candidate: payroll, production/costing, budgeting and advanced workflow.
240
+Phase 10 candidate: CRM/procurement/distribution/API marketplace/BI and intelligent assistants.
241
+
242
+## Product acceptance principle
243
+A module is not considered complete merely because its forms exist. It is complete only when master data, transaction lifecycle, posting, reversal, permissions, audit trail, reports, migration, tests and source-to-ledger reconciliation are all verified.