At the till you record the sale, with the customer, discount and sometimes a return. In your accounts, that same receipt belongs as a sales invoice, with the correct VAT rate and the correct debtor. Without a connection, someone types those lines into Yuki again. A typo in price or customer only shows up when the figures don't add up. That double entry disappears once the till and your administration share the same data.
Everything runs from TritonX to Yuki. Changed customers come in as a relation: with a company name as a company, otherwise as a person. Till transactions from the files on the server become sales invoices. The invoice number follows the order reference, and the date follows the creation date. The unit price excludes VAT and is rounded to two decimals. Nothing is sent back to the till.
Per run, you choose the maximum number of customers, files and transactions. Whatever is left over follows later. Discounts on an item line are deducted from the unit price; for a return, that amount is negative. Every invoice line needs a VAT code, either through a default or a translation from the tax class. You choose whether the invoice is finalised in the same run. Shipping, payment and invoice costs can become extra lines.