publish_invoices set up to replace cal to single pages