Styled Excel report
About this tool
How to use it
- Choose this tool.
- Add your table with Upload or drag and drop.
- Enter a title and pick a look, such as the theme and header colour.
- Switch on extras like striped rows or totals, then press Generate.
- Download the Excel file.
What you get back
Try Styled Excel report in the Studio
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/data/styled-excel" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'sheet_name=Q1 sales' \
-F 'title=Sales report' \
-F 'subtitle=January to March 2026'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.data.styledExcel({
"file": 'document.pdf',
"sheet_name": "Q1 sales",
"title": "Sales report",
"subtitle": "January to March 2026"
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->data()->styledExcel([
'file' => 'document.pdf',
'sheet_name' => 'Q1 sales',
'title' => 'Sales report',
'subtitle' => 'January to March 2026',
]);
echo $result->requestId;