Companies typically use lines of credit to cover short-term cash flow shortages. For example, a company might use a line of credit to finance its inventory or to pay its employees in the short term while it waits for its customers to pay their invoices.