Skip to main content
Skip table of contents

Operation: Extract XML

The Extract XML operation of the ZUGFeRD adapter recognizes electronic invoice XML in an input PDF file and outputs it if available.

For more information on other operations of the ZUGFeRD adapter, see ZUGFeRD.

Parameters

Adapter

Main class of the adapter (do not change!)

Possible values: de.softproject.x4.adapter.pdf.zugferd: Main class (Default)

fileName

This parameter is not required for this operation.

Name of the input file

Status values

1

The operation was successful and the input file contains XML.

0

The operation was successful, but the input file does not contain XML.

-1

The operation failed due to a technical error.

Input

The operation expects a PDF file as input.

Note:

Please make sure that the correct MIME type or media type is defined for the input file. Only the following MIME type is possible for the Extract XML operation:

  • application/pdf

The MIME type is automatically set if you, for example, import files as resources in the project repository.

If you, for example, load files into your process from a folder on your computer using a File System adapter, you first need to set the MIME type of the file using the Document Properties Changer adapter. For more information on the Document Properties Changer, see Document Properties Changer.

If you do not define the correct MIME type, the adapter issues a corresponding error.

Output

The operation outputs an XML file.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.