Deductions & credits

The IRS ignores any divorce agreement. So you as the custodial parent has the right according to the IRS to claim the child tax credit. The courts are a separate matter so the other parent can ask the court to enforce your agreement and have the other parent claim that credit. In that case you would give the other parent permission to do so by giving the other parent a signed form 8332.