What you need is accounting, not a full-blown ERP.

ERPNEXT have accounting module package as standalone books https://github.com/frappe/books