The $500 earned by Maxwell plumbing services is its revenue.
Revenue is term used in economics to describe the the income that a business has from its business activities. Business activities can be sale of goods or services. In this case Maxwell sales plumbing services. Completing a job for Smith company has brought income to the Maxwell of $500, so this is the revenue.