At the end of the day the receipts are in TritonX, and someone still has to get them to Softmaat as orders. That means copying lines, discounts and returns, plus who the customer is and where the delivery goes. One wrong price or one missed return only shows up later. This connection removes that retyping: the sales TritonX already stores in files go to Softmaat automatically as sales orders.
Traffic flows one way, from the till to Softmaat. TritonX picks up the transactions from the files on the server. Once a file has been fully processed, it stays where it is. If it is not yet finished, that file comes back in a later run. Softmaat receives a separate file per order. At the top are the order number, customer number and delivery address, and each line shows the item, the name, the quantity and both prices, with and without VAT.
You set the limit per run: a maximum number of files and a maximum number of transactions, and the rest waits. A receipt that has already been sent does not go again, unless you deliberately allow that transfer. A discount on an item is subtracted from the price per unit. For a return that amount is negative. Softmaat sends nothing back to the till, so the original transaction stays untouched.