abstracting pdf email for pos transaction out to a helpe.