Treat invoice ID as number or string
avoid undefined value for $entry->child("entry:invoice")
avoid undefined value for $entry->child("entry:action")