SAP Message RERACA003 - Opting company code &1 does not allow distributed tax &2

Diagnosis
Distributed tax can only be used in company codes that do not opt.

Procedure
Use a different tax group, or check in Customizing if the company codeopts.