Account Tickets Print Automation

Hi everyone!

Ive been looking to create a way of printing all selected or date filtered tickets that were settled to a Customer Account. Yellow button is a document transaction just to show what I am looking for. Are ticket IDs stored in the Account Details section? If so, is it possible to place an automation command button in there like that yellow button?

Ive tried using Loop values and Load looped values with print bill automation. It works for other things I made but it doesnt work in the account screen. I am guessing account screen doesnt contain ticket ID’s?

This is not SambaPOS print but its something similar I am after. Sorry for the low quality photo, my phone isnt up to date.

Any hints would be helpful.

Thanks in advance!