Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create XMP data for ZUGFeRD.

XFRX version: 17.3

Code Block
Object.CreateZUGFeRDMetadata(lcConformanceLevel, lcDocumentType, lcVersion)

...

 XML schema version for invoice data.

Remarks

XFRX version: 17.3

Examples

Code Block
LOCAL m.lnErr, m.loFile
m.loXFRX=EVALUATE([xfrx("XFRX#INIT")])
m.lnErr=m.loXFRX.SetParams("some.pdf",,,,.T.,,"PDF")
IF m.lnErr=0
   * Relation type must be "Alternative"
   m.loFile=loSession.addAttachment("ZUGFeRD-invoice.xml", .T., "Rechnungsdaten im ZUGFeRD-XML-Format", "text/xml", "Alternative")
   m.loFile.CreateZUGFeRDMetadata("BASIC", "INVOICE", "1.0") && if you use PDFA
ENDIF

...