The basics
Tax bills have fixed dates and they do not move to suit your cash flow. VAT falls due shortly after each quarter ends, corporation tax follows the year end, and PAYE and National Insurance are due every month. A business that has just paid for stock or a new hire can find a large VAT bill arriving the week before payroll. Paying late means interest and possibly penalties from HMRC, so some companies borrow over a short term, spreading the cost across the following months rather than draining the account on the due date.
Lenders concentrate on bank statements and on whether the business is sound apart from the bill. For example, a recruitment firm with a £28,000 VAT bill that falls the week after payroll might borrow it over six months and repay from fee income. Some lenders will pay HMRC directly on your behalf. Whatever the arrangement, the loan only helps when the shortfall is a matter of timing, not a sign that the company cannot afford its tax.

