ValidatePLNIP

This function will validate specified NIP number in mf.gov.pl database.

Syntax

ValidatePLNIP("NIP",["VAT only"]);

Function arguments

  • NIP – (String) NIP number to validate
  • VAT olny – (Boolean) if true then function returns true only if company with specified NIP is active VAT payer

Return value

This function returns Boolean.
Returns true if validation was successful, false otherwise

Examples

Example 1:
This will check if value in NIP field is valid NIP number.

isValid = ValidatePLNIP([NIP]);

Example 2:
This will check if value in NIP field is valid and active VAT payer NIP number.

isValid = ValidatePLNIP([NIP],true);
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.