I’m not getting either the formula or the input for the job costs right.
Lets take an invention job based on a Overdrive injector system I BPC (typeID 1245) which has the goal to result in a Overdrive injector system II BPC (typeID 1237). The EVE client displays me the “2.0% of estimated item value” as 1.002 ISK.
My understanding is, that the estimated item value is the adjusted price for the output T2 BPC, thus typeID 1237.
Source for the adjusted prices is the https://esi.evetech.net/latest/markets/prices/?datasource=tranquility endpoint of ESI.
However typeID 1237 is not in the list returned by that endpoint !?