extract class/spec for remittance detail loop (820/L2300)