
Blog
AutoCount E-invoice rejected

AutoCount E-Invoice Rejected: Causes and How to Fix It
Quick answer: An AutoCount e-invoice is rejected when LHDN MyInvois marks it "Invalid" — usually from an invalid buyer TIN, a missing item classification code, an empty product description, or an expired Client Secret. Fix the flagged field in AutoCount, then resubmit. Approved invoices cannot be edited, only corrected and resubmitted.
When your AutoCount e-invoice is rejected, LHDN MyInvois has validated the submission and returned an "Invalid" status because one or more required fields failed its checks. The invoice is not lost — you correct the flagged data in AutoCount and resubmit. This guide covers the common rejection causes and the exact fix for each.
It is for Malaysian businesses using AutoCount Accounting 2.2 that have hit a rejection and need to clear it. First, find the error message: go to e-Invoice → E-Invoice Submission Status, filter by date and document type, and click the invalid invoice to read the specific error. The message tells you which fix below applies.
Why was my AutoCount e-invoice rejected?
Most rejections come from data that is missing, wrongly formatted, or mismatched against LHDN records — not from the connection itself. These are the common causes:
| Error / cause | What it means | Fix |
|---|---|---|
| Buyer TIN is invalid | The buyer's TIN failed LHDN validation | Use the Search TIN function to retrieve the correct TIN, then accept the replacement and resubmit |
| TIN ownership not validated | Your Client ID and Client Secret are not set in Company Profile | Go to Tools → Company Profile → e-Invoice tab, enter your MyInvois Client ID and Client Secret, click OK |
| TIN number incorrect / mismatch | Your company TIN differs from your MyInvois portal TIN | Correct it in Tax → Tax Entity Maintenance, then reselect the Tax Entity in Company Profile to refresh |
| Missing classification code | An item has no LHDN classification assigned | Add the classification code in the item's e-Invoice field |
| Description of product/service required | An invoice line has an empty description | Enter a description on every line before submitting |
| Client Secret expired | The ERP credential has passed its expiry | Refresh the token, or register the ERP again in MyInvois to generate a new secret |
| Intermediary permissions not granted | AutoCount lacks full rights in MyInvois | In the MyInvois portal, grant Submit, Cancel, Request Rejection, and View permissions to AutoCount |
| Issuance date too old | Document date is more than 3 days before submission | Set the Issue Date Time to the current date for backdated invoices |
Read the error message first — it names the failing field. Then apply the matching fix. Guessing without reading the message wastes time, because the same "Invalid" status covers many different causes.
How to fix and resubmit a rejected e-invoice
The recovery process is the same regardless of which field failed:
- Open the error. Go to e-Invoice → E-Invoice Submission Status, find the invalid invoice, and click it to read the validation error.
- Identify the failing field. The message points to the cause — buyer TIN, classification code, description, date, or credential.
- Correct the data in the relevant place: Tax Entity Maintenance for TIN issues, the item record for classification codes, the invoice line for descriptions, Company Profile for credentials.
- Resubmit. Submit the corrected invoice again for validation.
- Confirm "Valid". Check the status updates to Valid and the invoice returns its QR code and LHDN validation link.
Important: an invoice already approved and submitted cannot be edited in place. You correct the underlying data and resubmit; in some cases LHDN requires you to cancel and reissue rather than amend.
How to stop e-invoices being rejected
Most rejections are preventable with clean master data. Before you submit:
- Validate buyer TINs up front using the Search TIN function when you create the customer, not at submission.
- Assign classification codes to every item in your item maintenance, so no line is ever blank.
- Keep your company tax profile accurate — TIN, BRN, MSIC code, and SST number must match your MyInvois portal exactly.
- Watch your Client Secret expiry — note the date and refresh before it lapses.
- Match tax codes to tax types — LHDN rejects a tax-exempt type sent with a tax amount.
If rejections keep recurring across many invoices, the cause is usually a setup gap, not individual mistakes. If you have not configured AutoCount e-invoice yet, or want to redo it cleanly, see our guide on how to set up AutoCount e-invoice.
Frequently asked questions
What does "Invalid" mean on my AutoCount e-invoice?
It means LHDN MyInvois checked the invoice and rejected it because a required field failed validation. Click the invoice in E-Invoice Submission Status to see the specific error, then correct that field and resubmit.
How do I fix an invalid buyer TIN in AutoCount?
Use the Search TIN function to retrieve the correct TIN for the buyer's business registration number. When AutoCount prompts to replace the TIN, accept it, then resubmit the invoice.
Why does AutoCount say TIN ownership is not validated?
Your MyInvois Client ID and Client Secret are not entered in AutoCount. Go to Tools → Company Profile → e-Invoice tab, fill in both under the MyInvois Portal box, and click OK.
Can I edit a rejected e-invoice and resubmit it?
You correct the underlying data — TIN, classification code, description, or credential — and resubmit. An invoice cannot be edited in place after approval; depending on the case, LHDN may require you to cancel and reissue.
Why is my backdated invoice rejected?
LHDN only accepts e-invoices submitted within 3 days of the document date. For older invoices, set the Issue Date Time to the current date so the submission falls within the allowed window.
Rejections piling up and not sure why? Get support — we'll check your tax entity, classification codes, and MyInvois credentials, fix the root cause, and get your submissions validating cleanly.