0

I am trying to convert a German invoice PDF to Zugfered format using C# ZUGFeRD-csharp (s2industries) library. Its works fine in B2B (Business to Business) with using below line

ZUGFeRDVersion.Version21, s2industries.ZUGFeRD.Profile.Comfort

But user wants to B2G (Business to Government) XRechnung format. I just changed to below line

ZUGFeRDVersion.Version21, s2industries.ZUGFeRD.Profile.XRechnung

But getting below exception,

Invalid Factur-X URN: 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.2

Even i downloaded Zugfered 2.1.1 version, and replaced my existing schema xsd like Basic, Basic WL,en16931,extended and minimum.

James Z
  • 12,209
  • 10
  • 24
  • 44
Karthik M
  • 1
  • 2
  • I don't think this is related to C# in particular. For helping with the invalid urn the question does not contain enough information. – Fildor Jan 27 '23 at 09:12
  • I have resolved that error using update the 2.1.1 schema folder. Now i can get Xrechnung xml. During Xrechnung validation getting below exception. – Karthik M Feb 02 '23 at 06:22

1 Answers1

0

I have updated the zugfered version 2.1.1 Schema like Basic, Basic WL,en16931,extended and minimum.

Karthik M
  • 1
  • 2