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_EInvoiceStep 4: Run setup:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flushVerification
After installation, verify the module is enabled:
php bin/magento module:status | grep MageB2B_EInvoiceYou should see:
MageB2B_EInvoiceWhat 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:
- Verify repository credentials in
auth.json - Run
composer clear-cache - 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/mediaSetup Errors
If setup:upgrade fails:
- Check
var/log/system.logfor errors - Verify database connection
- Ensure all dependencies are met
