Add discount information
Change gnucash data file location
avoid undefined value for $entry->child("entry:invoice")

(cherry picked from commit cab6fb047d0ddb7330e705ad8db0a50346974d6a)