When creating a SEPA XML, the purchase invoice number was populated in the file instead of the external invoice number

When creating a SEPA XML, the purchase invoice number was populated in the file instead of the external invoice number.