Auto Invoice in duplicate and adding VAT without beign in tge Original invoice

Hi Guys,

I’m posting this as a bug because its something that started happening out of nowhere to an invoice cyle that had been going on for quite a while.

Details: I have a supplier to which I pay a monthly fee, so for well over an year now that ERP next auto generates the invoice/submit it for payment. The payments are actually done via a paytpal subs so I only go in to ERP to “officialize” the payment a couple times of so a year.
So today, I was going to settle all that and I noticed that for the past two months ERP next did auto generate the invoice as expected, but two things happened.

It created the same invoice twice and it added VAT. The later is odd because the original invoice didn’t have VAT, and it never happened before.

Please create a git issue and add a link here so all here can track it

Git; Discuss Frappe/ERPNext Auto Invoice in duplicate and adding VAT without beign in the Original invoice Developers Bug · Issue #12235 · frappe/erpnext · GitHub