Method AbstractEinvoice():setProfile() Professional

Sets the country profile for the invoice.

Syntax
:setProfile( <oProfile> ) --> self
Parameters
<oProfile>
An EinvoiceCountryProfile() object. If NIL is passed, the profile is again looked up in the EinvoiceProfileRegistry().
Return

This method returns self.

Description

Assigns an EinvoiceCountryProfile() object which replaces the profile that is otherwise derived from the country of the seller. The assignment affects only this invoice object. The profiles stored in the EinvoiceProfileRegistry() remain unchanged.

This method can be used if an invoice requires VAT rates or legal statements which differ from those of the registered profile for the seller's country.

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.