provision to setoff advance receipts for sales and advance payment for purchases