Formatting book transactions