$echo '{
< "html": "<!doctype html>\\n<html><head><meta charset=\\"utf-8\\"><title>Invoice 1001</title>\\n<style>\\n body { font-family: Helvetica, Arial, sans-serif; color: #222; margin: 0; }\\n h1 { color: #0f766e; margin: 0 0 4px; }\\n .muted { color: #666; }\\n table { width: 100%; border-collapse: collapse; margin-top: 24px; }\\n th { background: #0f766e; color: #fff; text-align: left; padding: 8px; }\\n td { border-bottom: 1px solid #ddd; padding: 8px; }\\n .right { text-align: right; }\\n .total td { font-weight: bold; border-bottom: none; }\\n</style></head>\\n<body>\\n <h1>Invoice 1001</h1>\\n <div class=\\"muted\\">Issued 10 November 2026 · Due 10 December 2026</div>\\n <p><b>Acme Studio Ltd</b><br>1 Example Street, London</p>\\n <p>Billed to: <b>Example Corp</b></p>\\n <table>\\n <tr><th>Item</th><th class=\\"right\\">Qty</th><th class=\\"right\\">Price</th><th class=\\"right\\">Amount</th></tr>\\n <tr><td>Website design</td><td class=\\"right\\">1</td><td class=\\"right\\">$1,200.00</td><td class=\\"right\\">$1,200.00</td></tr>\\n <tr><td>Hosting, 12 months</td><td class=\\"right\\">12</td><td class=\\"right\\">$15.00</td><td class=\\"right\\">$180.00</td></tr>\\n <tr class=\\"total\\"><td colspan=\\"3\\" class=\\"right\\">Total</td><td class=\\"right\\">$1,380.00</td></tr>\\n </table>\\n</body></html>",
< "documents": []
<}' |
<apify call pikoulas/html-to-pdf --silent --output-dataset