MyEBS PDF Service

This service generates high-quality PDFs from HTML or webpage URLs.

Available Endpoints

POST /api/pdf/html
POST /api/pdf/url

Required Header

x-api-key: YOUR_API_KEY

HTML to PDF Example

{
  "html": "<html><body><h1>Invoice</h1></body></html>",
  "pageSize": "A4",
  "marginTop": "10mm",
  "marginRight": "10mm",
  "marginBottom": "10mm",
  "marginLeft": "10mm",
  "landscape": false,
  "printBackground": true
}

URL to PDF Example

{
  "url": "https://example.com/invoice/1001",
  "pageSize": "A4"
}

Status: PDF Service Running