The printed invoices in Bolivia must have a “Verification Code”. This code looks something like this: “F4-96-E3-44-C9”.
The code is generated with some well known algorithms for encryption and verification using some of the data in the ticket itself. Of course, we have the source code to generate this code (C# or Java)
I presume that it would also be a good idea to store this code value along with all the ticket information.
So, my question is: How can we create a custom field for a Ticket and ask SambaPOS to call a function to calculate its value for a given ticket and then print it?