Reverser rotation on motor

Hi

I am using an Odrive S1 with a D5312S motor, an AMT212B-OD encoder for a joint for a robot,

Positive direction is opposite the normal rotation for robots.

How can I change so the encoder is counting oposite and my position is oposite?

With other words swap direction.