Repetitive manual work
Every document must be downloaded from your system, uploaded to a portal, stamped, and downloaded again.
Send PDFs from your app, ERP, or invoicing system and get back PDFs with a valid Peruri e-meterai and its serial number. No subscription, no uploading one by one.
Invoices, receipts, and statements keep piling up. Downloading, uploading, and placing stamps by hand eats staff time and things get missed.
Every document must be downloaded from your system, uploaded to a portal, stamped, and downloaded again.
Documents above Rp5 million that should carry a stamp can slip through without one when volume is high.
Stamp serial numbers end up scattered across folders and emails, disconnected from invoice numbers in your system.
In Dashboard → Developer, create a test-mode key (dk_test_) with "e-Meterai only" access.
POST /emeterai with the final PDF, the Peruri document type, a document number, and the stamp position.
The emeterai.stamped webhook fires as soon as it is done, including the serial number. You can also poll the status.
Download the stamped PDF from GET /emeterai/{id}/file and store it with its serial number in your system.
A simple REST API with Bearer keys. Full Node.js, PHP, and Python examples are in the documentation.
const form = new FormData(); form.append("file", pdfBlob, "invoice.pdf"); form.append("document_type", "Dokumen Transaksi"); form.append("document_number", invoiceNo); const res = await fetch("https://docs.resmi.id/api/ext/v1/emeterai", { method: "POST", body: form, headers: { Authorization: `Bearer ${KEY}`, "Idempotency-Key": invoiceNo } }); const { data } = await res.json(); // data.status = "queued"
// PHP + cURL $ch = curl_init("https://docs.resmi.id/api/ext/v1/emeterai"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer $key", "Idempotency-Key: $invoiceNo"], CURLOPT_POSTFIELDS => [ "file" => new CURLFile("invoice.pdf", "application/pdf"), "document_type" => "Dokumen Transaksi", ], ]); $job = json_decode(curl_exec($ch), true)["data"];
import requests r = requests.post( "https://docs.resmi.id/api/ext/v1/emeterai", headers={"Authorization": f"Bearer {KEY}", "Idempotency-Key": invoice_no}, files={"file": ("invoice.pdf", open("invoice.pdf", "rb"), "application/pdf")}, data={"document_type": "Dokumen Transaksi"}, ) job = r.json()["data"] # job["status"] == "queued"Read the docs →
Retrying with the same key never creates or charges a stamp twice, safe when connections drop.
emeterai.stamped and emeterai.failed events are sent with an HMAC SHA-256 signature in the X-Resmi-Signature header.
Pick a page corner (bottom_right, top_left, etc.) or x, y coordinates in PDF points on any page.
"e-Meterai only" access cannot send signing documents, so the risk is smaller if a key leaks.
dk_test_ keys use Peruri test stamps at no cost; dk_live_ keys apply valid stamps.
The price is on every job (price_idr) and at GET /emeterai/info. Insufficient balance returns 402 with no stamp created.
Documents acknowledging receipt of more than Rp5 million from your billing system.
Customer, client, or member statements generated automatically by your app.
Transaction confirmations, financing documents, or proof of settlement from financial platforms.
Offer e-meterai in your own product without managing a direct integration with the issuer.
Need several parties to sign too? Use the e-Sign API with the same key. e-Sign API →
Indonesia's Law No. 10 of 2020 on Stamp Duty sets the stamp duty at Rp10,000 and lists the documents subject to it, including agreements, notarial deeds, and documents acknowledging receipt of more than Rp5,000,000. Electronic stamps (e-meterai) are used for electronic documents and are issued by Peruri. This is general information; for specific cases, check the latest regulations or consult a tax advisor.
Read: which documents require e-meterai →An e-meterai API is a programming interface that lets your system apply electronic duty stamps to PDFs automatically. Your system sends a PDF to docs.resmi.id and receives the stamped PDF and e-meterai serial number with no manual steps.
The standard Indonesian spelling is "meterai", so the official term is e-meterai (electronic duty stamp). Many people write "e-materai"; both refer to the same thing.
Rp10,500 per stamp, Rp10,000 stamp duty included, with no subscription fee. It is charged to your Resmi.ID balance when the request is accepted and refunded automatically if stamping fails.
Yes. Test-mode keys (dk_test_) use Peruri test stamps that are not legally valid, intended for development and integration testing, at no cost.
Usually under a minute and at most about three minutes. Use the emeterai.stamped webhook so your system is notified the moment it is done.
Choose a page corner with the corner parameter, or set x and y coordinates in PDF points on a specific page. The stamp box is about 22% of the page width and 8% of its height.
No. A Peruri e-meterai is a digital signature over the file, so changing the PDF afterwards makes the stamp invalid when checked. Stamp the final version of the document.
Document type names follow Peruri's official list, such as Dokumen Transaksi, Surat Pernyataan, or Surat Keterangan. Fetch the full list once via GET /emeterai/document-types.
Create a free test key, try it in your system, and switch to live when you are ready.