# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cleartax.in/product-help-and-support/for-large-businesses/cleartax-e-invoicing-malaysia/b2b-sales-documents/generate-consolidated-e-invoice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
