Anethoth | All Products DocuMint CronPing FlagBit WebhookVault Blog
API is live — free tier available

PDF invoices via API.
One call. Done.

Send JSON, get a pixel-perfect PDF. Three professional templates, automatic tax calculations, any currency. Works with every language and framework.

curl -X POST https://documint.anethoth.com/api/v1/invoice \ -H "Authorization: Bearer dm_your_key" \ -H "Content-Type: application/json" \ -d '{"invoice_number": "INV-001", "from": {"name": "Acme Corp"}, "to": {"name": "Client Inc"}, "items": [{"description": "Consulting", "quantity": 10, "unit_price": 150}], "tax_rate": 10}' \ -o invoice.pdf
import requests response = requests.post( "https://documint.anethoth.com/api/v1/invoice", headers={"Authorization": "Bearer dm_your_key"}, json={ "invoice_number": "INV-001", "from": {"name": "Acme Corp"}, "to": {"name": "Client Inc"}, "items": [{"description": "Consulting", "quantity": 10, "unit_price": 150}], "tax_rate": 10 } ) with open("invoice.pdf", "wb") as f: f.write(response.content)
const response = await fetch("https://documint.anethoth.com/api/v1/invoice", { method: "POST", headers: { "Authorization": "Bearer dm_your_key", "Content-Type": "application/json" }, body: JSON.stringify({ invoice_number: "INV-001", from: { name: "Acme Corp" }, to: { name: "Client Inc" }, items: [{ description: "Consulting", quantity: 10, unit_price: 150 }], tax_rate: 10 }) }); const pdf = await response.arrayBuffer(); fs.writeFileSync("invoice.pdf", Buffer.from(pdf));
body := `{"invoice_number":"INV-001", "from":{"name":"Acme Corp"}, "to":{"name":"Client Inc"}, "items":[{"description":"Consulting","quantity":10,"unit_price":150}], "tax_rate":10}` req, _ := http.NewRequest("POST", "https://documint.anethoth.com/api/v1/invoice", strings.NewReader(body)) req.Header.Set("Authorization", "Bearer dm_your_key") req.Header.Set("Content-Type", "application/json") resp, _ := http.DefaultClient.Do(req) pdf, _ := io.ReadAll(resp.Body) os.WriteFile("invoice.pdf", pdf, 0644)
$response = file_get_contents( "https://documint.anethoth.com/api/v1/invoice", false, stream_context_create(["http" => [ "method" => "POST", "header" => "Authorization: Bearer dm_your_key\r\n" . "Content-Type: application/json\r\n", "content" => json_encode([ "invoice_number" => "INV-001", "from" => ["name" => "Acme Corp"], "to" => ["name" => "Client Inc"], "items" => [["description" => "Consulting", "quantity" => 10, "unit_price" => 150]], "tax_rate" => 10 ]) ]]) ); file_put_contents("invoice.pdf", $response);
<500ms
Generation Time
3
Templates
REST
API Standard
10 Free
Invoices / Month
How It Works

Three steps. That's it.

No SDKs to install. No templates to manage. No rendering infrastructure to maintain.

1

Get an API Key

Sign up with your email. No credit card required. Key delivered instantly.

2

Send Invoice JSON

POST your invoice data โ€” items, addresses, tax, notes โ€” in a simple JSON format.

3

Get a PDF Back

Receive a professionally formatted PDF. Ready to email, download, or archive.

Features

Built for developers who ship

Everything you need to generate invoices at scale. Nothing you don't.

โšก

One API Call

Send JSON, get a PDF. Works with any language, any framework, any stack.

๐ŸŽจ

3 Professional Templates

Classic, Modern, and Minimal designs. Add "template":"modern" to your JSON.

๐Ÿ”ข

Tax & Currency

Automatic tax calculations, any currency symbol, discounts, and notes. Compliance-ready.

๐Ÿš€

Sub-500ms Generation

Server-side rendering with WeasyPrint. No browser, no Puppeteer. Fast and reliable.

๐Ÿ“–

Full API Documentation

Interactive docs at /api-docs. Code examples in 5 languages. Copy, paste, ship.

๐ŸŽ

Generous Free Tier

10 invoices/month free, forever. No credit card. Upgrade only when you need volume.

Live Demo

Try it right now

Edit the JSON and generate a real PDF invoice. No API key needed.

Pricing

Simple, transparent pricing

Start free. Scale as you grow. No hidden fees, no surprises.

Free

$0/mo
10 invoices / month
  • Full API access
  • PDF generation
  • All 3 templates
  • Tax calculations
Get Started
Most Popular

Starter

$9/mo
~$0.09 per invoice
100 invoices / month
  • Everything in Free
  • Priority generation
  • Email support
  • Usage dashboard
Get Started

Pro

$19/mo
~$0.019 per invoice
1,000 invoices / month
  • Everything in Starter
  • Custom logo support
  • Webhook notifications
  • Priority support
Get Started

Business

$39/mo
~$0.004 per invoice
10,000 invoices / month
  • Everything in Pro
  • Custom templates
  • Dedicated support
  • SLA guarantee
Get Started
FAQ

Common questions

What data format does the API accept?
Send a JSON object with invoice details: from/to addresses, line items (description, quantity, unit_price), optional tax_rate, currency_symbol, notes, and template. See the API docs for the complete schema.
What do the PDF invoices look like?
Professional, clean invoices with proper typography, itemized tables, tax calculations, and totals. Choose from Classic, Modern, or Minimal templates. Try the live demo above to see real examples.
Can I add my company logo?
Yes โ€” pass a logo_url field and it appears in the invoice header. Available on Pro plan and above.
How fast is PDF generation?
Most invoices generate in under 500ms. We use server-side rendering (WeasyPrint), not browser-based rendering, so it's fast and consistent under load.
Do you store my invoice data?
We store minimal metadata for usage tracking. PDFs are generated on-the-fly and not stored. Full invoice JSON is stored temporarily for debugging but can be deleted on request.
Is this production-ready?
Absolutely. The API is versioned (v1), returns proper HTTP status codes, includes rate limiting, and we monitor uptime 24/7. Designed for production use from day one.

Stay in the loop

Product updates, new features, and developer tips. No spam, ever.

Stop building invoice rendering.
Start shipping your product.

Join developers who save hours every week by letting DocuMint handle their invoices.

Get Free API Key