Build three standalone templates
For a custom pack, start with the documents your team already sends separately. In this example, Northstar Operations is proposing a field inspection rollout to Example Field Services. Use Start blank to design each part as its own A4 report.
Proposal letter
Bind the recipient, site, project, and reference to the shared data. Bind
letter.headline,letter.openingandletter.nextStepto tailor the message. Open the standalone letter PDF.Project offer
Bind the client, project and validity date, and use
offer.itemsfor the repeating table. Each row supplies its description, quantity and unit price. Bind the rollout schedule separately. Open the standalone offer PDF.Terms and conditions
Keep the approved wording in this separate template so you can maintain it independently. Bind the client, offer reference, edition, payment milestones and review period. Reuse the delivery details from the offer. The sample uses fictional terms. Open the standalone terms PDF.
Preview and save a version of each report. You’ll need three saved reports plus one slot for the composite. You can continue generating any of the reports on its own after adding it to the pack.
Assemble the proposal pack
Create the composite
From Templates → New template, expand AI assistance, reusable components & advanced starts. Choose Custom composite report and name it Client proposal pack.
Order the saved reports
In the composition editor, choose Proposal letter as the first saved report. Use Add report to group to add Project offer second and Terms and conditions third. Select a saved Version for each reference. Leave From page at 1 and To page blank to include each entire report. Leave Data path blank so all three reports can read the same input.
Keep the report footers
The example keeps each report’s own footer. Disable the group’s shared footer and use
{{document.page}}and{{document.totalPages}}in the source footers to count pages across the assembled PDF. When rendered on its own, each source has its own page count.
Use one JSON request for the whole pack
Leave each report reference’s Data path blank. Every report then reads the same root data object from the render request. Put the client name, project title and proposal reference in that object once, then bind all three templates to the same paths.
| All three reports | {{supplier.name}}, {{client.name}}, {{proposal.project}} and {{proposal.reference}}. |
|---|---|
| Proposal letter | client.team, client.site, proposal.issuedOn and the message fields under letter. |
| Project offer | proposal.validThrough and offer.items, with calculated line amounts and a total. |
| Offer and terms | offer.deliveryWeeks, offer.pilotCrews and offer.trainingSessions. Change the rollout plan in one place. |
| Terms and conditions | terms.edition, terms.reviewDays, terms.kickoffPercent and terms.handoverPercent. |
Download the sample proposal JSON. Paste the same JSON into Test & preview for any standalone report or the composite. To test reuse, change client.name once and regenerate the pack. The new name should appear on all three pages.
Use a Data path when a template expects its input under a nested object. A reference scoped to offer reads fields relative to that object. Leave the path blank in this example so the report can read shared fields like client.name as well as offer.items.
Test and render the combined PDF
In Test & preview, generate the pack with the sample JSON. Check that the letter opens the PDF, the scope and prices follow, and the terms close it. All three pages should show the same client, project and proposal reference, with continuous page numbers.
Open the custom client proposal PDF (3 pages)
Save the composite and open Use in your app. Send a single PDF API request using the composite’s templateId, its numeric revision and the entire proposal JSON as data. The composite’s pinned references determine which saved parts render. Follow the PDF-from-JSON guide for the request setup.
When the terms change, save a new terms version, select that version in the composite, and test the pack again. Save a new composite revision when you’re ready for your app to use the update.
Try the Monthly Report Pack
The starter combines an executive summary for readers who want the highlights and a detailed performance report for those who need the numbers. Both parts read the same reporting period from the input and render into one two-page PDF.
Open the Monthly Report Pack PDF (2 pages)
Pick the starter
In Bitavu Studio, go to Templates → New template, select Monthly report pack and choose Create report pack.
Inspect the saved parts
Studio saves the executive summary and detailed report as reusable templates and opens a composite draft with both revisions referenced. The complete starter uses three template slots once you save the composite.
Preview the whole pack
Open Test & preview, generate the PDF with the included example data and review both pages. Save a version of the pack when you’re happy with the order and layout.
Troubleshoot the pack
Start with the example data for the pack you’re testing. The proposal should show the letter, offer and terms in that order. The monthly starter should show the executive summary followed by the detailed performance report.
A report is missing or the pages are in the wrong order
Check the report order in the proposal’s group or the group order in the monthly pack. If a report is missing from the Saved report picker, open its template and save a version. For each reference, set From page to 1 and leave To page blank to include the whole report.
Fields are blank or preview rejects the JSON
For the proposal, retry with the sample proposal JSON and check that the value of client.name appears on all three pages. If the offer table is empty, check that offer.items is an array with at least one item. For the monthly pack, use the starter’s included data and check that the value of report.period appears on both pages. Keep each reference’s Data path blank in both examples so it can read the root JSON object.
The footer shows the wrong page numbers
Both examples keep the source report footers. If you enabled a shared footer in a group, check that footer instead. Use {{document.page}} and {{document.totalPages}} in the active footer to number the whole PDF. With the sample data, the proposal has three pages and the monthly pack has two.
The PDF still shows an old layout
After editing any source template, save a new version and select it in the composite’s Version picker for that report. This applies to the proposal’s letter, offer and terms and to both monthly reports. Save a new version of the composite and send that revision in the API request.