I'm not sure if I made something wrong, but I have problems validating a VAT number. I create a test project to test the library before use in my project. The sample VAT is IE3041081MH (I try to split into country code and vat number and not solves anything)
My code:
`
[Fact]
public async Task HappyPath()
{
var viesManager = new ViesManager();
var resultIsValid = ViesManager.IsValid("IE3041081MH");
Assert.True(resultIsValid.IsValid, "IE3041081MH" + " is invalid");
var resultIsActive = await viesManager.IsActive("IE3041081MH");
Assert.True(resultIsActive.IsValid, "IE3041081MH" + " is inactive");
}
`
When I try in the VIES web, the code is ok.
Thanks for your help and I don't know if I commit a mistake.
Hi
I'm not sure if I made something wrong, but I have problems validating a VAT number. I create a test project to test the library before use in my project. The sample VAT is IE3041081MH (I try to split into country code and vat number and not solves anything)
My code: `
[Fact] public async Task HappyPath() { var viesManager = new ViesManager();
} ` When I try in the VIES web, the code is ok.
Thanks for your help and I don't know if I commit a mistake.