Hello,
As documented (p35f) there is a a C# client for MustangServer, which you can use to read/write and validate e-invoices. While we do continue with Mustangserver, and the Java version of Mustangproject as usual, our former Mustang.net initiative has now been completely merged into Ghostscript.net.
We would like to invite you to a explanatory webinar in a online-only event on 15.05.2025, 15:00-16:00 CET. Please access the details and the application for a participation link, which we kindly ask to fill out by the end of Wednesday (May 14th).
If you want to try former Mustang.net-now-Ghostscript.net-features you can add Ghostscript.net via nuget to your project and use this snippet to get you started:
using Ghostscript.NET.PDFA3Converter.ZUGFeRD;
Invoice i = (new Invoice()).setDueDate(DateTime.Now).setIssueDate(DateTime.Now).setDeliveryDate(DateTime.Now).setSender((new TradeParty("Test company", "Test Street 1", "55232", "Test City", "DE")).addTaxID("DE4711").addVATID("DE0815").setContact(new Contact("Hans Test", "+49123456789", "te...@example.org")).addBankDetails(new BankDetails("DE12500105170648489890", "COBADEFXXX"))).setRecipient(new TradeParty("Franz Mueller", "Test Street 12", "55232", "Entenhausen", "DE")).setReferenceNumber("991-01484-64").setNumber("123").addItem(new Item(new Product("Test product", "", "H87", 19m), 1.0m, 1.0m));
ZUGFeRD2PullProvider zf2p = new ZUGFeRD2PullProvider();
zf2p.generateXML(i);
System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding();
string outfilename = "c:\\your\\dir\\gs-factur-x.xml";
File.WriteAllBytes(outfilename, zf2p.getXML());