Replies: 3 comments
-
yes, I have the same error with XRechnung and BuyerOrderReferencedDocument |
Beta Was this translation helpful? Give feedback.
0 replies
-
@cdrfun : please go ahead! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now fixed with the merge of my PR #549 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm trying to generate a valid XRechnung, but I think there might be a mistake when applying BuyerOrderReferencedDocument information.
I've used the Method
AddTradeLineItem
to set buyerOrderID and buyerOrderDate:When validating the resulting using mustang:
I get the following error:
After trying to hunt down the problem I stumbled accross this section:
ZUGFeRD-csharp/ZUGFeRD/InvoiceDescriptor23CIIWriter.cs
Lines 239 to 263 in 863d58a
My applied profile is
Profile.XRechnung
and I'm usingZUGFeRDVersion.Version23
.I'm not totally shure, but I think the issue is, that in line 246
Writer.WriteOptionalElementString("ram", "IssuerAssignedID", tradeLineItem.BuyerOrderReferencedDocument.ID, Profile.Extended);
the profile is set toExtended
. From my understanding it must be equal to line 243 (Profile.Comfort | Profile.Extended | Profile.XRechnung1 | Profile.XRechnung
).If someone could verify my findings I'd be happy to make a pull request.
Beta Was this translation helpful? Give feedback.
All reactions