Normal forms and invariants in the description of a magnetic lattice