SELECT taxAreaFk != 'NATIONAL'
    FROM vn.invoiceOutSerial ios
        JOIN vn.invoiceOut io ON io.serial = ios.code
    WHERE io.ref = ?;