debit period gives error message if it cannot find the matching period. spec added for period happy path.