Skip to content
Fourohtwo

tex.x.gl/v1/pdf/invoice

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.

BaseSolanaAnswering
POSThttps://tex.x.gl/v1/pdf/invoice

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://tex.x.gl/v1/pdf/invoice", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount_paid":"500.00","currency":"USD","discount_percent":"5","due_date":"2026-12-22","from":{"address":"San Francisco, CA","email":"billing@northstarcloud.io","name":"Northstar Cloud Labs LLC"},"include_page_previews":true,"invoice_number":"INV-2026-1042","issue_date":"2026-11-22","line_items":[{"description":"Dedicated GPU Inference Cluster (Nov 2026)","quantity":1,"unit_price":"2400.00"},{"de),
});
console.log(await res.json());

Example input

{"amount_paid":"500.00","currency":"USD","discount_percent":"5","due_date":"2026-12-22","from":{"address":"San Francisco, CA","email":"billing@northstarcloud.io","name":"Northstar Cloud Labs LLC"},"include_page_previews":true,"invoice_number":"INV-2026-1042","issue_date":"2026-11-22","line_items":[{"description":"Dedicated GPU Inference Cluster (Nov 2026)","quantity":1,"unit_price":"2400.00"},{"de