aune-io / magento2-autoinvoice
aune-io/magento2-autoinvoice
Automatically invoice all complete orders in your Magento 2 store
Magento 2 Auto Invoice
Magento 2 procedure to automatically invoice orders in a given status.
System requirements
This extension supports the following versions of Magento:
- Community Edition (CE) versions 2.2.x and 2.3.x and 2.4.x
- Enterprise Edition (EE) versions 2.2.x and 2.3.x and 2.4.x
Installation
- Require the module via Composer
$ composer require aune-io/magento2-autoinvoice
- Enable the module
$ bin/magento module:enable Aune_AutoInvoice
$ bin/magento setup:upgrade
Configuration
The configuration of this module is under Stores > Configuration > Sales > Auto Invoice.
There, you will be able to activate processing via cron job, and choose the behaviour of the procedure.
The configuration matrix will allow you to set on for which combinations of status and payment method the extension should invoice the orders, as well as the destination status and capture mode.
A configuration example follows.
Usage
The module supports two different usage methods.
Command line
The following command will execute the procedure:
$ bin/magento aune:autoinvoice:process
A dry run mode is also available, just to see what orders would be affected by the procedure:
$ bin/magento aune:autoinvoice:process --dry-run=1
Cron
By activating the cron, the procedure will be automatically executed every hour.
- Login to the admin
- Go to Stores > Configuration > Sales > Auto Invoice
- Set Schedule procedure to yes
- Specify a custom cron expression, if needed
- Clean the cache
Authors, contributors and maintainers
Author:
License
Licensed under the Open Software License version 3.0
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Released |
|---|---|---|---|
| 2.4.1 | stable | Fail | 2026-05-19 17:12:42 |
| 2.4.0 | stable | Not tested | 2025-12-01 08:52:21 |
| 2.3.1 | stable | Not tested | 2024-04-27 10:04:14 |
| 2.3.0 | stable | Not tested | 2023-10-10 06:30:57 |
| 2.2.0 | stable | Not tested | 2022-09-12 18:34:24 |
| 2.1.5 | stable | Not tested | 2022-05-02 16:52:00 |
| 2.1.4 | stable | Not tested | 2021-10-14 18:12:17 |
| 2.1.3 | stable | Not tested | 2021-08-18 20:54:57 |
| 2.1.2 | stable | Not tested | 2021-02-23 08:55:39 |
| 2.1.1 | stable | Not tested | 2020-10-28 16:26:19 |
| 2.1.0 | stable | Not tested | 2020-08-15 13:43:50 |
| 2.0.1 | stable | Not tested | 2020-04-20 20:14:32 |
| 2.0.0 | stable | Not tested | 2020-04-18 11:04:51 |
| 1.2.2 | stable | Not tested | 2020-01-05 19:23:42 |
| 1.2.1 | stable | Not tested | 2019-08-31 14:38:14 |
| 1.2.0 | stable | Not tested | 2018-12-17 22:02:50 |
| 1.1.1 | stable | Not tested | 2018-10-17 18:27:55 |
| 1.1.0 | stable | Not tested | 2018-10-03 20:07:30 |
| 1.0.0 | stable | Not tested | 2018-09-16 15:43:08 |
Requires 3
| Package | Constraint |
|---|---|
| magento/framework | 101.0.*|102.0.*|103.0.* |
| magento/module-sales | 101.0.*|102.0.*|103.0.* |
| php | ~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0 |
Requires-dev 4
| Package | Constraint |
|---|---|
| php-coveralls/php-coveralls | ~2.1.0 |
| phpmd/phpmd | @stable |
| phpunit/phpunit | ~6.5.13 |
| squizlabs/php_codesniffer | 3.3.1 |
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Pass | 0 | |
| PHPStan | Fail | 43 | 43 errors (level 4, ruleset: phpstan + bitexpert/phpstan-magento) |
| Cpd | Fail | 2 | 2 duplicated chunks spanning 107 total lines (min-lines=5, min-tokens=70) |
| Security | Skipped | 0 | no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1 |
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.