Documentation
¶
Index ¶
Constants ¶
View Source
const FacturXFileName = "factur-x.xml"
FacturXFileName is the mandatory filename for the XML attachment in ZUGFeRD.
Variables ¶
This section is empty.
Functions ¶
func EmbedXML ¶
EmbedXML attaches the generated XML bytes to an existing PDF file. It creates a ZUGFeRD compatible PDF (visual + XML data).
Note: To be fully compliant with standard validation (PDF/A-3), the input PDF should ideally already be valid PDF/A. This function handles the file attachment structure.
func GenerateXMPTemplate ¶
func GenerateXMPTemplate() string
GenerateXMPTemplate returns the RDF metadata required for a valid PDF/A-3 ZUGFeRD file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.