Hi Anand,
What I am understanding, Why it is working at the time of invoice posting in a/c key specified distribute to expense/revenue item so that the service tax amount goes to expense/revenue item.
In case of advance posting there is no expense/revenue item so the service tax amount could not distribute due to that system throwing error.
I am correct.
Regards,
Nagendra.