I built a machine-readable UK Chart of Accounts for Python (because one didn't exist)
Table Of Contents What it does Quick example Why VAT treatments matter The LLM use case HMRC box mappings If you've ever tried to build accounting software for the UK market, you've hit the same wall I did: there's no clean, machine-readable UK Chart of Accounts available on PyPI. US-centric ones exist. Plenty of them. But UK accounting has different categories, VAT treatments, and HMRC-specific codes that don't map neatly onto American standards. So rejoice UK accountants, I built one. What it does uk-chart-of-accounts is a Python library with 166 standard UK nominal codes - the numbered category system every UK business uses to classify transactions. Each code includes: Account type with double-entry rules (does a debit increase or decrease this account?) VAT treatment (standard 20%, reduced 5%, zero-rated, exempt, or outside scope) HMRC box mappings (CT600, VAT Return, FPS/RTI, EPS, CIS) Tags for searchable grouping (motor, payroll, premises, etc.) Descriptions on complex codes expl
Continue reading on Dev.to Python
Opens in a new tab


