Method EinvoiceParty():getCountryCode() Professional

Returns the country code of the party.

Syntax
:getCountryCode() --> cCountry
Return

A string with the ISO 3166-1 alpha-2 country code, or NIL if no country code has been set.

Description

Returns the country code of the postal address of the party. This method is a shortcut for :getAddress():getCountryCode(). The country code is used by EinvFactory() to determine the scenario of the invoice.

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.