Skip to content
Pools: By Document or by Branch

E-Invoice Pools: Consolidating by Document or by Branch

Part 5 of Pools and E-Invoice Submission Routing: the two ways a consolidated e-invoice is built, what each does to the tax number on a Batch Pool row, and the check a company that consolidates by branch runs before and after each run. It follows The monthly consolidation cycle. For a group like GadgetSphere, with 22 branches, by-branch is the shape that keeps each branch’s month readable as its own block.

  1. By document or by branch — two ways to build one

By document or by branch — two ways to build one

Which method your company is on is set for you, and the difference is visible on the e-invoice itself, so it is worth knowing which you will be looking at:

  • By document — one line per receipt. Each line’s description is that receipt’s document number. Simple to read and simple to trace. This run groups by company, document type and the receipt’s month and nothing else: receipts from different branches can share a consolidated e-invoice, and the header carries no branch at all. To answer “which e-invoice reported this branch’s sale”, you follow the individual receipt’s link, not a branch column. There is no line cap on this path — what bounds one run is how many batch-pool rows it takes per pass.
  • By branch — one line per consecutive range of that branch’s document numbers, so 1001–1005 is a single line covering five receipts. It groups each branch’s month into its own block, and a gap in the numbers starts a new line, so a receipt pulled out of the middle of a run of numbers splits one range into two. This is the path with the 200-line ceiling, and it is a ceiling per e-invoice rather than a cut-off: the run works through the month in blocks of 200, so a branch with more than 200 ranges in a month gets more than one consolidated e-invoice, not a truncated one. Ranges are what keep the count down.

Both runs take self-billed purchase documents as well as sales; the by-document run has done so only since a backend change merged on 10 November 2026.

On the by-branch path, a Batch Pool row is grouped under one of LHDN’s general tax numbers, and which ones count depends on whether the document is a sale or a purchase:

  • a sales row qualifies on its buyer’s tax number, and only on General Public, foreign buyer or government;
  • a purchase row qualifies on its supplier’s tax number, and only on General Public, foreign supplier or government.

Since 14 October 2026 the run first rewrites every other unprocessed row in its selection — the month, or the rows picked for it — including rows it then leaves unprocessed. A row carrying a real customer tax number, none at all, or the general number belonging to the other side — sales or purchases — is given the General Public number EI00000000010, overwriting what was on the row, and if the run then consolidates it, it goes out as General Public. Nothing warns you that a row’s tax number was replaced.

The by-document run has no tax-number test at all. It takes the month’s unprocessed rows whatever tax number is on them, and files the other party — the buyer on a sale, the supplier on a self-billed purchase — as General Public. So on the by-document run every Batch Pool row is reported as General Public, and on the by-branch run every row is unless it already carries the foreign or government number — and if you do not know which run your company is on, that is the question to ask support first.

What to do about it, if your company consolidates by branch. Two things.

Look at the Batch Pool before your run, and again the day after it. Before: a row whose buyer needs an e-invoice of their own — a real tax number, a named business customer — has to be resubmitted individually or moved out of the Batch Pool first, because the run will report it as General Public. Unless support has switched it off, the run also first sweeps that month’s Invalid or refused individual submissions under RM 10,000 into the Batch Pool (the monthly cycle), so fix any of those that must stay individual before it fires.

After: filter on unprocessed rows for the month that was just consolidated. A leftover row was not left for its tax number. A row of 10,000 or more in the document’s own currency, either side of zero, is left on purpose — the by-branch run never consolidates one — so open it, use Submit as Individual and check that it was accepted; do not press Consolidate on it, because that button applies no 10,000 test.

For any other leftover, check that the run actually finished and that the row has a branch on it, then select those rows and press Consolidate yourself. They go out by document — one line per receipt, no branch, and General Public in place of any foreign or government number — whichever of the two buttons you press; to keep the branch shape, ask support to run by branch (below).

And for anonymous counter sales, either submission type reaches the consolidated e-invoice. Marking a till receipt Consolidated stamps the General Public number on the row when it enters the Batch Pool; a blank one that lands there is given it by the run. Use Consolidated only where it is genuinely the right answer — a local walk-in, under 10,000 in the document’s own currency, who has not asked for an e-invoice of their own. An explicit Consolidated skips the mandatory-field check, so a shopper who does hand over complete details is consolidated instead of being given an individual e-invoice; and it stamps General Public over a named, foreign or government buyer’s own identity. For anything but the anonymous case, leave the type blank and rely on the before-the-run check above.

If you consolidate purchases this way, the supplier block carries the group’s own tax number. On the by-branch path a purchase group is selected on the supplier’s tax number, and since 14 October 2026 the consolidated e-invoice is built from that same supplier tax number, so a foreign-supplier or government group goes out with its own general number. Before that date the supplier block read the buyer’s tax number; a consolidated purchase e-invoice built earlier is worth a look in the queue before it is submitted. Sales consolidation is unaffected.

By-branch is the shape that keeps a multi-branch month readable as its own block. It runs from your tenant’s consolidation schedule — one clock that covers every company on the tenant — or when support starts it: the Consolidate By Branch button on the Batch Pool does exactly what Consolidate does and builds by document (a known issue, reported to engineering).

The by-document clock can be switched on beside it, and both read the same Batch Pool without waiting for each other, so a row goes out in the shape of whichever run takes it: ask support which clocks are on, and to keep their firings apart.

Whether your company is on the by-branch clock is a scheduler question for support, and so is consolidating by branch the rows the schedule missed. It is not the Batch Line Logic field on the company record: that field records what the company was promised and is read by nothing that consolidates — its only reader anywhere is a listing filter on the company query (Organisation applet). Ask your BigLedger contact if you are not sure.

Consolidation will not rescue a passport buyer with no tax number. An e-invoice of their own needs a tax number on the document. BigLedger substitutes a General TIN only for a Malaysian identity card (NRIC), so a passport holder with a blank tax number, on a document marked Individual or left blank, fails BigLedger’s check and is not submitted: marked Individual, or at 10,000 or more in the document’s own currency, the document parks in the Individual Pool; left blank, it falls to the Batch Pool.

The Batch Pool is not the answer: whichever consolidation run your company is on reports that foreign customer’s sale as General Public — a by-branch run gives a row with no tax number the General Public number first, and a by-document run files every row that way. Ask for the tax number at the counter; if they have none, key LHDN’s foreign-buyer General TIN EI00000000020 on the document yourself, because BigLedger never fills it in (rule 4).

Review your Individual Pool before the month is over. A document you move to the Batch Pool keeps its own transaction date, and the automatic run looks only at last month’s dates unless support names an older month on its clock (a by-branch run for an older month dates its e-invoice to last month, so check the date before it is sent) — so move it in the month it belongs to, before that month’s run fires, and it is picked up. Leave it two months and the automatic run will never see it, and you will have to consolidate those rows yourself.

What success looks like for this part

If your company consolidates by document: each consolidated e-invoice has one line per receipt, described by that receipt’s document number, and no row for the month just consolidated is still unprocessed. If your company consolidates by branch: before the run, every Batch Pool row whose buyer needs an e-invoice of their own has been resubmitted individually or moved out; and the day after it, nothing for the month just consolidated is still unprocessed — or what is left has been checked for a branch and consolidated by hand, and anything of 10,000 or more submitted individually. When you are done, run the whole page’s success check.

Common mistakes in this part

  • Expecting consolidation to absorb a foreign buyer you have no details for. Key the identity type as Passport and submit individually, with the buyer’s real tax number or, when they have none, the foreign-buyer General TIN EI00000000020 keyed by hand — no General TIN is substituted for a passport, and a pool row with no tax number is consolidated under General Public by either run.
  • Assuming every foreign buyer in the Batch Pool is filed as General Public. A row that still carries the foreign-buyer General TIN EI00000000020 — not one marked Consolidated, which is stamped General Public on the way in — is a different case: a by-branch run groups those into a consolidated e-invoice of their own. Whether LHDN accepts a foreign buyer inside a consolidated e-invoice is a question for your tax adviser — BigLedger builds it, and that is not the same as it being the right thing to file.

Related documentation

Last updated on