document the transaction