ho to caculate gross income for sales when we have sales datas and collection data

hơ to caculate gross income for sales when we have sales datas and collection data