I am trying to put in a surcharge but it gives an error message

Check which week you are trying to put the surcharge in. If the hours have already been uploaded you cannot add it to that week. You will need to add it to the following week or cancel the attendances, enter the surcharge and re-upload.