← Back to directory

Generate print-ready business and crypto invoice, receipt, and billing PDFs from...

https://tex.x.gl/v1/pdf/invoice

Overview

Generate print-ready business and crypto invoice, receipt, and billing PDFs from structured JSON — deterministic server-side BigInt fixed-point tax and discount totals, offline vector payment QR codes, company logos, 4 LaTeX themes (clean, ledger, minimal, web3), and 150-DPI PNG page previews.

Protocol x402 (POST)
Price $0.01
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider tex
Source bazaar
Indexed 2026-11-22 19:11:12

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "amount_paid": "500.00", "currency": "USD", "discount_percent": "5", "due_date": "2026-12-22", "from": { "address": "548 Market St, Suite 41200, San Francisco, CA 94104", "email": "billing@northstarlabs.example", "name": "Northstar Cloud Labs LLC", "tax_id": "EIN 94-3829104" }, "include_page_previews": true, "invoice_number": "INV-2026-1042", "issue_date": "2026-11-22", "line_items": [ { "description": "Dedicated GPU Inference Cluster (A100 80GB x 4) - November 2026", "quantity": 1, "unit_price": "2400.00" }, { "description": "Sandboxed Document Rendering API Calls (blocks of 1,000)", "quantity": 15, "unit_price": "8.00" } ], "notes": "Thank you for your business.", "paper_size": "letter", "payment_instructions": { "account_number": "****4829", "bank_name": "Mercury Business Checking", "method": "ACH / Wire or USDC on Base", "payment_url": "https://tex.x.gl", "routing_or_swift": "084106768" }, "status": "unpaid", "tax_label": "Sales Tax (8.5%)", "tax_rate_percent": "8.5", "terms": "Net 30. Please reference INV-2026-1042 on remittance.", "theme": "clean", "to": { "address": "100 CambridgePark Dr, Cambridge, MA 02140", "email": "ap@horizonrobotics.example", "name": "Horizon Robotics Inc." } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "compile_time_ms": 465, "computed_totals": { "amount_paid": "500.00", "balance_due": "2097.49", "currency": "USD", "currency_symbol": "$", "discount_amount": "126.00", "line_items": [ { "amount": "2400.00", "description": "Dedicated GPU Inference Cluster (A100 80GB x 4) - November 2026", "quantity": "1", "unit_price": "2400.00" }, { "amount": "120.00", "description": "Sandboxed Document Rendering API Calls (blocks of 1,000)", "quantity": "15", "unit_price": "8.00" } ], "shipping_amount": "0.00", "subtotal": "2520.00", "tax_amount": "203.49", "taxable_amount": "2394.00", "total": "2597.49" }, "diagnostics": [], "page_count": 1, "page_previews_base64": [ "iVBORw0KGgoAAAANSUhEUgAA..." ], "pdf_base64": "JVBERi0xLjUNCi...", "success": true, "theme_used": "clean" }, "type": "json" }