Print

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);
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?