You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When mapping BT-29 (Seller ID) from CII to UBL, there's a question about handling both ID and GlobalID fields:
Current behavior:
When GlobalID is present in CII, only GlobalID is mapped to UBL's PartyIdentification/ID
The regular ID field is not mapped in this case
Question:
Should we create an additional PartyIdentification element in UBL to include the regular ID value, even when GlobalID is present?
This would result in two PartyIdentification elements:
One for GlobalID
One for the regular ID
Would appreciate clarification on the correct mapping behavior in this scenario. Thanks!
CII:
UBL:
The text was updated successfully, but these errors were encountered:
The current interpretation is as you mentioned: if at least one GlobalID is present that has a non-empty schemeID attribute, the GlobalID elements will be mapped. Otherwise the ID elements will be mapped.
The relevant reason to use only one mapping is the "else" to my understanding. My interpretation is, that the "else" refers to the differentiation between GlobalID and ID. If both GlobalID and ID should be used in parallel, I would assume the text to be phrased differently. To me the wording means that the elements are mutually exclusive.
I am wondering if this interpretation applies to the end consumer of the invoice and if the mapping from CII to UBL should be lossless, especially since PartyIdentification in UBL has a cardinality of 0..n. Kindly let me know your thoughts. Thanks again!
@shenazz honestly, I think it would be best to refer this question to TC 434 WG3 to get their original thoughts on this. I don't think a losless mapping possibility between UBL and CII was part of way of thinking when developing the syntax mapping.
When mapping BT-29 (Seller ID) from CII to UBL, there's a question about handling both ID and GlobalID fields:
Current behavior:
When GlobalID is present in CII, only GlobalID is mapped to UBL's PartyIdentification/ID
The regular ID field is not mapped in this case
Question:
Should we create an additional PartyIdentification element in UBL to include the regular ID value, even when GlobalID is present?
This would result in two PartyIdentification elements:
Would appreciate clarification on the correct mapping behavior in this scenario. Thanks!
CII:

UBL:

The text was updated successfully, but these errors were encountered: