The GetSystemPartnerLocationDetailsByGLN() function returns detailed information about the location. The GLN of a SystemPartner must be passed as a parameter.
GetSystemPartnerLocationDetailsByGLN('GLN')
GetSystemPartnerLocationDetailsByGLN('4035811991021')/Detail/@Type
HeadQuarter