Method AbstractEinvoice():getProfile() Professional

Returns the country profile used for the invoice.

Syntax
:getProfile() --> oProfile
Return
Description

Returns the EinvoiceCountryProfile() object which provides the VAT rates, the mandatory legal statements and the national checks for the invoice. If a profile has been assigned via :setProfile(), this profile is returned. Otherwise, the profile is looked up in the EinvoiceProfileRegistry() by the country of the seller.

The profile is used by :toModel() and :validate() as well as by the methods :resolveVatCategory() and :validateScenario() of the scenario subclasses.

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.