not workin for , at least , my accounting rules. The advances are to be registered as Assets, not as negative liabilities, even if the final result is the same.
Anyway i figured out how to make it work, reading most of the posts on this topic and with a little bit of fantasy(lol)
tjis is the workflow:
1 i created two earnings accounts :
SALARY ADVANCES and WAGES AND SALARIES in the expenses
2 i created the account EMPLOYEE ADVANCES in the Assets
3 when erogating the advance i make a payment *Bank/cash to employee advance
4 when issuing the payslip i input the two earnings (ex, if the salary is 3000 and the advnce 100, i input Wages and Salary 2900 + Salary Advance 100. this way the total of the salaries in my expenses is correct
5 when paying the salary i input:
a) the total amount (3000) updating Employee clearing account
b) the amount of the advance in negative (-100) updating the Employee Advance account
like this all the accounts are working properly.
Not very elegant but functional and complying to the national laws