File orderFile = new File(options.convertOrderToInvoice);
if (!orderFile.exists()) {
throw new UBL4JException(String.format("order '%s' doesn't exist", orderFile.getAbsolutePath()));
}
((CreateInvoiceBasedOnOrderInput)input).setOrderURI(URI.create(orderFile.toURI().getPath()));
CreateInvoiceBasedOnOrderTask task = new
CreateInvoiceBasedOnOrderTask();
task.execute(input);
print(task);
}