PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
zugferd.h File Reference

C++ wrapper for the ZUGFeRD/Factur-X creation API. More...

#include <filesystem>
#include <vector>
#include <pdfsdk/convert/zugferd.h>
#include <pdfsdk/cxx/document.h>
#include <pdfsdk/cxx/exception.h>
#include <pdfsdk/cxx/progress_monitor.h>

Go to the source code of this file.

Classes

struct  PDF::ZugferdAttachmentEntry
 C++ attachment entry for CreateZUGFeRD. More...

Functions

void PDF::CreateZUGFeRD (const Document &input, const std::filesystem::path &outputFile, const std::filesystem::path &invoiceXml, ZUGFeRDVersion version, ZUGFeRDProfile profile, const std::vector< ZugferdAttachmentEntry > &attachments={}, ProgressMonitor *progress=nullptr)
 Creates a ZUGFeRD/Factur-X hybrid invoice PDF/A-3b document.

Detailed Description

C++ wrapper for the ZUGFeRD/Factur-X creation API.

Function Documentation

◆ CreateZUGFeRD()

void PDF::CreateZUGFeRD ( const Document & input,
const std::filesystem::path & outputFile,
const std::filesystem::path & invoiceXml,
ZUGFeRDVersion version,
ZUGFeRDProfile profile,
const std::vector< ZugferdAttachmentEntry > & attachments = {},
ProgressMonitor * progress = nullptr )
inline

Creates a ZUGFeRD/Factur-X hybrid invoice PDF/A-3b document.

Parameters
inputSource PDF document.
outputFileOutput file path.
invoiceXmlPath to the CII invoice XML file.
versionFormat and version.
profileConformance profile.
attachmentsOptional additional file attachments.
progressOptional progress monitor. May be null.
Exceptions
PDF::Exceptionon failure.