The Days to pay metric on the LivePlan Scoreboard shows how long it takes you, on average, to pay your suppliers for purchases on credit/invoice.
To calculate Days to pay, LivePlan takes your average accounts payable balance (that is, the amount that you owe to your suppliers for purchases on credit) and divides it by your direct costs in the selected period. The result is multiplied by the length of the selected period to translate it into days.
This standard calculation for Days to pay (also called accounts payable days) uses only direct costs (COGS) and no other expenses to figure out the days. Logically, that seems incorrect, because you can obviously make other kinds of purchases on credit beyond just raw materials. As a result, the number of payable days may be lower than expected. Nonetheless, this is the accepted standard way to calculate accounts payable days.
Even though the Days to pay metric has these limitations, it can still be a useful indicator of how well you're managing to hold on to your cash while maintaining good relationships with your suppliers and creditors.