Receipt generator for Java