If you’ve ever received a receipt or filled out an invoice, you’ve seen line items. Using them in software can be complicated.