Method IntraEuEinvoice():acceptsBuyerCountry() Professional

Checks whether the buyer country is another EU member state.

Syntax
:acceptsBuyerCountry( <cCountry> ) --> lAccepted
Parameters
<cCountry>
The ISO 3166-1 alpha-2 code of the buyer country to test.
Return

.T. (true) if the country is an EU member state other than the country of the seller, .F. (false) otherwise.

Description

Determines whether a buyer located in the given country is permitted in the intra-community scenario. The method is called by :addRecipient() to reject a buyer which does not fit the scenario. A buyer country is accepted if it is an EU member state and differs from the country of the seller.

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.