Tax Base for Accrued Expenses

Can any one help me with calculating Tax base for accrued expense?
What’s the logic behind them?