API for printing, report and invoice generation