function invalidinvoice

They were mispelled.
Merge pull request #32 from david62311/patch-24

function invalidinvoice