aune-io / magento2-autoinvoice

aune-io/magento2-autoinvoice

Automatically invoice all complete orders in your Magento 2 store

magento2-module Compatibility: 2.4.7-2.4.8 Code Quality: Fail Tests: Fail Security: Pass OSL-3.0

Are you the maintainer of aune-io?

Packagento pulls aune-io's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Magento 2 Auto Invoice

Magento 2 procedure to automatically invoice orders in a given status.

Build Status
Coverage Status
Latest Stable Version
Latest Unstable Version
Total Downloads
License

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

  1. Require the module via Composer
$ composer require aune-io/magento2-autoinvoice
  1. 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.

settings.png

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.

  1. Login to the admin
  2. Go to Stores > Configuration > Sales > Auto Invoice
  3. Set Schedule procedure to yes
  4. Specify a custom cron expression, if needed
  5. 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.

Versions
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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass not tested

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.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 5 5 warnings (ruleset: Magento2)
PHPMD Pass 0
Cpd Warning 2 2 duplicated chunks spanning 107 total lines (min-lines=5, min-tokens=70)
Composer validate Pass 0

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.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 36 36
2.4.8 36 36
2.4.9 31 N/A

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

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Error Error
2.4.8 Error not tested
2.4.9 Error not tested

Integration tests

Integration tests results by Magento and PHP version
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.

Security results
Tool Status Findings Summary
Composer audit N/A 0 no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1
Malware scan Pass 0
License
OSL-3.0
Make it pay

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.