In self-billing, the party being paid — whose invoice the customer raises.
The supplier receives the self-billed invoice and the payment; they don’t raise their own invoice and they never pay the customer.
General information, not tax advice — confirm your own position with your accountant or HMRC.