Fix: Tax was associated with inventory, not just tax_id so that if along with adding an inventory, the bill is printed then it can be used to get regime information. Chore: Refactored checking for nil inventory and kots.