Created
October 16, 2025 11:02
-
-
Save terjehelgesen/3702c19f678a18a4b58c1ed95c94e67e to your computer and use it in GitHub Desktop.
Create a ZUGFeRD PDF/A-3 invoice from a PDF and XML file in C# using a single API call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //scConverter sample code | |
| //Read more about scConverter online: http://www.softwarecompanions.com/scconverterdll.html | |
| { | |
| scConverterLib.Converter myconverter = new scConverterLib.Converter(); | |
| if (myconverter != null) | |
| { | |
| string errors = ""; //Will contain an error message if conversion fails | |
| myconverter.SetSerialNumber("Your Serial Number"); | |
| //Convert the input PDF file to ZUGFeRD PDF-A/3 compliant PDF invoice by adding XML data. | |
| myconverter.PDFCreateZUGFeRD( "input.pdf", "factur-x.xml", 15, "outputinvoice.pdf", ref errors); | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read more about scConverter online:
https://www.softwarecompanions.com/scconverterdll.html