fixed NonUniqueObjectException, advice for future me: use cascade only on useful places!
implemented base invoices CRUD