Invoice entity and crud