Much of a repair bill is not the part. It is the time spent finding the cause, and that time is often billed as a separate line before anyone agrees to fix anything. A diagnostic fee is the charge for that search. It is worth understanding before the car is left, because the same words can describe very different arrangements from one shop to the next.
What the fee is for
A fault that reproduces on demand is quicker to trace than one that appears only in certain weather, temperatures or loads. The time goes on reproducing the fault, reading any stored codes, checking connections and deciding what to test next. Ask the shop what the fee covers, and whether it includes a written account of what was tested.
Whether it comes off the repair
Some shops credit the diagnostic charge against the repair if you approve the work with them, and some do not. Ask directly. If the answer is that it is credited, find out whether the credit applies in full, and whether it applies only if the repair is carried out on the same visit.
Questions to ask before you approve
Ask for the estimated time for the search and whether the shop will stop and call you if the search runs longer. Ask what the written findings will contain. Ask whether you may take those findings to another shop, and whether the replaced parts can be returned to you. Ask whether the estimate you are given is a fixed figure or a figure that may change once the work is under way.
Keep the record
Keep the invoice, the written findings and the list of tests in the same folder as the rest of the car's paperwork. A record of what was checked is useful if the same fault returns, and it is useful for comparing one visit with another.