use the EndpointID rather than cac:PartyLegalEntity/cbc:CompanyID, if EndpointID has been specified
Merge pull request #152 from descala/use_endpoint_id_if_specified

Implemented TODO "use the EndpointID rather than cac:PartyLegalEntity/cbc:CompanyID..."