Can I generate Invoice from multiple Custom objects

Can I generate Invoice from multiple Custom objects

Yes, Invoice can be generated from two custom objects in salesforce. One holding the Invoice header items and the other holding Invoice line items.