Create structured quarterly business reports with table of contents, data tables, and page numbers.
Who this is for
Operations and finance teams use this recipe to automate quarterly reporting. Build a complete business report with a table of contents, executive summary, revenue breakdowns, department performance tables, and consistent headers and footers with page numbers.
import{IterationLayer}from"iterationlayer";constclient=newIterationLayer({apiKey:"YOUR_API_KEY"});constresult=awaitclient.generateDocument({format:"pdf",document:{metadata:{title:"Meridian Corp \u2014 Q1 2026 Quarterly Report",author:"Meridian Corp",},page:{size:{preset:"A4"},margins:{top_in_pt:72,right_in_pt:72,bottom_in_pt:72,left_in_pt:72},},styles:{text:{font_family:"Helvetica",font_size_in_pt:11.0,line_height:1.5,color:"#333333"},headline:{font_family:"Helvetica",font_size_in_pt:32.0,color:"#111111",spacing_before_in_pt:12.0,spacing_after_in_pt:6.0,is_bold:true},link:{color:"#0066CC",is_underlined:true},list:{text_style:{font_family:"Helvetica",font_size_in_pt:11.0,line_height:1.5,color:"#333333"},marker_color:"#333333",marker_gap_in_pt:8.0},table:{header:{background_color:"#333333",text_color:"#FFFFFF",font_size_in_pt:12.0,is_bold:true},body:{background_color:"#FFFFFF",text_color:"#333333",font_size_in_pt:12.0},border:{outer:{top:{color:"#CCCCCC",width_in_pt:1.0},right:{color:"#CCCCCC",width_in_pt:1.0},bottom:{color:"#CCCCCC",width_in_pt:1.0},left:{color:"#CCCCCC",width_in_pt:1.0}},inner:{horizontal:{color:"#EEEEEE",width_in_pt:0.5},vertical:{color:"#EEEEEE",width_in_pt:0.5}}}},grid:{background_color:"#FFFFFF",border_color:"#CCCCCC",border_width_in_pt:0.0,gap_in_pt:12.0},separator:{color:"#CCCCCC",thickness_in_pt:1.0,spacing_before_in_pt:12.0,spacing_after_in_pt:12.0},image:{border_color:"#000000",border_width_in_pt:0.0},},header:[{type:"grid",columns:[{column_span:6,blocks:[{type:"paragraph",runs:[{text:"Meridian Corp",is_bold:true}]}]},{column_span:6,blocks:[{type:"paragraph",runs:[{text:"Q1 2026 Quarterly Report"}]}]},],},],footer:[{type:"grid",columns:[{column_span:6,blocks:[{type:"paragraph",runs:[{text:"Confidential \u2014 For Internal Use Only"}]}]},{column_span:6,blocks:[{type:"page-number",text_alignment:"right"}]},],},],content:[{type:"headline",level:"h1",text:"Meridian Corp \u2014 Q1 2026 Quarterly Report"},{type:"paragraph",runs:[{text:"Prepared by the Office of the CFO \u00b7 April 2026"}]},{type:"separator"},{type:"table-of-contents",levels:["h1","h2"],leader:"dots"},{type:"page-break"},{type:"headline",level:"h1",text:"Executive Summary"},{type:"paragraph",markdown:"Meridian Corp delivered **strong results in Q1 2026**, with consolidated revenue reaching **$42.8M** \u2014 a 14% increase year-over-year. Gross margins improved to 68.3%, driven by operational efficiencies in the Cloud Services division. Net income rose to $6.1M, reflecting disciplined cost management and continued investment in high-growth verticals."},{type:"paragraph",markdown:"Customer acquisition accelerated with **1,240 new enterprise accounts**, bringing total active customers to 18,650. Annual recurring revenue (ARR) crossed **$165M**, positioning the company well for its full-year target of $190M."},{type:"page-break"},{type:"headline",level:"h1",text:"Financial Performance"},{type:"headline",level:"h2",text:"Revenue Overview"},{type:"paragraph",markdown:"Total revenue for Q1 2026 was $42.8M, compared to $37.5M in Q1 2025. The growth was primarily driven by expansion in the Cloud Services and Data Analytics segments."},{type:"table",column_widths_in_percent:[40,20,20,20],header:{cells:[{text:"Metric"},{text:"Q1 2026",horizontal_alignment:"right"},{text:"Q1 2025",horizontal_alignment:"right"},{text:"Change",horizontal_alignment:"right"},],},rows:[{cells:[{text:"Total Revenue"},{text:"$42.8M",horizontal_alignment:"right"},{text:"$37.5M",horizontal_alignment:"right"},{text:"+14.1%",horizontal_alignment:"right"}]},{cells:[{text:"Gross Profit"},{text:"$29.2M",horizontal_alignment:"right"},{text:"$24.8M",horizontal_alignment:"right"},{text:"+17.7%",horizontal_alignment:"right"}]},{cells:[{text:"Operating Expenses"},{text:"$21.4M",horizontal_alignment:"right"},{text:"$19.1M",horizontal_alignment:"right"},{text:"+12.0%",horizontal_alignment:"right"}]},{cells:[{text:"Net Income"},{text:"$6.1M",horizontal_alignment:"right"},{text:"$4.3M",horizontal_alignment:"right"},{text:"+41.9%",horizontal_alignment:"right"}]},],},{type:"page-break"},{type:"headline",level:"h2",text:"Revenue by Division"},{type:"table",column_widths_in_percent:[35,20,20,25],header:{cells:[{text:"Division"},{text:"Revenue",horizontal_alignment:"right"},{text:"% of Total",horizontal_alignment:"right"},{text:"YoY Growth",horizontal_alignment:"right"},],},rows:[{cells:[{text:"Cloud Services"},{text:"$18.9M",horizontal_alignment:"right"},{text:"44.2%",horizontal_alignment:"right"},{text:"+22.1%",horizontal_alignment:"right"}]},{cells:[{text:"Data Analytics"},{text:"$12.4M",horizontal_alignment:"right"},{text:"29.0%",horizontal_alignment:"right"},{text:"+16.8%",horizontal_alignment:"right"}]},{cells:[{text:"Professional Services"},{text:"$7.8M",horizontal_alignment:"right"},{text:"18.2%",horizontal_alignment:"right"},{text:"+5.4%",horizontal_alignment:"right"}]},{cells:[{text:"Legacy Licensing"},{text:"$3.7M",horizontal_alignment:"right"},{text:"8.6%",horizontal_alignment:"right"},{text:"-8.2%",horizontal_alignment:"right"}]},],},{type:"page-break"},{type:"headline",level:"h1",text:"Outlook"},{type:"paragraph",markdown:"Management reaffirms its full-year 2026 revenue guidance of **$175M\u2013$185M** and expects continued margin expansion as the Cloud Services division scales. Key initiatives for Q2 include the launch of the Meridian AI Copilot platform and expansion into the APAC market."},{type:"list",variant:"unordered",items:[{text:"Launch Meridian AI Copilot in Q2 2026"},{text:"Expand APAC sales team by 15 headcount"},{text:"Achieve $50M quarterly revenue target by Q4 2026"},{text:"Complete SOC 2 Type II recertification"},]},],},});awaitBun.write("q1-2026-report.pdf",Buffer.from(result.data.buffer,"base64"));
importbase64fromiterationlayerimportIterationLayerclient=IterationLayer(api_key="YOUR_API_KEY")result=client.generate_document(format="pdf",document={"metadata":{"title":"Meridian Corp \u2014 Q1 2026 Quarterly Report","author":"Meridian Corp",},"page":{"size":{"preset":"A4"},"margins":{"top_in_pt":72,"right_in_pt":72,"bottom_in_pt":72,"left_in_pt":72},},"styles":{"text":{"font_family":"Helvetica","font_size_in_pt":11.0,"line_height":1.5,"color":"#333333"},"headline":{"font_family":"Helvetica","font_size_in_pt":32.0,"color":"#111111","spacing_before_in_pt":12.0,"spacing_after_in_pt":6.0,"is_bold":True},"link":{"color":"#0066CC","is_underlined":True},"list":{"text_style":{"font_family":"Helvetica","font_size_in_pt":11.0,"line_height":1.5,"color":"#333333"},"marker_color":"#333333","marker_gap_in_pt":8.0},"table":{"header":{"background_color":"#333333","text_color":"#FFFFFF","font_size_in_pt":12.0,"is_bold":True},"body":{"background_color":"#FFFFFF","text_color":"#333333","font_size_in_pt":12.0},"border":{"outer":{"top":{"color":"#CCCCCC","width_in_pt":1.0},"right":{"color":"#CCCCCC","width_in_pt":1.0},"bottom":{"color":"#CCCCCC","width_in_pt":1.0},"left":{"color":"#CCCCCC","width_in_pt":1.0}},"inner":{"horizontal":{"color":"#EEEEEE","width_in_pt":0.5},"vertical":{"color":"#EEEEEE","width_in_pt":0.5}}}},"grid":{"background_color":"#FFFFFF","border_color":"#CCCCCC","border_width_in_pt":0.0,"gap_in_pt":12.0},"separator":{"color":"#CCCCCC","thickness_in_pt":1.0,"spacing_before_in_pt":12.0,"spacing_after_in_pt":12.0},"image":{"border_color":"#000000","border_width_in_pt":0.0},},"header":[{"type":"grid","columns":[{"column_span":6,"blocks":[{"type":"paragraph","runs":[{"text":"Meridian Corp","is_bold":True}]}]},{"column_span":6,"blocks":[{"type":"paragraph","runs":[{"text":"Q1 2026 Quarterly Report"}]}]},],},],"footer":[{"type":"grid","columns":[{"column_span":6,"blocks":[{"type":"paragraph","runs":[{"text":"Confidential \u2014 For Internal Use Only"}]}]},{"column_span":6,"blocks":[{"type":"page-number","text_alignment":"right"}]},],},],"content":[{"type":"headline","level":"h1","text":"Meridian Corp \u2014 Q1 2026 Quarterly Report"},{"type":"paragraph","runs":[{"text":"Prepared by the Office of the CFO \u00b7 April 2026"}]},{"type":"separator"},{"type":"table-of-contents","levels":["h1","h2"],"leader":"dots"},{"type":"page-break"},{"type":"headline","level":"h1","text":"Executive Summary"},{"type":"paragraph","markdown":"Meridian Corp delivered **strong results in Q1 2026**, with consolidated revenue reaching **$42.8M** \u2014 a 14% increase year-over-year. Gross margins improved to 68.3%, driven by operational efficiencies in the Cloud Services division. Net income rose to $6.1M, reflecting disciplined cost management and continued investment in high-growth verticals."},{"type":"paragraph","markdown":"Customer acquisition accelerated with **1,240 new enterprise accounts**, bringing total active customers to 18,650. Annual recurring revenue (ARR) crossed **$165M**, positioning the company well for its full-year target of $190M."},{"type":"page-break"},{"type":"headline","level":"h1","text":"Financial Performance"},{"type":"headline","level":"h2","text":"Revenue Overview"},{"type":"paragraph","markdown":"Total revenue for Q1 2026 was $42.8M, compared to $37.5M in Q1 2025. The growth was primarily driven by expansion in the Cloud Services and Data Analytics segments."},{"type":"table","column_widths_in_percent":[40,20,20,20],"header":{"cells":[{"text":"Metric"},{"text":"Q1 2026","horizontal_alignment":"right"},{"text":"Q1 2025","horizontal_alignment":"right"},{"text":"Change","horizontal_alignment":"right"},],},"rows":[{"cells":[{"text":"Total Revenue"},{"text":"$42.8M","horizontal_alignment":"right"},{"text":"$37.5M","horizontal_alignment":"right"},{"text":"+14.1%","horizontal_alignment":"right"}]},{"cells":[{"text":"Gross Profit"},{"text":"$29.2M","horizontal_alignment":"right"},{"text":"$24.8M","horizontal_alignment":"right"},{"text":"+17.7%","horizontal_alignment":"right"}]},{"cells":[{"text":"Operating Expenses"},{"text":"$21.4M","horizontal_alignment":"right"},{"text":"$19.1M","horizontal_alignment":"right"},{"text":"+12.0%","horizontal_alignment":"right"}]},{"cells":[{"text":"Net Income"},{"text":"$6.1M","horizontal_alignment":"right"},{"text":"$4.3M","horizontal_alignment":"right"},{"text":"+41.9%","horizontal_alignment":"right"}]},],},{"type":"page-break"},{"type":"headline","level":"h2","text":"Revenue by Division"},{"type":"table","column_widths_in_percent":[35,20,20,25],"header":{"cells":[{"text":"Division"},{"text":"Revenue","horizontal_alignment":"right"},{"text":"% of Total","horizontal_alignment":"right"},{"text":"YoY Growth","horizontal_alignment":"right"},],},"rows":[{"cells":[{"text":"Cloud Services"},{"text":"$18.9M","horizontal_alignment":"right"},{"text":"44.2%","horizontal_alignment":"right"},{"text":"+22.1%","horizontal_alignment":"right"}]},{"cells":[{"text":"Data Analytics"},{"text":"$12.4M","horizontal_alignment":"right"},{"text":"29.0%","horizontal_alignment":"right"},{"text":"+16.8%","horizontal_alignment":"right"}]},{"cells":[{"text":"Professional Services"},{"text":"$7.8M","horizontal_alignment":"right"},{"text":"18.2%","horizontal_alignment":"right"},{"text":"+5.4%","horizontal_alignment":"right"}]},{"cells":[{"text":"Legacy Licensing"},{"text":"$3.7M","horizontal_alignment":"right"},{"text":"8.6%","horizontal_alignment":"right"},{"text":"-8.2%","horizontal_alignment":"right"}]},],},{"type":"page-break"},{"type":"headline","level":"h1","text":"Outlook"},{"type":"paragraph","markdown":"Management reaffirms its full-year 2026 revenue guidance of **$175M\u2013$185M** and expects continued margin expansion as the Cloud Services division scales. Key initiatives for Q2 include the launch of the Meridian AI Copilot platform and expansion into the APAC market."},{"type":"list","variant":"unordered","items":[{"text":"Launch Meridian AI Copilot in Q2 2026"},{"text":"Expand APAC sales team by 15 headcount"},{"text":"Achieve $50M quarterly revenue target by Q4 2026"},{"text":"Complete SOC 2 Type II recertification"},]},],},)withopen("q1-2026-report.pdf","wb")asf:f.write(base64.b64decode(result["data"]["buffer"]))
packagemainimportil"github.com/iterationlayer/sdk-go"client:=il.NewClient("YOUR_API_KEY")result,err:=client.GenerateDocument(il.GenerateDocumentRequest{Format:"pdf",Document:il.DocumentDefinition{Metadata:il.DocumentMetadata{Title:"Meridian Corp \u2014 Q1 2026 Quarterly Report",Author:"Meridian Corp",},Page:il.DocumentPage{Size:il.DocPageSize{Preset:"A4"},Margins:il.DocMargins{TopInPt:72,RightInPt:72,BottomInPt:72,LeftInPt:72},},Content:[]il.ContentBlock{il.NewHeadlineBlock("h1","Meridian Corp \u2014 Q1 2026 Quarterly Report"),il.NewSeparatorBlock(),il.NewPageBreakBlock(),il.NewHeadlineBlock("h1","Executive Summary"),il.NewPageBreakBlock(),il.NewHeadlineBlock("h1","Financial Performance"),il.NewHeadlineBlock("h2","Revenue Overview"),il.NewTableBlock([]il.TableRow{{Cells:[]il.TableCell{{Text:"Total Revenue"},{Text:"$42.8M"},{Text:"$37.5M"},{Text:"+14.1%"}}},{Cells:[]il.TableCell{{Text:"Gross Profit"},{Text:"$29.2M"},{Text:"$24.8M"},{Text:"+17.7%"}}},{Cells:[]il.TableCell{{Text:"Net Income"},{Text:"$6.1M"},{Text:"$4.3M"},{Text:"+41.9%"}}},}),il.NewPageBreakBlock(),il.NewHeadlineBlock("h1","Outlook"),il.NewListBlock("unordered",[]il.ListItem{{Text:"Launch Meridian AI Copilot in Q2 2026"},{Text:"Expand APAC sales team by 15 headcount"},{Text:"Achieve $50M quarterly revenue target by Q4 2026"},{Text:"Complete SOC 2 Type II recertification"},}),},},})