---
title: 'Auto Invoice'
url: 'https://info.srv.kowal.co/docs/magento/modules/auto-invoice'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/auto-invoice.md'
lang: en
date: '2026-11-30'
description: 'Create invoices when an order matches a payment or shipping method you select. Enable invoice emails and check which orders qualify with two test purchases.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - sales
    - invoices
---

# Auto Invoice

**Composer** `kowal/magento-2-auto-invoice` · **Version** 1.0.4

## Product page

[Auto Invoice — kowal.co](https://kowal.co/kowal-auto-invoice)

## Description

Creates a Magento invoice after an order is placed with a selected payment or shipping method.

## For whom

For order-management teams that invoice eligible Magento orders according to the payment or shipping method chosen at checkout.

## Features

- Choose the payment and shipping methods that trigger invoicing.
- Register an invoice for an eligible order.
- Optionally send the standard invoice email and log the matching decision.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/magento-2-auto-invoice
bin/magento module:enable Kowal_AutoInvoice
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

Under **Stores → Configuration → Sales → Sales → Auto Invoice**, select the store scope and turn on **Enable Automatic Invoicing**. Select entries under **Payment Methods** or **Shipping Methods**. A match in either list qualifies the order. Automatic invoicing is off by default. Enable **Notify Customer** to send the standard invoice email.

After checkout, the extension checks whether Magento can invoice the order. It creates the invoice with online payment capture turned off.

## Requirements / notes

Creating an invoice does not collect a payment through the gateway. Check the payment transaction separately when reconciling the order.

## FAQ

**Must the order match both a payment method and a shipping method?**

Either match qualifies. To invoice only on the basis of shipping, configure the shipping methods and leave the payment selection empty.

## Verify the installation

In a test store, select one shipping method, leave the payment list empty and place two orders using different shipping methods. Check the **Invoices** tab on each order. The selected shipping method should produce an invoice. Enable **Debug Log** to see matching results and reasons for skipped orders in `var/log/kowal_auto_invoice.log`.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Canonical Custom Page](https://info.srv.kowal.co/docs/magento/modules/canonical-custom-page.md)
- Next: [Discount Code by Link](https://info.srv.kowal.co/docs/magento/modules/discount-code-by-link.md)
