Compensation for used supplies could be made to the farmers at market prices. This method, even including the payment, would often cost much less than transporting supplies thousands of miles, while the compensation for the farmers would be much greater.
As for waging war abroad, the army's expenses might be even less.
Of course, this model sounds simple, but implementing it still requires a whole set of scientific operational modes.
For example, procurement officers need to have considerable professional knowledge, knowing where to find supplies and how to communicate with the farmers.
Ahead of the army's advance, people should be sent to notify the villages they would pass through to prepare supplies. This requires a very scientific calculation of the consumption of supplies.
How the collected supplies are to be quickly distributed to the units must also be considered.