magento create invoice automatically