PDF templates / Invoice

Business Invoice Template

A wholesale business invoice set as an accounts ledger: double-rule head, ruled line items, and a balance-due journal. Amber sits only under the amount due. The payment QR lives with the remit block.

InvoiceA4business-invoiceinvoiceledgerQRwholesaletax

Clone this layout in the dashboard to get an account-owned draft you can edit and publish. After publish, send your slug or UUID as templateId with JSON templateData.

Sample templateData

JSON
{
  "number": "BI-8042",
  "issuedOn": "2026-08-21",
  "dueOn": "2026-09-20",
  "currency": "USD",
  "taxRate": "8%",
  "subtotal": 3870,
  "tax": 309.6,
  "total": 4179.6,
  "company": {
    "name": "Northline Atelier",
    "address": "14 Pier Street, Suite 3, Portland, ME 04101",
    "email": "studio@northline.studio",
    "phone": "+1 207 555 0148",
    "taxId": "81-4291763"
  },
  "customer": {
    "name": "Harbor & Co.",
    "address": "88 Commercial Street, Portland, ME 04101",
    "email": "accounts@harborandco.com"
  },
  "items": [
    {
      "description": "Spatial identity system",
      "quantity": 1,
      "unitPrice": 2400,
      "amount": 2400
    },
    {
      "description": "Wayfinding drawings",
      "quantity": 8,
      "unitPrice": 115,
      "amount": 920
    },
    {
      "description": "Material board schedule",
      "quantity": 1,
      "unitPrice": 550,
      "amount": 550
    }
  ],
  "payment": {
    "terms": "Net 30",
    "bank": "First Atlantic Trust",
    "account": "004821-991",
    "routing": "011200450",
    "url": "https://pay.northline.studio/BI-8042",
    "qrImage": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Crect width='120' height='120' fill='white'/%3E%3Cg fill='black'%3E%3Crect x='6' y='6' width='34' height='34'/%3E%3Crect x='14' y='14' width='18' height='18' fill='white'/%3E%3Crect x='80' y='6' width='34' height='34'/%3E%3Crect x='88' y='14' width='18' height='18' fill='white'/%3E%3Crect x='6' y='80' width='34' height='34'/%3E%3Crect x='14' y='88' width='18' height='18' fill='white'/%3E%3Crect x='48' y='52' width='8' height='8'/%3E%3Crect x='62' y='52' width='8' height='8'/%3E%3Crect x='76' y='52' width='8' height='8'/%3E%3Crect x='48' y='66' width='8' height='8'/%3E%3Crect x='62' y='66' width='8' height='8'/%3E%3Crect x='76' y='66' width='8' height='8'/%3E%3Crect x='48' y='80' width='8' height='8'/%3E%3Crect x='62' y='80' width='8' height='8'/%3E%3Crect x='76' y='80' width='8' height='8'/%3E%3C/g%3E%3C/svg%3E"
  },
  "notes": "Please include invoice number on transfer remittance."
}

Clone from the gallery

POST /v1/templates
curl https://api.relaypdf.com/v1/templates \
  -H "Authorization: Bearer pdf_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Business Invoice Template",
    "galleryId": "business-invoice"
  }'