In this case, the service price cannot be set for the product as it changes, so its value should come from the task field. For example, you pay a government filing fee on behalf of the client.
First, a task field with the type 'Price' should be created.
In the task field, you can enter the amount paid, which will be included in the invoice.