Can I claim spray foam insulation and heat pump AC if i paid for out of pocket during new build and it wasnt part of the original house plans?

Filing say not eligible for tax break if improvements done as part of new build but I want to be sure I understand that because I paid for the upgrades out of pocket, not in the loan so i should be able to claim it, right?