Quick answer
POST your invoice as JSON to /api/generate-invoice with output:"pdf" and you get a PDF back. JSON totals work with no account; a free inv_ key unlocks PDF and UBL output.
- Endpoint
POST /api/generate-invoice- Input
- A JSON body:
from,to,items[], currency, language, template - Output
output:pdf·json·ubl- Auth
- JSON output keyless; PDF/UBL need a free
inv_key - SDKs
invovateon npm + PyPI
cURL
The whole thing is one request — JSON in, PDF out:
curl -X POST https://invovate.com/api/generate-invoice \ -H "Authorization: Bearer inv_your_key" \ -H "Content-Type: application/json" \ -d '{"output":"pdf","from":{"name":"Acme LLC"},"to":{"name":"Globex"},"items":[{"description":"Consulting","quantity":2,"unit_price":150,"tax_rate":20}]}' \ --output invoice.pdfNode.js
import { Invovate } from "invovate"; const inv = new Invovate({ apiKey: process.env.INVOVATE_API_KEY }); const { hosted_url } = await inv.createPdfLink({ from: { name: "Acme LLC" }, to: { name: "Globex" }, items: [{ description: "Consulting", quantity: 2, unit_price: 150, tax_rate: 20 }], }); console.log(hosted_url);Python
from invovate import Invovate inv = Invovate(api_key="inv_your_key") res = inv.create_pdf_link( from_={"name": "Acme LLC"}, to={"name": "Globex"}, items=[{"description": "Consulting", "quantity": 2, "unit_price": 150, "tax_rate": 20}], ) print(res["hosted_url"])Calculate totals without a PDF
Send output:"json" (no key needed) to get a fully-computed invoice — subtotal, per-line and document tax, discounts, shipping, deposit, grand total and balance due — without rendering a file.
Frequently asked questions
Is there an API to make a PDF invoice from JSON?
Yes — POST a JSON invoice to the Invovate API with output:"pdf" and it returns a PDF (or a 7-day hosted link).
Do I need an account?
JSON totals work with no account. PDF and UBL output use a free inv_ key from invovate.com/auth.
Which languages and formats?
11 languages (incl. Arabic RTL, Japanese, Hindi) and three outputs: PDF, JSON and UBL 2.1 XML.
Related
Not regulated e-invoicing. Invovate generates invoice documents (PDF, JSON, UBL 2.1) but is not a regulated electronic-invoice transmission service — no Peppol / Factur-X / ZUGFeRD / XRechnung / NF-e compliance or government-network delivery. UBL export is for interoperability and archival only.