Extracting Data from ZUGFeRD-PDF/A Invoices

The method RUN_EXTRACTOR_ZF extracts the ZUGFeRD data from the ZUGFeRD PDF/A file. The method RUN_EXTRACTOR_ZF has the following Importing parameters:

Parameter

Description

IV_PDF

PDF file as a visual invoice document (XSTRING).

IV_NAMESPACE

Namespace for XMP metadata, for example, urn:ferd:pdfa:CrossIndustryDocument:invoice:1p0#. The XMP metadata is only extracted for this namespace (optional).

The method RUN_EXTRACTOR_ZF has the following Exporting parameters:

Parameter

Description

EV_ZF_ATTACHMENT

The content of the “alternative” attachment (XSTRING) if one has been extracted.

EV_ALL_ATTACHMENTS

Structure TFPATTACHMENTS with all extracted attachments.

EV_XMP

XMP metadata.

EV_METADATA

Metadata for PDF/A (name, title, author, and so on).