Skip to content

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

License

Notifications You must be signed in to change notification settings

guido7171/magento2-autoinvoice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.1.x
  • Enterprise Edition (EE) versions 2.1.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
  1. Login to the admin
  2. Go to Stores > Configuration > Sales > Auto Invoice
  3. On Status, select the list of statuses that should be automatically invoiced
  4. Clean the cache

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. Clean the cache

Authors, contributors and maintainers

Author:

License

Licensed under the Open Software License version 3.0

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%