One URL. Everything else is a query parameter.
POST https://pdf.bizkithub.com/generator
Send the HTML as the request body (text/html or plain text) and get application/pdf back. Query parameters control paper size, margins and receipt mode. Switch to multipart/form-data when you want to embed files, see § 6 Attachments.
Real browser engine: modern CSS, web fonts, flexbox and grid.
Clean page breaks with consistent per-page margins.
PDF for people, embedded ISDOC/XML for software.