Switch a company on for MyInvois: identity, environment, status
Steps 2 to 4 of the MyInvois setup guide: complete each company’s identity, point it at the real LHDN, and switch e-invoicing on, in that order. It follows Step 1, and Step 1 has to be finished first: the save that switches the company on is what records BigLedger’s side of the authorisation, and if the authorisation is not yet in place nothing is recorded and you find out at the first submission.
- Step 2: complete your company’s identity.
- Step 3: choose the LHDN environment, before you turn anything on.
- Step 4: turn e-invoicing on, before you finalise anything.
Step 2: Complete your company’s identity
Outcome: the supplier block of every future sales e-invoice is correct, because it comes from here.
Organisation Applet → your company → E-Invoice tab
Every sales e-invoice you send carries your own company as the supplier, built from this record. Fill in all of it:
- Tax number, identity document type and value, business registration number
- Service-tax number, if you are registered
- Industry classification code and a business activity description
- Address — line 1, city and state are all mandatory
- Contact number, 8 to 20 characters once spaces and symbols are stripped (a leading + is kept and anything past 20 is cut off; a short number, or “N/A”, fails)
- E-mail address
The contact-number rule and the three address parts are BigLedger’s own mandatory-field check, so they apply the same way to every company.
Leave the tax number, identity, address or contact number incomplete and no document goes to LHDN on its own, from any branch or for any customer: BigLedger’s supplier check runs on each document before it is sent individually, and a document that fails it waits in a pool with a reason beginning Supplier (for example Supplier TIN) instead of being submitted. Nothing fails at LHDN, so nothing looks wrong until someone opens the pools.
That check is for documents sent on their own. A document marked Consolidated, under 10,000, waits in the Batch Pool instead, and the month’s consolidated e-invoice is built from this record as it stands, so a missing tax number, identity, address or contact number reaches LHDN in that e-invoice. When later no single customer looks wrong and documents are piling up, or a consolidated e-invoice comes back Invalid, read this record again.
Repeat for each company. GadgetSphere does this three times, once per legal entity.
Step 3: Choose the LHDN environment — before you turn anything on
Outcome: your documents go to the real LHDN, not to its sandbox.
Organisation Applet → your company → E-Invoice tab → LHDN Environment
Set it to PRODUCTION.
A blank LHDN Environment means the sandbox. BigLedger reads this field once per submission and falls back to SANDBOX when it is empty — so a company enabled before choosing the environment submits every document to LHDN’s test system, provided a test-side configuration exists for it. The sandbox returns the same statuses and the same kind of LHDN unique identifier and QR code, so the documents read Valid and have been filed with nobody.
The status does not tell you which environment a document went to. The tell is the Validation URL (the link the QR code opens), on the e-invoice record in My E-Invoice Admin and on a sales invoice’s own E-Invoice tab: a sandbox document’s link points at preprod.myinvois.hasil.gov.my, a real one at myinvois.hasil.gov.my.
Set the environment first, then the status in Step 4. Getting the order wrong leaves real sales filed only with the sandbox, and Resubmit as New E-invoice refuses any record that already reads Valid — so ask your BigLedger contact how to move such documents to production rather than counting on a resubmit.
This field is also what decides which of the two intermediary configurations from Step 1 is used. If it is pointing at an environment with no configuration for your company, every submission fails with the message that begins No intermediary config found for company, naming the environment — which is a different message from a lapsed authorisation, and means something different: nothing was recorded on that side at all.
The sandbox is also the one place you can rehearse a rejection
The blank-environment warning above is a warning, and it stays a warning. But turn it round and it is also a safe-practice facility: a company pointed at the sandbox submits to LHDN’s pre-production system, gets back the same statuses, a unique identifier and a QR code of the same shape, and files nothing with LHDN’s live system. So a rejection you cause there reads exactly like a real one, and you can learn to read it on a Tuesday afternoon instead of on the 7th.
It is not sealed off from your customers, though. A test sale that comes back Valid goes down the same path as a real one, and nothing checks the environment first. When the company’s send-e-mail switch is on, its printable, with a QR code that opens LHDN’s test system, is e-mailed to the buyer: to the buyer e-mail on the e-invoice record, or to the customer branch’s e-mail where the company sends by branch. Any e-invoice webhook you have subscribed to fires as well. So rehearse with test customers whose e-mail addresses, branch addresses included, are ones you own, or with the send-e-mail switch off.
Worth rehearsing, because each produces a different-looking failure and people confuse them: a customer with no tax number, a customer with a malformed one, a missing state code on the address, a contact number under 8 characters, and a document of 10,000 or more in the document’s own currency with an incomplete buyer block.
What it costs you, stated plainly. The sandbox is free at LHDN’s end and not free at yours: the document you finalise is a real BigLedger document. It posts a journal, moves stock and takes a number in your sequence. There is no dry run — finalising is what starts the chain, and nothing in the product undoes that cleanly.
So rehearse on a company you have created for the purpose and have not yet put a real ledger into — before go-live, while an unwanted journal costs nothing. Do not point a live company back at the sandbox to try something out. Its submissions stop reaching LHDN, everything still comes back Valid (or Invalid, as LHDN’s test system judges them), real customers can be e-mailed printables whose QR code opens the test system, and only the Validation URL on each record, and the address that QR code opens, show where it went.
Two things have to be true for this to work at all: the company’s LHDN Environment must read the
sandbox value rather than being blank-by-accident, and the test-side intermediary configuration
must exist. If it does not, every submission fails with No intermediary config found for company with guid : … in SANDBOXenvironment
(the missing space is BigLedger’s) — and that is a request to your BigLedger contact, naming the
company and the environment (what to send).
When you are done, look in My E-Invoice Admin’s Posting Queue, pools and Internal Submission lists for anything of that company still waiting, and deal with it first: BigLedger reads the environment each time it sends or checks a document, so whatever is sent or checked after you switch goes to the live system. Then set the company back to PRODUCTION and re-check it. A blank field is the sandbox, not an error.
Step 4: Turn e-invoicing on — before you finalise anything
Outcome: the company is enabled, so finalised documents actually enter the pipeline.
Organisation Applet → your company → E-Invoice tab → e-invoice status
Set the company’s e-invoice status to enabled and save. With the environment and tax number already filled in, this same save records BigLedger’s side of the Step 1 authorisation.
A document finalised while the company is not enabled is dropped silently. No queue row, no pool row, no error at the time. It simply never becomes an e-invoice, and those documents then have to be pushed in by hand, through your BigLedger contact.
Three places show them. Any day, My E-Invoice Admin → Monthly Report → Discrepancies Report lists under Exists in ERP, Missing in Einvoice the finalised documents in the dates you choose, in the company’s own currency, that have no e-invoice record (applet page), and the Coverage Report beside it lists them as NOT_SUBMITTED (reading it). Run either the same day you switch on, for every date up to and including that day.
And once a month, the e-invoice reconciliation e-mail: by default on the 8th, BigLedger e-mails each company whose e-invoice status is enabled a workbook for the previous calendar month, to the company’s e-mail address in the Organisation applet unless your BigLedger contact has set another recipient; a company with neither, or with nothing to report for the month, gets no workbook.
Its Exceptions sheet lists, as NOT_SUBMITTED, every finalised document dated that month, not marked Skip E-Invoice, that has no e-invoice record and is not in the individual pool. It covers one month by document date, so a sale dated in an earlier month is not on it, and a company that was never enabled receives nothing. The job was added in November 2026, so its first run is due on 8 December.
Whoever owns e-invoicing reads every NOT_SUBMITTED row. A purchase document you did not self-bill was never due to go, and is listed anyway. A sale dated before the switch-on and waiting in no pool or queue is one to push in, and any other sale is one with no e-invoice behind it that somebody has to explain.
This is the single most consequential ordering rule in e-invoicing. Enable the company first, then start finalising.
The check happens once, in the background step that runs shortly after each document reaches FINAL, and it is not repeated later: switching the company on afterwards does not pick up what was finalised before.
Next: Steps 5 to 8, tidy the data and send the first document.
What success looks like for this part
On each company’s E-Invoice tab the identity is complete, with line 1, city and state on the address and a contact number of 8 to 20 characters once stripped; LHDN Environment reads PRODUCTION; and the e-invoice status is enabled. These are readiness checks: nothing on the tab shows whether a document was finalised before you enabled it, or whether the save recorded BigLedger’s side of the authorisation, and only the live document in Step 8 proves that. When the whole setup is done, run its success check.
Common mistakes in this part
| Mistake | What you see | Fix |
|---|---|---|
| Enabling the company before choosing the LHDN environment | Documents come back Valid and LHDN’s live system has no record of them, because they went to the sandbox; their Validation URL points at preprod. | Set LHDN Environment to PRODUCTION. Resubmit as New E-invoice refuses a record that reads Valid, so give your BigLedger contact the numbers of the documents that went to the sandbox |
| Finalising documents before enabling e-invoicing for the company | Those documents reach no pool and no queue, and no error appears; they show up only as missing, in the reports and the monthly e-mail of Step 4 | Enable first. For documents already lost this way, raise a support request with the document numbers |
The mistakes that span the whole setup are on the front page.
Related documentation
- MyInvois Setup Guide: the whole setup, with its success check.
- Organisation Applet: the company’s E-Invoice tab.
- My E-Invoice Admin Applet: every prerequisite, with the exact field and screen names.