Skip to content
@groupdocs-assembly

GroupDocs.Assembly Product Family

Boost document generation process with cross platform automation assembly APIs. Generate multi format documents from templates on the fly

GroupDocs.Assembly

Document Automation and Reporting API: Generate Reports from Templates and Data in 40+ Formats

GroupDocs.Assembly is an on-premise document automation and reporting API that fills Word, Excel, PowerPoint, email, HTML and text templates with data from JSON, XML, CSV, databases, the tables of other documents and your own objects, and saves the reports in their own format or as PDF, XPS, HTML, images and more. Templates use a LINQ-based syntax for fields, loops, tables, lists, charts, images, barcodes, hyperlinks and conditional content. SDKs for .NET, Java, Node.js and Python.

Product Page Docs Demos API Blog Search Support Temp License

Latest Assembly News & Updates

  • NEW: GroupDocs.Assembly for Python via .NET 26.11: engine 26.7 with the .NET 10 runtime embedded, the first wheels for Linux and macOS (Intel and Apple Silicon), Python 3.5 - 3.14, and Python dicts and lists as data sources. Install it with pip install groupdocs-assembly-net from PyPI. Release notes.
  • Published GroupDocs.Assembly 26.7 for .NET on NuGet: refreshed document engines, template expressions that use members inherited from a base interface, and a package per target framework (.NET 6, 8 and 10 since 26.6). Release notes.
  • GroupDocs.Assembly for Java 26.10.1: plain Java objects as data sources on JDK 16 and later without JVM flags, data models typed by an interface, indexer syntax obj["key"] on Java objects, and JavaBean getters and Map keys read with member syntax. Release notes.

Supported Platforms & Repository Groups

.NET Document Automation (C#, ASP.NET, Services)

Generate documents and reports from templates on .NET Framework 4.0+, .NET Standard 2.0 and .NET 6, 8 and 10.

using GroupDocs.Assembly;
using GroupDocs.Assembly.Data;

// Fill a Word template with JSON data and save the report as PDF
var assembler = new DocumentAssembler();
assembler.AssembleDocument("template.docx", "report.pdf",
    new DataSourceInfo(new JsonDataSource("customer.json"), "customer"));

Java Document Automation (Maven, Spring)

Native Java library for templated documents with loops, tables, charts, images, barcodes and conditional content.

import com.groupdocs.assembly.DataSourceInfo;
import com.groupdocs.assembly.DocumentAssembler;
import com.groupdocs.assembly.JsonDataSource;

// Fill a Word template with JSON data and save the report as PDF
DocumentAssembler assembler = new DocumentAssembler();
assembler.assembleDocument("template.docx", "report.pdf",
    new DataSourceInfo(new JsonDataSource("customer.json"), "customer"));

Node.js Document Automation (Node.js via Java)

Add report generation to Node.js services and scripts with the Java engine: npm install @groupdocs/groupdocs.assembly.

const assembly = require('@groupdocs/groupdocs.assembly');

// Fill a Word template with JSON data and save the report as PDF
const assembler = new assembly.DocumentAssembler();
assembler.assembleDocument('template.docx', 'report.pdf',
    new assembly.DataSourceInfo(new assembly.JsonDataSource('customer.json'), 'customer'));

Python Document Automation (Python via .NET)

A self-contained Python package with the .NET runtime embedded: pip install groupdocs-assembly-net, Python 3.5 - 3.14 on Windows, Linux and macOS.

from groupdocs.assembly import DataSourceInfo, DocumentAssembler

# Fill a Word template with a Python dict and save the report as PDF
customer = {"Name": "Quayside Bistro", "Product": "Harbor Blend whole bean coffee"}
DocumentAssembler().assemble_document("template.docx", "report.pdf", DataSourceInfo(customer, "customer"))

Business Use-Cases

  • Quotes, invoices and contracts: fill line items, totals and terms, with conditional pricing and clauses.
  • Batch reports: orders, shipments and statements from SQL, JSON or CSV data.
  • Mail merge by email: personalised MSG and EML messages with tables and lists.
  • Dashboards in documents: charts, tables and summary figures computed in the template from the data.
  • Labels, badges and certificates: barcodes, QR codes and images placed from the data.

API Key Features & Benefits

  • 40+ formats: Word (DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, ODT, OTT, TXT, Markdown), Excel (XLS, XLSX, XLSM, XLSB, XLT, XLTX, XLTM, ODS), PowerPoint (PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM, ODP, OTP), email (MSG, EML, EMLX) and web (HTML, MHTML) templates; reports also as PDF, XPS, OXPS, TIFF, SVG, PostScript, PCL, XAML and EPUB.
  • Template syntax: expressions, loops, conditions, variables and LINQ-style data operations (filtering, ordering, grouping, aggregates).
  • Data sources: JSON, XML, CSV, databases, the tables of Word, Excel and PowerPoint documents, and .NET, Java or Python objects.
  • Content: tables, bulleted and numbered lists, charts, images, barcodes and QR codes, hyperlinks, bookmarks, check boxes and inserted documents.
  • Formatting: number, date and text formats, ordinal, cardinal and alphabetic numbers, and text casing.
  • Output: the template's own format or another of its family; fields and formulas can be updated on save.

Getting Started

  • .NET: dotnet add package GroupDocs.Assembly
  • Java: add com.groupdocs:groupdocs-assembly from the GroupDocs repository, https://releases.groupdocs.com/java/repo/
  • Node.js: npm install @groupdocs/groupdocs.assembly
  • Python: pip install groupdocs-assembly-net
  • Run the sample projects from the repositories above to fill Word, Excel, PowerPoint and email templates from JSON, XML and CSV data.

Technical Support & Resources

Tags

groupdocs-assembly document-automation document-generation report-generation template-engine reporting-api mail-merge linq-templates word-automation excel-reporting pdf-generation json-to-docx data-binding barcode-generation chart-reporting invoice-generation python

Pinned Loading

  1. GroupDocs.Assembly-for-.NET GroupDocs.Assembly-for-.NET Public

    GroupDocs.Assembly for .NET examples, plugins and showcase projects

    C# 11 13

  2. GroupDocs.Assembly-for-Java GroupDocs.Assembly-for-Java Public

    GroupDocs.Assembly for Java examples, plugins and showcase projects

    6 5

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…