removed flatter, some helpers for some models
xml for invoice at 40% aproximately