Commit Graph

1 Commits

Author SHA1 Message Date
Ali 1cfceb92a8 feat(vat): live column calculations + read-only for ƏDV declaration
Add a Client Script (fixture) that computes all derived cells of
"Declaration of value added tax" on manual edit, matching the e-taxes
form (verified against the live site):
- appendix roll-ups (parent = Σ children) for Əlavə 3/4/5 and debitor 307
- passthrough appendices → turnover (301.1←Əlavə3, 302←Əlavə4,
  303←Əlavə5, 301-2←agro sold); agro purchased = Σ Hissə 1
- rates (18/20%, Art.174.5 50% relief), %-share lines, clamps, 326/327 net
- Əlavə 1 / Əlavə 8 page totals

Mark every computed cell read-only (per-column, or per-row via
read_only_depends_on). Guard recompute against the formula_editor
report-fill storm ("fill mode") so selecting dövr no longer hangs.

Additive — existing scripts (formula_editor, row-creators) untouched.
Docs: edv_butun_dusturlar.md, edv_formulas.xlsx (formula reference).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-15 13:53:20 +00:00