Where is the file with the line items

Hello, I am trying to export the invoices with your line items but the problem I have is only I export invoice data like address name and mass subtotals and totals. So far so good, the problem is that the line items do not export to me. Does anyone know what file the line items are in. Greetings.