If payment for an invoice is made twice it is certainly an error that damages the company.
To elevate the error to theft or fraud you really have to introduce collusion between the company and its supplier so that payment is deliberately made twice and the proceeds can be split between the collaborators.