About this template
An accounting workspace that arrives with the 1C work already built. `scripts/1c/` holds a real OData integration: a statement parser that verifies the arithmetic offline before anything touches your database, a dry run that says exactly what would be created, an importer that writes only unposted drafts, and an independent reconciliation that proves every line landed once and only once. The order is fixed and it is the point — verify, draft, reconcile, and only after a human review, post. The assistant never posts on its own. It never invents a counterparty to make an import succeed. And when a fund payment's employee list is missing it stops and asks, because a list payment built from the aggregate amount is a wrong document you cannot repair. Each client's own conventions stay in that client's folder, so one company's accounting policy is never carried into another database.
What's included
- `scripts/1c/` ships working code — parser, dry run, importer, reconciliation — not a blank folder
- Four arithmetic controls on the statement before anything touches 1C
- Documents are created unposted; posting stays the accountant's decision
- Duplicate protection by composite signature: document type, bank number, operation date, amount
- The five fund payments (ОПВ, ОПВР, СО, ВОСМС, ООСМС) recognised, with their employee lists
- Taxes and penalties classified by КНП and КБК, not by КНП alone
- One import report per statement under `synced_data/1c/`
- A folder per client, so one company's accounting policy never leaks into another