Answer:
$40,000
Explanation:
The accounts receivables represents the amount of sales made to customers on account that are yet to be settled.
As such, the receipt of cash from such customers reduces the account receivable balance while the sale of goods/rendering of services to customers on account increases the account balance.
Hence in an equation format,
Opening balance + credit sales - cash received = closing balance
$30,000 + $20,000 - $10,000 = ending balance
Ending balance = $40,000