How to insert a page break without having a blank page at the end of the report?
Inserting page break without an extra blank page
To insert a page break between each repetition section, you have two options:
A - Insert a page break within the repetition section
B - Or use paragraph options of Word to insert a page break before each new paragraph
Example A - page break

With the first option, the page break is repeated by the loop. So the last repeated part will contain a page break, which generates a blank page at the end of the report.
Here is the result:
[
{ "id": 1 },
{ "id": 100 }
]

Example B - page break before paragraph
To avoid the blank page at the end of the report, we recommend to insert a page break before the first paragraph.

How to do this?
In MS Word:
Select the first paragraph of the page in your template
Right-click -> Paragraph...
Check the option "Page break before":

In LibreOffice:

Here is the result:

Updated on: 10/30/2023
Thank you!