This definition is made via the setup of the default analytical dimensions.
If a product is associated with an account that is tracked analytically by a nature and no analytical dimension exists in no axis on the invoice line, the system will refuse to validate the invoice.