Delayed payment (trade credit) and prepayment are widely observed forms of interfirm credit. We propose a simple theory to account for the prevalence of such credit. A downstream firm trades off inventory holding costs against lost sales. Lost final sales impose a negative externality on the upstream firm. The solution requires a subsidy limited by the value of inputs. Allowing the downstream firm to pay with a delay, an arrangement known as “trade credit,” is precisely such a solution. Further, solving a reverse externality accounts for the use of prepayment for inputs, even in the absence of any risk of default by the downstreamfirm. We clarify howinput prices vary with such policies as well as when such instruments are more efficient th...