301.1 (CƏMİ) and its two subtotals, the umbrella 165.1.3 article that sits above the goods/services export ones, 308, 319.2 and 319.3 are ФНО summary lines, not leaf articles an accountant should tag an invoice with. Tagging a line with the umbrella 165.1.3 landed it in Əlavə 4 row 302.3 but not in the 302.3.1/302.3.2 breakdown underneath, so the total stopped reconciling with its own parts. Eight rows, not seven: 165.5 (NAĞD) shipped twice — Frappe truncates name at 140 chars, and the fixture carried both the full and the ellipsised spelling. That was the only duplicate in the whole table. Removing them from the fixture is not enough on its own: sync_fixtures imports every json under fixtures/ regardless of the fixtures hook, and import_doc only ever inserts or updates. Hence the patch as well — and it has to land before sync_fixtures runs, which post_model_sync does. No data referenced any of the eight (checked all ten Tax Article link fields, including the ones jey_erp owns), so nothing on an invoice or asset moves. Known follow-up, left deliberately: Əlavə 4 row 4 still resolves report(VM-165.1.3) / report(VM-165.1.3-ödəniş), whose report columns are gone, so it now yields 0 rather than 302.3.1 + 302.3.2. Handed to the accountant to decide between summing the two survivors and filling the row by hand. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| taxes_az | ||
| .gitignore | ||
| CLAUDE.md | ||
| README.md | ||
| TECHNICAL_SPECIFICATION_PROPERTY_TAX_AUTOMATION.md | ||
| check_tax_articles.py | ||
| check_tax_articles_safe.py | ||
| convert-int-to-float.js | ||
| fixtures.json | ||
| float-change.js | ||
| license.txt | ||
| n | ||
| pyproject.toml | ||
README.md
Taxes Az
Azərbaycan Taxes
License
unlicense