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 | Compatibility | Released |
|---|---|---|---|---|
| 2.4.1 | stable | Fail | Magento 2.4.7-2.4.8 Details | 2026-05-19 17:12:42 |
| 2.4.0 | stable | Not tested | Not yet tested Details | 2025-12-01 08:52:21 |
| 2.3.1 | stable | Not tested | Not yet tested Details | 2024-04-27 10:04:14 |
| 2.3.0 | stable | Not tested | Not yet tested Details | 2023-10-10 06:30:57 |
| 2.2.0 | stable | Not tested | Not yet tested Details | 2022-09-12 18:34:24 |
| 2.1.5 | stable | Not tested | Not yet tested Details | 2022-05-02 16:52:00 |
| 2.1.4 | stable | Not tested | Not yet tested Details | 2021-10-14 18:12:17 |
| 2.1.3 | stable | Not tested | Not yet tested Details | 2021-08-18 20:54:57 |
| 2.1.2 | stable | Not tested | Not yet tested Details | 2021-02-23 08:55:39 |
| 2.1.1 | stable | Not tested | Not yet tested Details | 2020-10-28 16:26:19 |
| 2.1.0 | stable | Not tested | Not yet tested Details | 2020-08-15 13:43:50 |
| 2.0.1 | stable | Not tested | Not yet tested Details | 2020-04-20 20:14:32 |
| 2.0.0 | stable | Not tested | Not yet tested Details | 2020-04-18 11:04:51 |
| 1.2.2 | stable | Not tested | Not yet tested Details | 2020-01-05 19:23:42 |
| 1.2.1 | stable | Not tested | Not yet tested Details | 2019-08-31 14:38:14 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2018-12-17 22:02:50 |
| 1.1.1 | stable | Not tested | Not yet tested Details | 2018-10-17 18:27:55 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2018-10-03 20:07:30 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 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 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
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.