Magento 2 Multiple Invoices with Custom Number

Installation

Never do anything directly on a live store. First setup and test on a development domain (i.e. “dev.url.com”).

Make sure that you set your Magento application to the developer mode.

Temporarily disable Magento cache

To avoid any possible issues with the installation we recommend disabling Magento cache before proceeding with the installation and re-enabling it once the install is complete.

  1. Log in to your Magento admin
  2. Go to System > Cache Management
  3. Select “Select All” in the “Mass Actions” drop down
  4. Select “Disable” in the “Actions” drop down and Click Submit
  5. Once the page reloads log out of the admin

Upload Extensions

Unzip the extension zip file and upload all files and folders of Backend, Number and Invoice extension to the root folder of your Magento installation.

Install Extension

  1. Enable Acx_Backend, Acx_Number and Acx_Invoice module.
  2. Upgrade and deploy

For how to enable magento 2 module follow this link.

That’s it! You are good to go with Acx Multiple Invoices with Custom Order Number Extension!

Admin Configuration – Multiple Invoices with Custom Order Number for Magento 2

Custom Order Number Configuration

Go to “AGILECODEX->Custom Order Number->Settings

custom order number settings custom order number configuration
  1. General: Enable the extension and set timezone difference if needed.
  2. Order: Follow below step for order settings.
    • Specify the order’s number format which will replace the numbers generated by default Magento functionality.
    • Set the starting numbers for your orders. Let’s say you have 1545 orders in your store and open a new Magento store. In this case, you can start counter from 1545.
    • Counter Padding sets the amount of digits in order numbers to have 8. Now your order number will have the following view – 00003142.
    • Counter Step option regulates number intervals between consecutive orders.
  3. Invoice: Follow below step for invoice settings. invoice configuration
    • You can set the same number for invoices and orders to meet your local records keeping standards
    • Specify letter prefixes according to the type of document for which you modify the numbering model.
  4. Shipping and Credit Memo: Set shipping and memo number from here. shipping and memo configuration
    • Shipping and Credit Memo feature work the same way and have same options as order number settings.

Multiple Invoices Configuration

Go to “AGILECODEX-> Invoice Plus ->Settings

multiple invoices settings
  1. General: Enable the extension.
  2. Invoice 2, Invoice 3 & Invoice 4: Follow below step for invoice 2, invoice 3 and invoice 4 settings. multiple invoices configuration
    • You can change invoice button level for invoice 2, invoice 3 and invoice 4, it will change button level in order details page.
    • If you select, same as order number: No, then show few more settings.
    • Specify the invoice number format which will replace the invoice number generated by default Magento functionality. If you type INV2-{yy}-{mm}-{dd}-{counter} in the field, you will have invoice number like: INV2-13-08-15-00000080.
    • Set the start number from for your invoice. It will start invoice number count from your given value. If you put 200 then it will look - 00000200
    • Counter Padding sets the amount of digits in invoice numbers to have 8. Now your invoice number will have the following view – 00000200.
  3. Invoice 2 Email Template and Header: : Follow below step for invoice 2 email template and header settings. invoice configuration
    • Enable invoice 2 email template.
    • Select invoice 2 email sender.
    • Select invoice 2 email template.
    • Select invoice 2 Pdf Template. You can create pdf template here
    • Select Invoice 2 email template for guest.
    • If you want to send invoice 2 multiple email copy then use comma "," for separated.
    • You can select type email copy "Bcc" or "Separate Email".
    Email Header 2:
    • Upload logo for your invoice 2 email template.
    • Select invoice 2 email header template.
  4. Credit Memo 2 and Email Template: credit memo configuration Credit Memo 2:
    • You can change credit memo button level for credit memo 2, credit memo 3 and credit memo 4, it will change button level in order details page.
    • If you select, same as order number: No, then show few more settings.
    • Specify the credit memo number format which will replace the credit memo number generated by default Magento functionality. If you type CREDIT2-{yy}-{mm}-{dd}-{counter} in the field, you will have credit memo number like: CREDIT2-13-08-15-00000080.
    • Set the start number from, for your credit memo. It will start credit memo number count from your given value. If you put 200 then it will look - 00000200
    • Counter Padding sets the amount of digits in credit memo numbers to have 8. Now your credit memo number will have the following view – 00000200.
    Credit Memo 2 Templates:
    • Enable credit memo 2 email template.
    • Select credit memo 2 email sender.
    • Select credit memo 2 email template.
    • Select credit memo 2 email template for guest.
    • If you want to send credit memo 2 multiple email copy then use comma "," for separated.
    • You can select type email copy "Bcc" or "Separate Email".
  5. Credit Memo 3 and Credit Memo 4 Email Template: It is same configuration like as "Credit memo 2 Email Template".
  6. Invoice 3 and Invoice 4 Email Template and Header: It is same configuration like as "Invoice 2 Email Template and Header".

PDF Templates

Go to “AGILECODEX -> PDF Templates -> Manage PDF Templates

all orders invoice button invoices
  • Enable template: Yes
  • Template name: Name of template.
  • Template Description: Description of template.
  • Template for websites: Choose your store
  • Template body: Put the html code for template body part.
  • Template header: Put the html code for template header part.
  • Template footer: Put the html code for template footer part.
  • Template css: Add custom css here.
  • Template settings
    1. Template file name: Name for generate pdf file. The format of name “invoice {{var ea_invoice_id}} {{var ea_invoice_date}} {{var ea_invoice_status}}” will save pdf as invoice2020-02-14_08-58-12.pdf.
    2. Template paper orientation: Choose template orientation Portrait/Landscape.
    3. Custom format: Yes/No. Yes will enable to create custom size of print invoice size.

Create Invoice

Go to “SALES -> Orders -> View

all orders

For create new invoice go to order details page where you can see 4 button for invoice named "Invoice", "Invoice 2", "Invoice 3" and "Invoice 4". The button label "Invoice 2", "Invoice 3" and "Invoice 4" can changeable from configuration as discuss above.

invoice button

Now you can create an invoice from "Invoice" or "Invoice 2" or "Invoice 3" or "Invoice 4". If you choose "Invoice 2" button then it will create invoice with prefix number like: INV2-19-12-04-00000002 as per as saved configuration.

invoices

After create invoice, email will send to the customer with your selected email template.


Print Invoice

Go to “SALES -> Invoices -> View -> Print

all orders

Thank You

Thank you for reading this user manual! We'd be glad to help you if you have any question relating to this extension.