We have implemented one local solutions for Magento invoices, where there is an unique code on every Magento invoice (this is according to our local law). We see that now every default Magento invoice has that unique code. After the installation of extension, we have embeded that code in Abstract.php to be dispalyed in all invoices that are generated.
We will now like to seperate Magento invoices and leave classic Magento invoices for all payment methods besides credit card payment. As we are Magento starters, we dont have deep understanding of Magento invoices, so we need some informations:
Does someone have a good links / resources on magento invoices part to learn from?
What is the general logic behind Magento invoices? Can someone briedly explain how they work, and what is used from Magento to generate one invoice?
We need to implement somehow if condition (if paymentmethod credit card, then use special invoices with code from extension, if not then use regular magento invoices). On the Magento invoice files, where are the points the payment methods are defined. What will we need to change and do to split these invoices?