Automation

Carbone - Turn JSON data into finished documents

automationself-hosteddocument-generationdocumentspdf

Generating an invoice or report from an API response is dull work that nobody wants to hand-write twice. Carbone takes a document you’ve designed in a familiar office tool and merges JSON data into marked fields, then converts the result to PDF, DOCX, XLSX, and other formats. The layout stays in the document, so designers can change it without touching code, and the same data can feed several different reports. It runs as a service with a REST API, which makes it easy to call from an app or a workflow. The community source is a version behind the commercial edition, and advanced features need a license. If your reports are simple and you want predictable output, it beats assembling files by hand in a script.

Links

Alternatives

  • LibreOffice: Free office suite that can convert files, but you drive it yourself rather than calling an API.
  • PDFme: Developer-oriented PDF forms with a different design workflow.
  • Docxtemplater: Similar merge approach for Word files; several parts are paid and closed source.