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 <token>
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:
- 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/media
Setup Errors
If setup:upgrade fails:
- Check
var/log/system.logfor errors - Verify database connection
- Ensure all dependencies are met