loophp/tin

Spain validation incorrect

Closed this issue · 5 comments

Steps required to reproduce the problem

  1. $bool = TIN::fromSlug('esX1042189J')->isValid();

Expected Result

TRUE

Actual Result

FALSE

drupol commented

The issue has been identified... fix is coming.

No, I tried with some others too... another example esX1143189C

drupol commented

The issue has been fixed, thanks for reporting it.

The fix is included in the new version 1.1.1 that has just been published a few seconds ago.

drupol commented

Dear @ambulanca ,

Can you provide some feedback with the new release? Is the fix working for you?

Thanks.

It's working, thanks