In the accounts, you need to depreciate it, probably at 25% p/a.
However, for tax, it will attract cap all @ 100% under the Annual Investment Allowance (AIA), although this is assuming your total expenditure under AIA is below the threshold (currently £100k). NB if this is not a full 12 months accounting period, the AIA allowance gets reduced pro rata.