Class EInvoiceAutoAdapter

java.lang.Object
org.imixs.archive.documents.EInvoiceAdapter
org.imixs.archive.documents.EInvoiceAutoAdapter
All Implemented Interfaces:
org.imixs.workflow.Adapter, org.imixs.workflow.SignalAdapter

public class EInvoiceAutoAdapter extends EInvoiceAdapter
The EInvoiceAutoAdapter can detect and extract content from e-invoice documents in different formats. This Adapter class extends the EInvoiceAdapter and resolves pre defined Items according to the Factur-X/ZUGFeRD 2.0 standard.
Version:
2.0
Author:
rsoika
  • Constructor Details

    • EInvoiceAutoAdapter

      public EInvoiceAutoAdapter()
  • Method Details

    • execute

      public org.imixs.workflow.ItemCollection execute(org.imixs.workflow.ItemCollection workitem, org.imixs.workflow.ItemCollection event) throws org.imixs.workflow.exceptions.AdapterException, org.imixs.workflow.exceptions.PluginException
      Executes the e-invoice detection process on the given workitem. It attempts to detect the e-invoice format from attached files and updates the workitem with the result.
      Specified by:
      execute in interface org.imixs.workflow.Adapter
      Overrides:
      execute in class EInvoiceAdapter
      Parameters:
      workitem - The workitem to process
      event - The event triggering this execution
      Returns:
      The updated workitem
      Throws:
      org.imixs.workflow.exceptions.AdapterException - If there's an error in the adapter execution
      org.imixs.workflow.exceptions.PluginException - If there's an error in plugin processing