If the notions of department and analytical account are not sufficient to make selections for the voucher, you can add a third filter criterion.

The possibilities are defined in the References,  voucher category tab:

The choice is made in tab 4 of the employee management system:

In the definition of the voucher, there is an additional tab to be filled in if necessary.