Because the Android client is using GraphQL to communicate with SambaPOS, and also things like printing from it is handled separately from the main SambaPOS program, I am thinking that something is going wrong in the Android client which might actually be managing to print the ticket yet not saving properly.
Maybe if you look at your database on SSMS, look at what happens when you close ticket from Android, then when you Print Bill from Android. How does the ticket change? Are orders being added to the ticket?
I feel the ticket is never actually being updated after the initial create ticket event. You can do things out with the normal logic when using GraphQL as the normal rules don’t get triggered in SambaPOS, therefore it is very possible you are getting a ticket printed that was never saved.
Can you please double check you are using the latest version of the Android client v1.1.18 and at least v5.1.62 of SambaPOS.
Also, is this happening with every ticket, or only some?
@Tayfun possibly a bug in Android client…