Webhook

Invoice status update delivery

​

JomeInvoice POSTs this event to every matching enabled destination. Verify the HMAC against the raw request bytes; do not parse and re-serialise the body before verification. A 2xx response acknowledges delivery. Every non-2xx response except 410 is retried after 60, 120, and 240 seconds; 410 stops retries only for that delivery; the webhook remains enabled for future notifications. A delivery attempt times out after 30 seconds. Duplicate deliveries are possible, so consumers must be idempotent. Regenerating a webhook secret invalidates its old secret immediately while retaining its client ID. Rotating an OAuth client secret does not affect webhook signing.

Headers

  • 64 lowercase hexadecimal characters, without a prefix: HMAC-SHA256 of {timestamp}.{raw_body_bytes} using the destination client secret.

  • Unix timestamp in seconds, generated again for every delivery attempt, including retries. Reject stale timestamps to protect against replay; a five-minute tolerance is recommended.

  • The webhook destination's own client_id returned when it is created; this is not the OAuth client ID.

Body·

required
application/json
  • The buyer_name value.

  • The invoice_number value.

  • Invoice status at the time the delivery was queued.

    values
    errorsubmittedvalidinvalidawaitingacceptedrejectedcancelled
  • Total payable amount represented as a decimal string.

  • LHDN e-invoice type code; this is not the event name.

  • JomeInvoice invoice ULID.

  • The api_client_id value.

  • The branch_id value.

  • The digital_signature value.

  • Invoice due date in YYYY-MM-DD format when supplied in a request.

  • Invoice processing or validation failure reason. Null when no failure reason is available.

  • Invoice issue date in YYYY-MM-DD format when supplied in a request.

Responses

  • Delivery accepted.

  • Delivery accepted without a response body.

  • Stop retries for this delivery only. The webhook remains enabled and later notifications are still delivered.

Request Example for postinvoiceStatusUpdated
{
  "api_client_id": "01JEXAMPLECLIENTULID0000",
  "branch_id": "01JEXAMPLEBRANCHULID0000",
  "buyer_name": "Example Sdn Bhd",
  "digital_signature": "...",
  "due_date": "2026-09-09",
  "failure_reason": null,
  "invoice_number": "INV-0001",
  "issue_date": "2026-08-10",
  "lhdn_unique_id": "EXAMPLELONGID",
  "lhdn_verify_url": "https://portal.example/01JEXAMPLEINVOICEULID0000/share/EXAMPLELONGID",
  "rejected_reason": null,
  "source": "THIRD_PARTY_API",
  "status": "valid",
  "total": "1060.00",
  "type": "01",
  "uuid": "01JEXAMPLEINVOICEULID0000"
}
No Body