On allocating invoices/credits to payments/receipts, the auto allocation option works by looking at the first items on the sort eg if you sort by reference and press auto allocate, it runs this on the first reference first. If you always want to s...