Multiple SenderIDs in same doctype

Can TN DocType SenderID query recognize multiple ID types? I see only option to “transform” to one type. Some of our partners are sending us a DUNS while others ASN ID credentials and we dont want to resort to using 2 different doctypes. See samples:

Partner 1


Partner 2



You can set the query for the SenderID field in your TN document to be
To/Identity and set the externalID fields for each of your trading partners to the values of the Identity fields. This way, you won’t have to depend on the values in the domain attributes of the credentials element.