Method EinvoiceParty():getVatCountry() Professional

Returns the country of the VAT identification number.

Syntax
:getVatCountry() --> cCountry
Return

A string with the two-letter country code, or NIL if no VAT identification number has been set.

Description

Returns the country code derived from the first two characters of the VAT identification number assigned via :setVatId(). The prefix "EL" used for Greece is mapped to the ISO 3166-1 country code "GR". All other prefixes are returned unchanged.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.