Improve receipt model
Creating initial record, receipt and history lines