Docs

Kiralytics documentation

How to set up, use, and get the most out of Kiralytics.

Kiralytics is built with Malaysian tax rules in mind. We support the three codes that the LHDN e-Invoice mandate recognises, applied per-line:

Code What it means When to use
SR Standard-rated / service tax Default for most services in Malaysia
ES Exempt Specific exempt categories (private healthcare, education, etc.)
OS Out-of-scope (zero-rated) Exports, certain international services

What Kiralytics does at invoice time

For each line item, we look at the tax code and:

  1. Compute the tax amount from the line subtotal.
  2. Roll it into the invoice total.
  3. Display the breakdown so the client (and your accountant) can audit.

We don't file the e-Invoice with LHDN. We generate the invoice; you submit. The e-Invoice mandate eventually requires real-time API submission, which we expect to add. Until then, the data on the PDF is sufficient to manually upload to LHDN.

Tax codes — what's actually supported

We currently support three codes per invoice (one per line item). Adding more later is a schema change, not a UI change.

If you're not in Malaysia

The tax code field is optional. Skip it. The math is unaffected — your totals add up to subtotal × tax_multiplier where tax_multiplier defaults to 1.

If you want strict compliance with another country's rules (GST, VAT, SST 1.0→2.0 transition, etc.), reach out. We've kept the schema loose enough to extend without a rewrite.