Hi Niko,
Have you considred just printing the Vendor Transaction report for the dates you need and turning on the option to include the gl details?
Is the problem you are having in creating the date math necessary to isolate last month's transactions? If so, then I'll post the requisite formula.