SELECT
  XE.XeroEntityID,
  XE.XeroEntityName,
  XE.BeneficiaryReferenceName,
  XE.BeneficiaryAccountNumber,
  XE.ShortCode,
  XE.TenantID,
  XE.InvoicePrefix,
  XE.Enabled,
  @pNavFields
FROM
  taXeroEntity AS XE
WHERE
  (XE.XeroEntityID = @nXeroEntityID)