> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dishink.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoice Generation

> Automatic Smart Invoice generation for sales, refunds, batches, and proformas.

Every completed sale generates a Smart Invoice automatically. Refunds generate corrective invoices. Batches consolidate multiple sales for a reporting period.

## Overview

Invoice types:

* **Sales invoice** — issued on every completed sale
* **Credit note** — issued on every refund
* **Batch invoice** — consolidates a period's sales for reporting
* **Proforma invoice** — issued before payment for corporate customers

## Generate invoices

<Steps />

<Frame caption="Invoice generation">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/dishink/images/smart-invoice/invoice-generation.png" alt="Invoice" />
</Frame>

<Note>
  Every invoice includes the verified ZRA QR code, invoice reference, and audit hash.
</Note>

## Tips & best practices

<Tip>
  Generate batch invoices at the same cadence as your VAT return submissions — monthly for most SMEs.
</Tip>

## Common mistakes

<Warning>
  Do not attempt to "delete" an invoice. Corrective credit notes are the only ZRA-approved way to reverse a Smart Invoice.
</Warning>

## Related pages

* [Overview](/smart-invoice/overview)
* [Fiscal Compliance](/smart-invoice/fiscal-compliance)
* [Batch Cash-Out](/pos/batch-cash-out)
* [Refunds](/pos/refunds)
