> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/product-help-and-support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/product-help-and-support/for-large-businesses/cleartax-e-invoicing-malaysia/b2b-sales-documents/generate-consolidated-e-invoice.md).

# Generate consolidated e-invoice

Consolidation of invoices is allowed by LHDN for reporting of B2B & B2C invoices where e-invoice is not requested by the consumer.

Steps -&#x20;

* In the "Sales Document" or "Purchase Document" screen, select the invoices that you want to consolidate and click on "Action" and select "Generate Consolidated e-invoice"

<figure><img src="/files/mVPokvsAXTifRxsGoIJQ" alt=""><figcaption></figcaption></figure>

* The selected invoice will be consolidated using the ClearTax algorithm and all invoice totals and tax totals will be aggregated and send to LHDN
* The invoice status will change to "Consolidated" and consolidated document number thus generated will be visible in the column "Consolidated Document Number". This document series is auto generated by ClearTax
* The invoice after consolidation will be visible in the "Consolidates Documents" tab
* In order to view the consolidated invoice, go to "Consolidates Documents" and find the consolidated document number
* The invoice series of the consolidated documents can be viewed in the line items section, column - "Description of Product or Service"

<figure><img src="/files/7viETMU0qn4yAsq8gcWd" alt=""><figcaption></figcaption></figure>

* The consolidated invoice document series is also available in the invoice print PDF of the consolidated e-invoice
