Skip to content

Nepal VAT invoice template, HTML and Handlebars

An A4 tax invoice for Nepal with the seller and buyer PAN, line items, the taxable amount, 13% VAT, the total and the amount in words. Render it from JSON with one API call.

Free to copy. Send it from your app with POST /v1/pdfs/render and the slug nepal-vat-invoice.

Template source

<div class="page">
  <div class="head">
    <div><h1>TAX INVOICE</h1><p class="muted">{{invoice.number}} · {{formatDate invoice.date "DD MMM YYYY"}}</p></div>
    <div style="text-align:right"><strong>{{seller.name}}</strong><br><span class="muted">{{seller.address}}<br>PAN {{seller.pan}}</span></div>
  </div>
  <p>Bill to <strong>{{buyer.name}}</strong><br><span class="muted">{{buyer.address}}{{#if buyer.pan}} · PAN {{buyer.pan}}{{/if}}</span></p>
  <table class="items">
    <thead><tr><th>S.N.</th><th>Description</th><th class="num">Qty</th><th class="num">Rate</th><th class="num">Amount</th></tr></thead>
    <tbody>
      {{#each items}}
      <tr><td>{{sn}}</td><td>{{name}}</td><td class="num">{{qty}}</td><td class="num">{{formatCurrency rate "NPR"}}</td><td class="num">{{formatCurrency amount "NPR"}}</td></tr>
      {{/each}}
    </tbody>
  </table>
  <p class="num">Taxable amount {{formatCurrency invoice.taxable "NPR"}}<br>VAT 13% {{formatCurrency invoice.vat "NPR"}}</p>
  <p class="total">Total {{formatCurrency invoice.total "NPR"}}</p>
  <p class="muted">In words: {{invoice.inWords}}</p>
</div>

<style>
  @page { size: A4; margin: 18mm; }
  body { font-family: Arial, Helvetica, sans-serif; color: #17181c; font-size: 12px; }
  h1 { font-size: 22px; letter-spacing: 2px; margin: 0; }
  .muted { color: #5a5c63; }
  .head { display: flex; justify-content: space-between; margin-bottom: 24px; }
  table.items { width: 100%; border-collapse: collapse; margin-top: 16px; }
  table.items th { text-align: left; font-weight: normal; color: #5a5c63; border-bottom: 1.5px solid #17181c; padding: 6px 0; }
  table.items td { padding: 8px 0; border-bottom: 1px solid #ece9e2; }
  .num { text-align: right; font-variant-numeric: tabular-nums; }
  .total { margin-top: 12px; text-align: right; font-size: 15px; font-weight: bold; }

</style>

Sample data (JSON)

{
  "seller": {
    "name": "Himalayan Traders Pvt Ltd",
    "address": "New Baneshwor, Kathmandu",
    "pan": "601234567"
  },
  "buyer": {
    "name": "Sita Sharma",
    "address": "Jawalakhel, Lalitpur",
    "pan": "609876543"
  },
  "invoice": {
    "number": "INV-2026-0311",
    "date": "2026-09-29",
    "taxable": 11300,
    "vat": 1469,
    "total": 12769,
    "inWords": "Twelve thousand seven hundred sixty-nine rupees only"
  },
  "items": [
    {
      "sn": 1,
      "name": "Ilam tea 500 g",
      "qty": 10,
      "rate": 650,
      "amount": 6500
    },
    {
      "sn": 2,
      "name": "Basmati rice 5 kg",
      "qty": 4,
      "rate": 1200,
      "amount": 4800
    }
  ]
}

What does the nepal vat invoice template include?

Format
A PDF document, rendered in headless Chrome with print CSS
Data it needs
sellerbuyerinvoiceitems
Repeats for
items
Helpers used
formatCurrencyformatDate

How do I use the nepal vat invoice template?

  1. 01
    Open it with sample dataOpen the nepal vat invoice template in the free HTML to PDF converter. It loads with sample data, so the preview shows the finished document.
  2. 02
    Swap in your own dataReplace the sample JSON with a real record from your system (seller, buyer, invoice and the rest) and check the preview.
  3. 03
    Save it and call the APISave it to a free workspace, publish it, then call POST /v1/pdfs/render with the slug nepal-vat-invoice and your JSON.

Nepal VAT invoice template questions

Is the nepal vat invoice template free?

Yes. Copy the HTML and the sample data from this page, or edit it in the free HTML to PDF converter without an account.

Can I use this template without Templater?

Yes. It is plain HTML with Handlebars placeholders, so any Handlebars renderer can fill it in. Turning it into a PDF yourself needs a headless browser; Templater does that in one API call.

How do I generate this PDF from my backend?

Save the template in a workspace and call POST /v1/pdfs/render with "template": "nepal-vat-invoice" and your data. The response is the PDF.

More templates like this