The expense in 2022 should be reported in the year the business is up and running, which would seem to be 2023 as that is when the book was available for sale evidently. As such, it would be considered inventory in this case and deductible in 2023 as cost of good sold.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"