Add external id for invoice, implement listing customer and invoice by external id