If you want to record the material cost of goods sold during invoicing, you must select the correct expense account for each product group and customer group.