An amount in respect of a loss or deficiency in a public account or account of an authority, or an amount of revenue or a debt may be written off in accordance with the regulations by the chief finance and accounting officer, the accountable officer or the relevant Minister.