calculations - royalties and book invoice