magento2 – Magento 2 add custom field in checkout place order

Need to add new custom validation on the checkout page before place order.

enter image description here

The place order should work only when the calculation shown above is correct and also to show different values to sum.

I have override Magento_Checkout/view/frontend/web/templates/payment.html to show this field but I couldn’t add the validations