An open-source automatic billing system