created spec for invoice payment