Client purchased healthcare and received 1095-A

Client paid all health care premiums from an employer funded retiree health care account

Programming calculating a premium tax credit

Client should not be eligible based on the fact that premiums were paid for with tax free funds

I need assistance to handle that within the programming

Thank you