# Why does the user need to configure mandate logic?

Source: https://developer.avalara.com/products/e-invoicing/integration-guides/elr/zof8809145521741/

Guide: E-Invoicing and Live Reporting

# Why does the user need to configure mandate logic?

Compliance and efficiency depend on the user’s configuration. It’s the user’s responsibility to ensure that documents follow the correct compliance path based on their interpretation of regulations or agreements with trading partners.

In addition, different users can store data differently across systems. The integration must allow users to define logic that reflects their specific data structures.

You can provide default logic or conditions (the `useWhen` object) for different country mandates. However, users must be able to edit and save these conditions as needed.

**Parent topic:** [Q-and-A for ELR](/elr/lbp6527542929684/)