In additional settings/Order Management, it is possible to set separate invoice numbering based on the payment method, which is specified in the order.