how to account for retention on a sales invoice

SUGGESTED

When raising a sales invoice which also has retention deducted, what nominal code should be used for the retention, should  it be Balance sheet or sales in P&L