- ✅ Created a merchant on VUZ
- ✅ Created an end customer under that merchant
- ✅ Issued a
tax_invoice_receiptfor ₪84.37 (including 18% VAT) - ✅ Received the PDF URL synchronously in the response
- ✅ Downloaded the signed, compliant PDF
Prerequisites
API key
Email
partners@vuz.co.il to request a key. You’ll receive a vuz_test_* (sandbox-marker) or vuz_live_* (production-marker) token. Store it securely — it’s only shown once. Today both kinds hit production — sandbox isolation is on the roadmap.Base URL
Use
https://api.vuz.co.il/api/v1 for production, or https://localhost:3020/api/v1 while integrating against your local dev VUZ instance. All examples below use production.Step 1 — Create a merchant
A merchant is a child VUZ business that you (the partner) parent. Pass their legal info — VUZ creates the dormant user, generates a digital signing certificate, and initializes a chart of accounts.Step 2 — Issue a tax invoice receipt
This single call creates the document, finalizes it, generates the PDF, and returns the URL.cURL
waitForPdf: true makes the request block (~2 sec) until the PDF is rendered and uploaded to S3. If you don’t need the URL in the response, omit it — the request returns in ~500ms and the PDF generates asynchronously. VUZ delivers the invoice to your end customer regardless.Step 3 — Download the PDF
ThepdfUrl works with the same API key. Just GET it.
cURL
Content-Type: application/pdf, Content-Disposition: attachment; filename="TAX_INVOICE_RECEIPT-60014-...pdf".
The PDF is:
- ✅ Digitally signed (Israeli VAT Circular 24/2004 compliant)
- ✅ Sequential document number (assigned per merchant)
- ✅ Full Hebrew right-to-left rendering
- ✅ VAT breakdown shown (subtotal + 18% VAT + grand total)
- ✅ Includes your platform’s branding (when partner template is configured)
What VUZ does automatically (no extra calls needed)
After document creation:Journal entries posted
Debit Cash (1100) ₪84.37 / Credit Revenue (4000) ₪71.50 / Credit VAT Payable (2200) ₪12.87 — balanced double-entry, written automatically.
Customer ledger updated
Invoice + payment entries written. Outstanding balance = ₪0.00 for this receipt.
Email sent to end customer
Sent via AWS SES with the PDF attached. Subject line and body localized to the merchant’s language preference (Hebrew default).
You did it 🎉
That’s the entire happy path. Next:Handle errors
Every error code, what it means, and how to recover.
Set up webhooks
Get notified of every event in real time.
Issue a refund
Credit notes that legally reverse a prior invoice.
Full API Reference
Every endpoint, every parameter, with live testing.