The idea is have a Ticket number incremental with this format, the main difference between boleta and factura are the person who receives, factura is for bussiness and Boleta for people, can someone help me? when run payment process i need to print some of each alternatives with this format.
Think the last person who asked similar was sugested to create a custom numbering flow using a program setting to record curent/last/next (whichever you want to work with) and ticket tags.