I really can't get this to work, here's what I've tried so far:
* Custom Plugin that adds the detail when the parent invoice is generated - it doesn't look like InvoicePluginApi.getAdditionalInvoiceItems() is called for parent account invoices only child account invoices
* Custom Plugin that adds a $0 external charge with the detail when each child invoice is created - this only adds to the child invoices, not the parent account invoice.
* Custom Plugin that uses invoiceUserApi.insertExternalCharges() to add an external charge per child invoice when the child invoices is processed - doesn't work because it effectively creates a new draft invoice for the parent multiple times with only the single child invoice data rather than adding all to one invoice.
I'm now thinking the best option is to remove the custom plugin altogether and move this functionality into a separate process outside of the Kill Bill ecosystem that uses the APIs to enrich the invoice html with more data.
Am I missing anything?