Skip to content
Cynco UI

Accounting · Tax, assets & operations

EInvoiceStatusCard

LHDN MyInvois e-invoice state for an invoice or note per environment (valid, pending validation, rejected with LHDN errors, unconfirmed, cancelled, buyer-requested rejection), the validated UUID / long ID stamp, and Submit / Cancel (72-hour window) actions.

import { EInvoiceStatusCard } from "@cynco-labs/ui";

Example

Use

Invoice and credit/debit note detail sidebars (NoteEInvoiceCard).

Props

credentialEnvironments (sandbox|production), byEnvironment {status, documentUuid, longId, validatedAt, rejectionRequestedAt, rejectionReason, validationErrors, unconfirmed, withinCancelWindow}; optional documentLabel, hasCorrection, onSubmit, onCancel, onCheck; optional className and native div props on the root.

Notes

Fetcher, retry hold and portal-settle flow are left to the caller. Validation stamp from templates/EInvoiceValidationBlock (QR omitted). Responsive by container: controls in a wrapping ActionBar; UUID and long ID break instead of overflowing.

Source Demo source Markdown