If you are qorking with BI Publisher and encounter an additional empty last page at the end of your output PDF then here might be a solution to this problem.

In my case the problem strangely occured, after inserting an IF-condition into the template.

Solution: add a new entry-field at the very end of your template with following content:

<?start@last-page-first:body?> <?end body?>

It states that the end is reached and that no further pages would be added to the output.