Installation Guide

Requirements

  • Magento 2.4.x
  • PHP 8.1+
  • Composer 2.x

Installation via Composer

Step 1: Configure Composer access:

composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/

Step 2: Install the package:

composer require mageb2b/e-invoice:*

Step 3: Enable the module:

php bin/magento module:enable MageB2B_EInvoice

Step 4: Run setup:

php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush

Verification

After installation, verify the module is enabled:

php bin/magento module:status | grep MageB2B_EInvoice

You should see:

MageB2B_EInvoice

What Installation Enables

After setup, the extension is ready to:

  • generate E-Invoices for invoices
  • optionally generate E-Invoices for credit memos
  • store generation status and generated document references for download/API usage

Troubleshooting Installation

Module Not Found

If you get "Package not found" errors:

  1. Verify repository credentials in auth.json
  2. Run composer clear-cache
  3. Try composer update --no-cache

Permission Issues

If you use Permanent Storage, ensure Magento can write to pub/media/:

chmod -R 775 pub/media chown -R www-data:www-data pub/media

Setup Errors

If setup:upgrade fails:

  1. Check var/log/system.log for errors
  2. Verify database connection
  3. Ensure all dependencies are met

Next Steps

Found an issue with this documentation? Let us know