API reference
Build ZeroKey into your own system.
Everything the dashboard does, your software can do too. Ingest invoices, fetch validation results, listen to submission events, manage your team.
Submit invoices programmatically
Push an invoice payload from your system. We extract, validate, sign and submit — you get the LHDN UUID back.
Get notified the moment something changes
Subscribe to events: invoice validated, submission accepted, rejection raised, exception cleared. Your endpoint gets the call.
A sandbox that mirrors production
Test against the real LHDN sandbox, with synthetic data. Switch a flag to go live when you're ready.
Per-environment access keys
Issue keys per integration, scope them to specific actions, rotate without downtime.
Reference docs live in the dashboard.
Once you have an account, you'll find the full endpoint reference, request/response shapes, error catalog, and live "try it" panel inside the Developer area.
Start free trial# Submit an invoice
POST /v1/invoices
{
"reference": "INV-2026-0418",
"buyer_tin": "C12345",
"total": 6696.00,
"items": [ … ]
}
# Response
{
"uuid": "a3f9…7d21",
"status": "validated"
}