Method AbstractEinvoice():getScenario() Professional

Returns the scenario of the invoice.

Syntax
:getScenario() --> cScenario
Return

A string with the scenario tag.

Description

Returns a tag which identifies the scenario implemented by the invoice class. This is a template method which must be implemented by every scenario subclass. Calling it on the AbstractEinvoice class raises a runtime error.

The scenario subclasses return the following values: DomesticEinvoice() returns "DOMESTIC", IntraEuEinvoice() returns "INTRA_EU", ExportEinvoice() returns "EXPORT" and ManualEinvoice() returns "MANUAL".

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.